/* ============================================================
   TAPPO — Design System
   Petites annonces 100% Sénégal
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — inspiré du drapeau sénégalais, version moderne premium */
  --green:        #16915C;   /* vert Téranga — confiance, argent */
  --green-deep:   #0E6B43;
  --green-dark:   #0A4F32;
  --orange:       #FF6A2C;   /* chaleur, action, CTA */
  --orange-deep:  #E8521A;
  --gold:         #FFC43D;   /* accent, étoiles, premium */
  --red:          #E63946;   /* alerte, urgent */

  /* Neutres */
  --ink:          #14181F;   /* texte principal / fonds sombres */
  --ink-soft:     #2B313C;
  --slate:        #5B6472;   /* texte secondaire */
  --slate-light:  #8A93A2;
  --line:         #E7EBF0;   /* bordures */
  --line-soft:    #F0F3F7;
  --cloud:        #F6F8FB;   /* fond de section clair */
  --white:        #FFFFFF;

  /* Dégradés signature */
  --grad-brand:   linear-gradient(120deg, #16915C 0%, #0E6B43 100%);
  --grad-sun:     linear-gradient(120deg, #FF6A2C 0%, #FFC43D 100%);
  --grad-hero:    radial-gradient(1200px 600px at 10% -10%, rgba(22,145,92,.18), transparent 60%),
                  radial-gradient(900px 500px at 100% 0%, rgba(255,106,44,.16), transparent 55%);

  /* Typo */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Rayons & ombres */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --sh-sm: 0 2px 8px rgba(20,24,31,.06);
  --sh:    0 8px 24px rgba(20,24,31,.08);
  --sh-lg: 0 18px 50px rgba(20,24,31,.14);
  --sh-brand: 0 14px 34px rgba(22,145,92,.30);
  --sh-cta: 0 14px 30px rgba(255,106,44,.34);

  /* Layout */
  --max: 1200px;
  --gut: 22px;
  --header-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Utilitaires layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.bg-cloud { background: var(--cloud); }
.bg-ink { background: var(--ink); color: #fff; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); background: rgba(22,145,92,.10);
  padding: 7px 14px; border-radius: var(--r-pill);
}
.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 14px 0 10px; }
.section-head p { color: var(--slate); font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem; padding: 13px 24px;
  border-radius: var(--r-pill); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-cta { background: var(--grad-sun); color: #fff; box-shadow: var(--sh-cta); }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255,106,44,.45); }
.btn-brand { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-brand:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(22,145,92,.42); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: var(--ink-soft); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink); color: #cfd6e0; font-size: .82rem;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 18px; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--sh); }
.header .wrap { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad-brand);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem;
  box-shadow: var(--sh-brand);
}
.logo .mark span { transform: rotate(-8deg); }
.logo b { color: var(--green); }
.logo .logo-img { height: 42px; width: auto; display: block; }
.footer .logo .logo-img { height: 48px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav a { padding: 9px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; color: var(--slate); transition: .2s; }
.nav a:hover { background: var(--line-soft); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: .2s; position: relative; }
.icon-btn:hover { background: var(--line-soft); }
.icon-btn svg { width: 22px; height: 22px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 64px 0 88px; background: var(--grad-hero), #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(22,145,92,.07) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; }
.hero h1 .hl { position: relative; color: var(--green); white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%; height: 28%;
  background: var(--gold); opacity: .4; border-radius: 6px; z-index: -1;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--slate); max-width: 600px; margin: 20px auto 0; }

/* Méga recherche */
.megasearch {
  margin: 38px auto 0; max-width: 860px; background: #fff;
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 10px;
  display: flex; align-items: stretch; gap: 8px;
  border: 1px solid var(--line);
}
.megasearch .field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r); position: relative; }
.megasearch .field + .field { border-left: 1px solid var(--line); }
.megasearch .field svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.megasearch .field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-light); }
.megasearch .field input, .megasearch .field select {
  border: none; outline: none; width: 100%; font-weight: 600; color: var(--ink); background: transparent; font-size: .98rem; padding: 2px 0;
  cursor: pointer;
}
.megasearch .field input { cursor: text; }
.megasearch .btn { flex-shrink: 0; }

.hero-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.hero-tags span { color: var(--slate-light); font-size: .9rem; font-weight: 600; }
.hero-tags a { font-size: .9rem; font-weight: 600; color: var(--green); background: rgba(22,145,92,.08); padding: 6px 13px; border-radius: var(--r-pill); transition: .2s; }
.hero-tags a:hover { background: var(--green); color: #fff; }

/* Recherches populaires (nuage de chips) */
.pop-cloud { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pop-cloud a { font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 8px 15px; border-radius: var(--r-pill); transition: .2s; display: inline-flex; align-items: center; gap: 6px; }
.pop-cloud a::before { content: "🔍"; font-size: .82rem; opacity: .55; }
.pop-cloud a:hover { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-2px); box-shadow: var(--sh-sm); }
/* Bandeau de réassurance sous le hero */
.trust-bar { background: var(--sand, #F5F2EA); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-bar .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; padding: 13px 20px; }
.trust-bar .ti { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.trust-bar .ti .ti-ic { font-size: 1.05rem; line-height: 1; }
.trust-bar .ti b { color: var(--green); font-weight: 700; }
@media (max-width: 560px) { .trust-bar .wrap { gap: 8px 16px; padding: 11px 12px; } .trust-bar .ti { font-size: .8rem; } }
/* Bannière saisonnière (fêtes SN) */
.season-band { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 20px; border-radius: var(--radius-lg, 20px); color: #fff; text-decoration: none; box-shadow: 0 12px 28px -14px rgba(16,34,28,.5); transition: transform .18s, box-shadow .18s; }
.season-band:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(16,34,28,.55); }
.season-band .sb-emoji { font-size: 2.1rem; line-height: 1; flex-shrink: 0; animation: tk-floatY 3s ease-in-out infinite; }
.season-band .sb-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.season-band .sb-txt b { font-family: var(--font-head), 'Sora', sans-serif; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.season-band .sb-txt span { font-size: .88rem; opacity: .9; }
.season-band .sb-cta { flex-shrink: 0; font-weight: 700; background: rgba(255,255,255,.18); padding: 9px 16px; border-radius: 999px; font-size: .9rem; }
@keyframes tk-floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 560px) { .season-band { gap: 12px; padding: 13px 15px; } .season-band .sb-emoji { font-size: 1.7rem; } .season-band .sb-txt b { font-size: 1rem; } .season-band .sb-txt span { font-size: .8rem; } .season-band .sb-cta { padding: 7px 12px; font-size: .82rem; } }
/* Stories des boutiques Pro (éphémères 24h) */
.stories-rail { display: flex; gap: 14px; overflow-x: auto; padding: 14px 2px 6px; -webkit-overflow-scrolling: touch; }
.stories-rail::-webkit-scrollbar { display: none; }
.story-bubble { flex: 0 0 auto; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 72px; }
.story-ring { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--gold, #FFC23C), var(--green, #11935E)); display: grid; place-items: center; transition: transform .15s; }
.story-bubble:hover .story-ring { transform: scale(1.06); }
.story-av { width: 100%; height: 100%; border-radius: 50%; background: #fff center/cover no-repeat; border: 2px solid #fff; display: grid; place-items: center; font-weight: 800; color: var(--green); font-family: var(--font-head), 'Sora'; }
.story-name { font-size: .72rem; font-weight: 600; color: var(--ink); max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#story-viewer { position: fixed; inset: 0; z-index: 9998; display: none; align-items: center; justify-content: center; }
#story-viewer.show { display: flex; }
#story-viewer .sv-back { position: absolute; inset: 0; background: rgba(8,14,20,.82); }
#story-viewer .sv-card { position: relative; z-index: 1; width: min(92vw, 420px); background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: tk-fadeup .3s ease both; }
#story-viewer .sv-head { display: flex; align-items: center; gap: 8px; color: #fff; padding: 12px 14px; font-weight: 700; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
#story-viewer .sv-x { margin-left: auto; background: rgba(255,255,255,.2); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
#story-viewer .sv-card img { display: block; width: 100%; max-height: 68vh; object-fit: cover; }
#story-viewer .sv-cap { color: #fff; padding: 12px 14px; font-size: .92rem; background: #111; }
#story-viewer .sv-actions { padding: 12px 14px; background: #111; }
#story-viewer .sv-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: #fff; font-weight: 600; }
#story-viewer .sv-nav button { background: rgba(255,255,255,.15); border: none; color: #fff; width: 44px; height: 34px; border-radius: 8px; cursor: pointer; font-size: 1.3rem; }
#story-viewer .sv-nav button:disabled { opacity: .3; }

/* FAQ accordéon */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 16px); overflow: hidden; transition: .2s; }
.faq-item[open] { border-color: var(--green); box-shadow: var(--sh-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--green); line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--slate); line-height: 1.6; }

/* Stats bandeau */
.hero-stats { margin-top: 46px; display: flex; justify-content: center; gap: clamp(24px, 6vw, 72px); flex-wrap: wrap; }
.hero-stats .stat { text-align: center; }
.hero-stats .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--ink); line-height: 1; }
.hero-stats .num b { color: var(--orange); }
.hero-stats .lbl { font-size: .85rem; font-weight: 600; color: var(--slate); margin-top: 6px; }

/* ============================================================
   CATÉGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
/* Cartes catégories en bannières (images locales) */
.cat-card.cat-banner { aspect-ratio: 3 / 2; padding: 0; border: none; overflow: hidden; display: flex; align-items: flex-end; justify-content: flex-end;
  background-size: cover; background-position: center; box-shadow: var(--sh); }
.cat-card.cat-banner::before { display: none; }
.cat-card.cat-banner:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.cat-card.cat-banner .count { position: relative; z-index: 1; background: rgba(13,27,62,.62); color: #fff; font-weight: 700; font-size: .74rem;
  padding: 4px 10px; border-radius: 999px; margin: 10px; backdrop-filter: blur(2px); }
.cat-card.cat-banner .count:empty { display: none; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 14px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-brand); opacity: 0;
  transition: opacity .3s; z-index: 0;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; color: #fff; }
.cat-card:hover::before { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; }
.cat-card .ico {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px;
  display: grid; place-items: center; background: var(--cloud); color: var(--green);
  transition: .3s; font-size: 26px;
}
.cat-card:hover .ico { background: rgba(255,255,255,.18); color: #fff; transform: scale(1.08) rotate(-4deg); }
.cat-card .ico svg { width: 28px; height: 28px; }
.cat-card .name { font-weight: 700; font-size: .96rem; }
.cat-card .count { font-size: .82rem; color: var(--slate); margin-top: 3px; transition: .3s; }
.cat-card:hover .count { color: rgba(255,255,255,.8); }

/* Cartes catégorie avec photo de fond */
.cat-card.has-img { background-size: cover; background-position: center; color: #fff; border-color: transparent; min-height: 150px; justify-content: flex-end; }
.cat-card.has-img::before { display: none; }
.cat-card.has-img .cc-ov { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(13,27,62,.15), rgba(13,27,62,.78)); }
.cat-card.has-img .ico { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(2px); }
.cat-card.has-img:hover .ico { transform: scale(1.08) rotate(-4deg); }
.cat-card.has-img .name { color: #fff; }
.cat-card.has-img .count { color: rgba(255,255,255,.85); }
.cat-card.has-img:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

/* ============================================================
   CARTES ANNONCES
   ============================================================ */
.ad-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ad-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; position: relative;
  display: flex; flex-direction: column;
}
.ad-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.ad-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cloud); }
.ad-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ad-card:hover .ad-media img { transform: scale(1.06); }
.ad-ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.18); transition: transform .5s var(--ease); }
.ad-ph::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.10); top: -70px; right: -50px; }
.ad-card:hover .ad-ph { transform: scale(1.05); }
.ad-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 56px); }
.badge { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); letter-spacing: .02em; text-transform: uppercase; backdrop-filter: blur(4px); white-space: nowrap; }
.badge-premium { background: var(--gold); color: #5a4500; }
.badge-urgent { background: var(--red); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.badge-pro { background: var(--ink); color: #fff; }
.ad-fav {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--slate); transition: .2s;
}
.ad-fav:hover { color: var(--red); transform: scale(1.12); }
.ad-fav svg { width: 19px; height: 19px; }
.ad-fav.on { color: var(--red); }
/* Bouton partage sur la carte (sous le favori) */
.ad-share { position: absolute; top: 54px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--green); transition: .2s; border: none; cursor: pointer; }
.ad-share:hover { color: #fff; background: var(--green); transform: scale(1.12); }
.ad-share svg { width: 18px; height: 18px; }
.ad-share.busy { opacity: .6; pointer-events: none; }
.ad-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.ad-price { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--green-deep); }
.ad-price small { font-size: .8rem; font-weight: 600; color: var(--slate); }
.ad-title { font-weight: 600; font-size: .98rem; margin: 6px 0 10px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ad-meta { margin-top: auto; display: flex; align-items: center; gap: 6px; color: var(--slate); font-size: .83rem; white-space: nowrap; overflow: hidden; }
.ad-meta svg { width: 15px; height: 15px; flex: none; }
.ad-meta > span:not(.dot) { overflow: hidden; text-overflow: ellipsis; }
.ad-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-light); flex: none; }

/* ============================================================
   COMMENT ÇA MARCHE
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; position: relative; }
.step .n {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
  background: #fff; box-shadow: var(--sh); color: var(--green); font-size: 28px; position: relative;
}
.step .n svg { width: 30px; height: 30px; }
.step .n b { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .8rem; display: grid; place-items: center; font-family: var(--font-head); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .96rem; }

/* ============================================================
   CONFIANCE / SÉCURITÉ
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 26px 22px; transition: .3s; }
.trust-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.trust-card .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(22,145,92,.2); color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; }
.trust-card .ico svg { width: 26px; height: 26px; }
.trust-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.trust-card p { color: #aeb6c2; font-size: .92rem; }

/* ============================================================
   CTA bande
   ============================================================ */
.cta-band { background: var(--grad-brand); border-radius: var(--r-xl); padding: 54px clamp(24px, 5vw, 64px); position: relative; overflow: hidden; color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,196,61,.4), transparent 70%); }
.cta-band .inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 8px; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #aeb6c2; padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .94rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: .94rem; transition: .2s; }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .2s; }
.footer-social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-pay { display: flex; gap: 8px; align-items: center; }
.footer-pay span { background: rgba(255,255,255,.08); padding: 5px 11px; border-radius: 7px; font-weight: 700; font-size: .8rem; color: #fff; }

/* ============================================================
   ANIMATIONS — scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255,106,44,.5); } 70% { box-shadow: 0 0 0 14px rgba(255,106,44,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,44,0); } }
.pulse { animation: pulse-ring 2.2s infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .ad-rail { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav, .topbar-links span.hide-m { display: none; }
  .burger { display: flex; }
  /* Sur mobile, le bouton "Publier" du header est redondant (FAB en bas + menu burger) → masqué pour éviter le débordement */
  .header-actions .btn-cta { display: none; }
  .megasearch { flex-direction: column; padding: 14px; }
  .megasearch .field + .field { border-left: none; border-top: 1px solid var(--line); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .ad-rail { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }

  /* Menu mobile */
  .nav.open {
    display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 16px; gap: 6px; box-shadow: var(--sh-lg); border-top: 1px solid var(--line);
    align-items: stretch; height: calc(100vh - var(--header-h)); margin: 0; z-index: 99;
  }
  .nav.open a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ad-rail { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
}

/* ============================================================
   COMPLÉMENTS ACCUEIL
   ============================================================ */

/* ---- Bandeau "nouvelles annonces aujourd'hui" ---- */
.live-strip { background: var(--green-dark); color: #fff; }
.live-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 0; flex-wrap: wrap; text-align: center; font-size: .95rem; }
.live-strip .live-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse-ring 1.8s infinite; }
.live-strip b { color: var(--gold); font-family: var(--font-head); }

/* ---- Bannière sponsorisée ---- */
.adslot { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 130px;
  background: linear-gradient(120deg,#0D1B3E,#1a2d5e); color: #fff; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; padding: 26px clamp(22px,4vw,48px); flex-wrap: wrap; }
.adslot::after { content: ""; display: none; }
.adslot .ad-txt h3 { font-size: clamp(1.2rem,2.4vw,1.7rem); }
.adslot .ad-txt p { color: rgba(255,255,255,.82); margin-top: 4px; }

/* ---- Annonces par ville ---- */
.city-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.city-card { position: relative; border-radius: var(--r); overflow: hidden; min-height: 124px; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 16px; color: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.city-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); z-index: 1; }
.city-card .city-bg { position: absolute; inset: 0; z-index: 0; }
.city-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.city-card .city-name { position: relative; z-index: 2; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.city-card .city-count { position: relative; z-index: 2; font-size: .82rem; opacity: .9; }
.city-card.has-banner { aspect-ratio: 3 / 2; min-height: 0; justify-content: flex-end; align-items: flex-end; }
.city-card.has-banner::before { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.5)); }
.city-card.has-banner .city-count { background: rgba(13,27,62,.6); padding: 4px 10px; border-radius: 999px; margin: 10px; backdrop-filter: blur(2px); }

/* ---- Boutiques Pro en vedette ---- */
.shop-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.shop-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.shop-avatar { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 12px; display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.shop-card .shop-name { font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.shop-card .shop-name .verif { width: 16px; height: 16px; color: var(--green); }
.shop-card .shop-cat { color: var(--slate); font-size: .86rem; margin: 3px 0 12px; }
.shop-card .shop-meta { display: flex; justify-content: center; gap: 16px; font-size: .82rem; color: var(--slate); margin-bottom: 14px; }
.shop-card .shop-meta b { color: var(--ink); }

/* ---- Boost / packs ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.plan.featured { border-color: var(--green); box-shadow: var(--sh-brand); }
.plan.featured::before { content: "⭐ Le plus choisi"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff; font-size: .76rem; font-weight: 700; padding: 6px 16px; border-radius: var(--r-pill); white-space: nowrap; }
.plan .p-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.plan .p-price { font-family: var(--font-head); font-weight: 800; font-size: 2rem; margin: 10px 0 2px; color: var(--green-deep); }
.plan .p-price small { font-size: .9rem; font-weight: 600; color: var(--slate); }
.plan .p-sub { color: var(--slate); font-size: .9rem; margin-bottom: 18px; }
.plan ul.p-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan ul.p-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: .94rem; }
.plan ul.p-feats svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ---- Témoignages ---- */
.testi-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; position: relative; transition: .3s; }
.testi:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.testi .stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi p { color: var(--ink-soft); font-size: .98rem; }
.testi .who { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.testi .who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-head); }
.testi .who .nm { font-weight: 700; font-size: .92rem; }
.testi .who .ct { font-size: .82rem; color: var(--slate); }

/* ---- Créer une alerte ---- */
.alert-band { background: var(--grad-sun); border-radius: var(--r-xl); padding: 44px clamp(24px,5vw,56px); color: #fff; text-align: center; position: relative; overflow: hidden; }
.alert-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 50%); }
.alert-band > * { position: relative; z-index: 1; }
.alert-band h2 { font-size: clamp(1.6rem,3vw,2.3rem); }
.alert-band p { margin: 8px auto 22px; max-width: 540px; opacity: .95; }
.alert-form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; background: #fff; padding: 8px; border-radius: var(--r-pill); box-shadow: var(--sh-lg); }
.alert-form input { flex: 1; border: none; outline: none; padding: 10px 18px; font-weight: 600; color: var(--ink); background: transparent; min-width: 0; }
.alert-msg { margin-top: 14px; font-weight: 600; min-height: 1.2em; }

/* ---- Blog / Guides ---- */
.blog-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.post .thumb { aspect-ratio: 16/9; position: relative; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-align: center; padding: 16px; }
.post .thumb .tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--green-deep); font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .03em; }
.post .pbody { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 1.08rem; line-height: 1.3; }
.post .pmeta { margin-top: auto; padding-top: 14px; color: var(--slate); font-size: .84rem; display: flex; align-items: center; gap: 6px; }
.post .pmeta svg { width: 15px; height: 15px; flex: none; }

/* ---- Bandeau sécurité / anti-arnaque ---- */
.safety { display: flex; align-items: center; gap: 18px; background: #FFF7E6; border: 1px solid #F4D98A; border-radius: var(--r); padding: 20px 24px; }
.safety .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #5a4500; display: grid; place-items: center; flex-shrink: 0; }
.safety .ico svg { width: 24px; height: 24px; }
.safety h3 { font-size: 1.05rem; margin-bottom: 2px; }
.safety p { color: var(--ink-soft); font-size: .92rem; }
.safety a { color: var(--green-deep); font-weight: 700; white-space: nowrap; }

/* ---- WhatsApp flottant ---- */
.wa-float { position: fixed; right: 20px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5);
  transition: transform .25s var(--ease), opacity .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float.wa-hide { transform: translateY(130px) scale(.85); opacity: 0; pointer-events: none; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-float-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

/* ---- Toast activité en direct ---- */
.live-toast { position: fixed; left: 20px; bottom: 24px; z-index: 40; max-width: 300px; pointer-events: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  transform: translateY(140%); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.live-toast.show { transform: none; opacity: 1; }
.live-toast .lt-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-head); }
.live-toast .lt-txt { font-size: .86rem; line-height: 1.35; }
.live-toast .lt-txt b { color: var(--ink); }
.live-toast .lt-txt span { color: var(--slate); }

/* ---- Bandeau cookies ---- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; background: var(--ink); color: #e7ebf0;
  border-radius: var(--r); box-shadow: var(--sh-lg); padding: 16px 20px; display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: space-between; transform: translateY(160%); transition: transform .5s var(--ease); }
.cookie.show { transform: none; }
.cookie p { font-size: .9rem; max-width: 640px; }
.cookie p a { color: var(--gold); text-decoration: underline; }
.cookie .cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie .btn { padding: 10px 18px; font-size: .9rem; }
.cookie .btn-min { background: transparent; color: #cfd6e0; border: 1.5px solid rgba(255,255,255,.25); }

/* ---- Barre navigation mobile fixe ---- */
.mobile-nav { display: none; }

@media (max-width: 1024px) {
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .testi-rail { grid-template-columns: 1fr; }
  .blog-rail { grid-template-columns: 1fr; }
  .alert-form { flex-direction: column; border-radius: var(--r); }
  .alert-form .btn { width: 100%; }
  .safety { flex-direction: column; text-align: center; }

  /* Barre nav mobile */
  body { padding-bottom: 68px; }
  .mobile-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; height: 64px;
    box-sizing: border-box; width: 100%; max-width: 100vw;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,24,31,.08);
    justify-content: space-around; align-items: center; padding: 0 6px; }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--slate); font-size: .68rem; font-weight: 600; flex: 1; }
  .mobile-nav a svg { width: 23px; height: 23px; }
  .mobile-nav a.active { color: var(--green); }
  .mobile-nav .mn-pub { transform: translateY(-16px); }
  .mobile-nav .mn-pub .mn-fab { width: 54px; height: 54px; border-radius: 50%; background: var(--grad-sun);
    color: #fff; display: grid; place-items: center; box-shadow: var(--sh-cta); margin-bottom: 2px; }
  .mobile-nav .mn-pub .mn-fab svg { width: 26px; height: 26px; }
  .wa-float { bottom: 80px; width: 52px; height: 52px; }
  /* Toast d'activité remonté au-dessus du bouton WhatsApp flottant (ne le recouvre plus) */
  .live-toast { bottom: 146px; left: 12px; right: 76px; max-width: none; }
  .cookie { bottom: 76px; }
}
@media (max-width: 480px) {
  .city-grid { grid-template-columns: 1fr 1fr; }
  .shop-rail { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE LISTE D'ANNONCES
   ============================================================ */
.breadcrumb { padding: 16px 0; font-size: .88rem; color: var(--slate); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { margin: 0 7px; color: var(--slate-light); }

/* Barre de recherche compacte */
.search-compact { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm);
  padding: 8px; display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.search-compact .field { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--cloud); }
.search-compact .field svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.search-compact input, .search-compact select { border: none; outline: none; background: transparent; width: 100%; font-weight: 600; color: var(--ink); font-size: .94rem; }

.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 26px 0 18px; }
.listing-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.listing-head .count { color: var(--slate); font-size: .95rem; margin-top: 4px; }

/* Grille principale */
.listing { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; padding-bottom: 70px; }

/* Sidebar filtres */
.filters { position: sticky; top: calc(var(--header-h) + 14px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 4px 20px 20px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.filters-head h3 { font-size: 1.05rem; }
.filters-head button { color: var(--green); font-weight: 700; font-size: .85rem; }
.fgroup { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.fgroup:last-child { border-bottom: none; }
.fgroup > h4 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .94rem; color: var(--ink-soft); transition: color .2s; }
.fopt:hover { color: var(--green); }
.fopt input { width: 17px; height: 17px; accent-color: var(--green); cursor: pointer; }
.fopt .fcount { margin-left: auto; color: var(--slate-light); font-size: .82rem; }
.fopt.active { color: var(--green); font-weight: 700; }
.price-row { display: flex; gap: 10px; align-items: center; }
.price-row input { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 9px 11px; font-weight: 600; font-size: .9rem; outline: none; }
.price-row input:focus { border-color: var(--green); }
.fselect { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 11px; font-weight: 600; color: var(--ink); outline: none; cursor: pointer; }
.fselect:focus { border-color: var(--green); }

/* Barre de tri */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; gap: 7px; background: rgba(22,145,92,.10); color: var(--green-deep); font-weight: 600; font-size: .85rem; padding: 6px 8px 6px 13px; border-radius: var(--r-pill); }
.fchip button { color: var(--green-deep); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; }
.fchip button:hover { background: rgba(22,145,92,.2); }
.toolbar .sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.toolbar .sort label { font-size: .88rem; color: var(--slate); }
.toolbar .sort select { border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 8px 14px; font-weight: 600; color: var(--ink); outline: none; cursor: pointer; }

.btn-filters { display: none; }

.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* État vide */
.empty { text-align: center; padding: 70px 20px; }
.empty .ico { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--cloud); display: grid; place-items: center; color: var(--slate-light); }
.empty .ico svg { width: 40px; height: 40px; }
.empty h3 { font-size: 1.3rem; margin-bottom: 8px; }
.empty p { color: var(--slate); margin-bottom: 20px; }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); transition: .2s; padding: 0 12px; }
.pager button:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.pager button.active { background: var(--grad-brand); color: #fff; border-color: transparent; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

@media (max-width: 900px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .listing { grid-template-columns: 1fr; }
  .btn-filters { display: inline-flex; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); z-index: 120; border-radius: 0;
    overflow-y: auto; transform: translateX(-105%); transition: transform .35s var(--ease); box-shadow: var(--sh-lg); }
  .filters.open { transform: none; }
  .filters-overlay { position: fixed; inset: 0; background: rgba(20,24,31,.5); z-index: 119; opacity: 0; visibility: hidden; transition: .3s; }
  .filters-overlay.open { opacity: 1; visibility: visible; }
}
@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============================================================
   PAGE DÉTAIL D'UNE ANNONCE
   ============================================================ */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; padding-bottom: 70px; }

/* Galerie */
.gallery { }
.gal-main { position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.gal-main .gph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; text-align: center; padding: 20px; text-shadow: 0 2px 14px rgba(0,0,0,.2); transition: opacity .3s; }
.gal-main .gph::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.10); top: -90px; right: -70px; }
.gal-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 7px; flex-wrap: wrap; }
.gal-fav { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--slate); transition: .2s; }
.gal-fav:hover { color: var(--red); transform: scale(1.08); }
.gal-fav.on { color: var(--red); }
.gal-fav svg { width: 22px; height: 22px; }
.gal-count { position: absolute; bottom: 14px; right: 14px; z-index: 2; background: rgba(20,24,31,.7); color: #fff; font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill); display: flex; align-items: center; gap: 6px; }
.gal-count svg { width: 15px; height: 15px; }
.gal-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gal-thumb { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; position: relative; border: 2px solid transparent; transition: .2s; }
.gal-thumb .gph-t { position: absolute; inset: 0; }
/* Vraie image (galerie) par-dessus le fond — robuste + SEO */
.gph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.gal-wm { position: absolute; left: 12px; bottom: 12px; z-index: 3; color: rgba(255,255,255,.9); font-weight: 700; font-size: .8rem; letter-spacing: .02em; text-shadow: 0 1px 5px rgba(0,0,0,.65); pointer-events: none; }

/* ===== Brand kit — logo pin + animations ===== */
.logo .brand-pin { width: 26px; height: 32px; display: inline-block; vertical-align: -6px; margin-right: 6px; filter: drop-shadow(0 4px 8px rgba(17,147,94,.28)); }
@keyframes tk-pindrop { 0% { transform: translateY(-22px) scale(.6); opacity: 0; } 55% { transform: translateY(3px) scale(1.06); opacity: 1; } 100% { transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: no-preference) { .logo .brand-pin { animation: tk-pindrop .8s cubic-bezier(.5,1.4,.5,1) both; } }
@keyframes tk-up { 0%,18%{transform:translateY(0)} 25%,43%{transform:translateY(-100%)} 50%,68%{transform:translateY(-200%)} 75%,93%{transform:translateY(-300%)} 100%{transform:translateY(-400%)} }
@keyframes tk-sheen { 0%{transform:translateX(-120%) skewX(-18deg)} 60%,100%{transform:translateX(320%) skewX(-18deg)} }
@keyframes tk-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }
@keyframes tk-shadow { 0%,100%{transform:scaleX(1);opacity:.28} 50%{transform:scaleX(.55);opacity:.14} }
@keyframes tk-rip { 0%{transform:scale(.4);opacity:.5} 100%{transform:scale(1.9);opacity:0} }
@keyframes tk-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }
/* Ticker "activité live" */
.live-ticker { height: 22px; overflow: hidden; font-weight: 700; color: var(--gold, #C9961A); }
.live-ticker-track > div { height: 22px; line-height: 22px; }
.live-ticker-track { animation: tk-up 10s cubic-bezier(.7,0,.3,1) infinite; }
/* Loader pin (chargement annonces) — fidèle au brand kit : rebond + onde + ombre */
.pin-loader { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 40px 26px; }
.pin-loader .pl-stage { position: relative; height: 110px; display: flex; align-items: flex-end; justify-content: center; }
.pin-loader .pl-ring { position: absolute; bottom: 0; width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(39,178,119,.6); animation: tk-rip 1.6s ease-out infinite; }
.pin-loader .pl-pin { animation: tk-bounce 1.1s cubic-bezier(.5,0,.5,1) infinite; }
.pin-loader .pl-pin svg { display: block; }
.pin-loader .pl-sh { position: absolute; bottom: -6px; width: 46px; height: 9px; border-radius: 50%; background: rgba(0,0,0,.4); animation: tk-shadow 1.1s cubic-bezier(.5,0,.5,1) infinite; }
.pin-loader .pl-txt { color: var(--slate); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
/* Variante sur fond sombre (brand kit) */
.pin-loader.dark { background: linear-gradient(160deg,#10221C,#0C6B45); border-radius: 20px; }
.pin-loader.dark .pl-txt { color: rgba(255,255,255,.72); }

/* Révélation lettre à lettre (hero "Tappo") */
@keyframes tk-ltr { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .hl .ltr { display: inline-block; animation: tk-ltr .55s cubic-bezier(.2,.7,.3,1) both; }

/* ===== Splash d'intro — révélation animée du logo (brand kit) ===== */
/* Bannière catégorie en <img> lazy (perf 3G) */
.cat-banner { position: relative; overflow: hidden; }
.cat-banner .cat-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cat-banner .count { position: relative; z-index: 1; }

/* Squelette de chargement (stats hero) */
@keyframes tk-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skel { display: inline-block; min-width: 2.4em; height: .95em; border-radius: 6px; color: transparent !important;
  background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.3), rgba(255,255,255,.14));
  background-size: 200% 100%; animation: tk-shimmer 1.2s linear infinite; vertical-align: middle; }

/* Entrée en fondu des cartes (catégories, annonces, boutiques) */
@keyframes tk-fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .cat-grid > *, .ad-rail > .ad-card, .results-grid > .ad-card, .shop-rail > *, .shopx-grid > * { animation: tk-fadeup .5s cubic-bezier(.2,.7,.3,1) both; }
  .cat-grid > *:nth-child(2), .ad-rail > .ad-card:nth-child(2), .results-grid > .ad-card:nth-child(2) { animation-delay: .05s; }
  .cat-grid > *:nth-child(3), .ad-rail > .ad-card:nth-child(3), .results-grid > .ad-card:nth-child(3) { animation-delay: .1s; }
  .cat-grid > *:nth-child(4), .ad-rail > .ad-card:nth-child(4), .results-grid > .ad-card:nth-child(4) { animation-delay: .15s; }
  .cat-grid > *:nth-child(n+5), .ad-rail > .ad-card:nth-child(n+5), .results-grid > .ad-card:nth-child(n+5) { animation-delay: .2s; }
}

/* Baisse de prix */
.badge-drop { background: #FDECEC; color: #C0392B; }
.badge-pop { background: #FFF1E6; color: #D2691E; }
.ad-oldprice { color: var(--slate); font-weight: 500; font-size: .78em; margin-left: 4px; }

/* Sheen sur CTA */
.sheen { position: relative; overflow: hidden; }
.sheen::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent); animation: tk-sheen 3.4s ease-in-out infinite; pointer-events: none; }
.gal-main .gph::after { z-index: 0; }
.gal-thumb.active { border-color: var(--green); }
.gal-thumb:hover { transform: translateY(-2px); }
/* Flèches carrousel (façon Leboncoin) */
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.18); cursor: pointer; border: none; transition: .15s; }
.gal-nav svg { width: 22px; height: 22px; }
.gal-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-nav.gprev { left: 12px; transform: translateY(-50%) rotate(180deg); }
.gal-nav.gprev:hover { transform: translateY(-50%) rotate(180deg) scale(1.06); }
.gal-nav.gnext { right: 12px; }

/* Cartes détail */
.d-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-top: 22px; }
.d-card h2 { font-size: 1.2rem; margin-bottom: 14px; }
.d-desc { color: var(--ink-soft); white-space: pre-line; line-height: 1.7; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.spec { background: #fff; padding: 13px 16px; display: flex; justify-content: space-between; gap: 10px; font-size: .94rem; }
.spec .k { color: var(--slate); }
.spec .v { font-weight: 700; color: var(--ink); text-align: right; }

/* Colonne droite (sticky) */
.d-side { position: sticky; top: calc(var(--header-h) + 14px); display: flex; flex-direction: column; gap: 18px; }
.buy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh); }
.buy-card h1 { font-size: 1.3rem; line-height: 1.3; }
.buy-card .b-price { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--green-deep); margin: 12px 0 6px; }
.buy-card .b-price small { font-size: 1rem; font-weight: 600; color: var(--slate); }
.buy-card .b-meta { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: .88rem; flex-wrap: wrap; }
.buy-card .b-meta svg { width: 15px; height: 15px; }
.buy-card .b-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-light); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.contact-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.contact-secondary .btn { font-size: .85rem; padding: 9px 8px; justify-content: center; gap: 6px; }
.contact-secondary .btn svg { width: 15px; height: 15px; }
.buy-card .b-price { order: -1; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1fbe5b; transform: translateY(-2px); }
.phone-reveal { font-family: var(--font-head); letter-spacing: .04em; }

/* Carte vendeur */
.seller-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.seller-top { display: flex; align-items: center; gap: 14px; }
.seller-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; flex-shrink: 0; }
.seller-name { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.seller-name .verif { width: 16px; height: 16px; color: var(--green); }
.seller-sub { font-size: .84rem; color: var(--slate); }
.seller-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.seller-stats .st { background: var(--cloud); border-radius: var(--r-sm); padding: 11px; text-align: center; }
.seller-stats .st b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.seller-stats .st span { font-size: .78rem; color: var(--slate); }

.report { text-align: center; }
.report a { color: var(--slate); font-size: .86rem; }
.report a:hover { color: var(--red); }

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .d-side { position: static; }
  .gal-thumbs { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 480px) {
  .specs { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE PUBLIER UNE ANNONCE
   ============================================================ */
.publish { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; padding: 26px 0 80px; }
.pub-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pub-head p { color: var(--slate); margin-top: 6px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; margin-top: 22px; }
.form-card > h2 { font-size: 1.15rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.form-card > h2 .step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: .85rem; display: grid; place-items: center; font-family: var(--font-head); }
.form-card > .sub { color: var(--slate); font-size: .9rem; margin: 0 0 18px 38px; }

.fld { margin-bottom: 18px; }
.fld:last-child { margin-bottom: 0; }
.f-label { font-weight: 700; font-size: .92rem; margin-bottom: 7px; display: flex; justify-content: space-between; }
.f-label .cnt { color: var(--slate-light); font-weight: 600; font-size: .82rem; }
.f-input, .f-textarea, .f-select { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-weight: 500; color: var(--ink); outline: none; transition: border-color .2s; background: #fff; }
.f-input:focus, .f-textarea:focus, .f-select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,145,92,.1); }
.f-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.f-hint { font-size: .82rem; color: var(--slate); margin-top: 6px; }
.f-prefix { position: relative; }
.f-prefix .suf { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--slate); }
.f-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Segmented état */
.seg { display: inline-flex; background: var(--cloud); border-radius: var(--r-pill); padding: 4px; gap: 4px; }
.seg button { padding: 9px 20px; border-radius: var(--r-pill); font-weight: 700; font-size: .9rem; color: var(--slate); transition: .2s; }
.seg button.active { background: #fff; color: var(--green); box-shadow: var(--sh-sm); }

/* Zone photos */
.photo-zone { border: 2px dashed var(--line); border-radius: var(--r); padding: 30px; text-align: center; cursor: pointer; transition: .2s; background: var(--cloud); }
.photo-zone:hover, .photo-zone.drag { border-color: var(--green); background: rgba(22,145,92,.04); }
.photo-zone .pz-ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--green); box-shadow: var(--sh-sm); }
.photo-zone .pz-ico svg { width: 26px; height: 26px; }
.photo-zone b { color: var(--green); }
.photo-zone p { color: var(--slate); font-size: .88rem; margin-top: 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.photo-grid .ph { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--cloud); }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .ph .rm { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(20,24,31,.7); color: #fff; display: grid; place-items: center; }
.photo-grid .ph .rm svg { width: 14px; height: 14px; transform: rotate(45deg); }
.photo-grid .ph .rot { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; border: none; cursor: pointer; background: rgba(20,24,31,.7); color: #fff; font-size: 14px; line-height: 1; display: grid; place-items: center; }
.photo-grid .ph .rot:hover { background: var(--green); }
.photo-grid .ph.cover::after { content: "Couverture"; position: absolute; bottom: 0; left: 0; right: 0; background: var(--green); color: #fff; font-size: .64rem; font-weight: 700; text-align: center; padding: 3px; }

/* État de chargement discret (grilles & détail) */
.grid-loading { text-align: center; padding: 48px 20px; color: var(--slate); font-weight: 600; }
.grid-loading .spin { width: 22px; height: 22px; border: 2.5px solid rgba(22,145,92,.2); border-top-color: var(--green); vertical-align: -5px; margin-right: 8px; }

/* Choix du plan */
.plan-pick { display: flex; flex-direction: column; gap: 12px; }
.plan-opt { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; cursor: pointer; transition: .2s; }
.plan-opt:hover { border-color: var(--green); }
.plan-opt.active { border-color: var(--green); background: rgba(22,145,92,.05); box-shadow: 0 0 0 3px rgba(22,145,92,.08); }
.plan-opt input { width: 20px; height: 20px; accent-color: var(--green); }
.plan-opt .po-body { flex: 1; }
.plan-opt .po-name { font-weight: 700; }
.plan-opt .po-desc { font-size: .85rem; color: var(--slate); }
.plan-opt .po-price { font-family: var(--font-head); font-weight: 800; color: var(--green-deep); }

/* Aperçu live */
.pub-side { position: sticky; top: calc(var(--header-h) + 14px); }
.pub-preview { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh); }
.pub-preview > .pp-h { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; text-align: center; }
.pub-preview .ad-card { cursor: default; }
.pub-preview .ad-card:hover { transform: none; box-shadow: none; }
.pp-tip { margin-top: 14px; font-size: .82rem; color: var(--slate); text-align: center; line-height: 1.5; }

/* Succès */
.pub-success { text-align: center; padding: 60px 20px; max-width: 520px; margin: 0 auto; }
.pub-success .ok { width: 90px; height: 90px; margin: 0 auto 22px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-brand); animation: pop .5s var(--ease); }
.pub-success .ok svg { width: 48px; height: 48px; }
.pub-success h2 { font-size: 1.8rem; margin-bottom: 10px; }
.pub-success p { color: var(--slate); margin-bottom: 24px; }
.pub-success .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

@media (max-width: 900px) {
  .publish { grid-template-columns: 1fr; }
  .pub-side { position: static; order: -1; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  /* Anti-débordement : segments (type de prix / état) passent en pleine largeur, multi-lignes */
  .seg { display: flex; flex-wrap: wrap; width: 100%; box-sizing: border-box; }
  .seg button { flex: 1 1 40%; padding: 10px 8px; text-align: center; white-space: nowrap; }
  .form-card { overflow-x: hidden; }
  .f-prefix { width: 100%; box-sizing: border-box; }
  .f-input, .f-select, .f-textarea { max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 480px) {
  .f-grid2 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .pub-head h1 { font-size: 1.5rem; }
  .form-card { padding: 16px; }
}

/* ============================================================
   BUNDLE 1-4 — Compléments compétitifs
   ============================================================ */

/* ---- Autocomplétion ---- */
.ac-box { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); z-index: 60; overflow: hidden; display: none; }
.ac-box.open { display: block; }
.ac-head { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); padding: 10px 14px 4px; }
.ac-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; font-size: .95rem; color: var(--ink); }
.ac-item:hover, .ac-item.sel { background: var(--cloud); }
.ac-item > svg { width: 16px; height: 16px; color: var(--slate-light); flex-shrink: 0; }
.ac-item .ac-cat { margin-left: auto; font-size: .76rem; color: var(--green); background: rgba(22,145,92,.08); padding: 2px 8px; border-radius: var(--r-pill); }

/* ---- Toggle langue FR/WO ---- */
.lang-toggle { display: inline-flex; background: var(--cloud, #F1F4F8); border: 1px solid var(--line); border-radius: var(--r-pill, 999px); padding: 2px; }
.lang-toggle button { border: none; background: transparent; color: var(--slate); font: inherit; font-size: .76rem; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill, 999px); cursor: pointer; }
.lang-toggle button.active { background: var(--green); color: #fff; }
@media (max-width: 520px) { .lang-toggle { display: none; } }

/* ---- Boutons partage ---- */
.share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.share-row a, .share-row button { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 700;
  padding: 8px 13px; border-radius: var(--r-pill); border: 1.5px solid var(--line); color: var(--ink); transition: .2s; background: #fff; }
.share-row a:hover, .share-row button:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.share-row svg { width: 16px; height: 16px; }
.share-row .sh-logo { width: 17px; height: 17px; border-radius: 4px; object-fit: cover; display: block; }

/* ---- Modale (offre / signaler) ---- */
.modal-ov { position: fixed; inset: 0; background: rgba(20,24,31,.55); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-ov.open { display: flex; }
.modal { background: #fff; border-radius: var(--r-lg); padding: 28px; max-width: 420px; width: 100%; box-shadow: var(--sh-lg); animation: pop .3s var(--ease); }
.modal h3 { font-size: 1.3rem; margin-bottom: 6px; }
.modal p { color: var(--slate); font-size: .92rem; margin-bottom: 16px; }
.modal .m-close { float: right; color: var(--slate); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.modal .m-close:hover { background: var(--line-soft); }
.modal .m-close svg { width: 18px; height: 18px; transform: rotate(45deg); }
.offer-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.offer-quick button { border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 8px 14px; font-weight: 700; transition: .2s; }
.offer-quick button:hover, .offer-quick button.sel { border-color: var(--green); background: rgba(22,145,92,.06); color: var(--green); }
.modal .m-sub { color: var(--slate); font-size: .92rem; margin-bottom: 16px; }
.modal .m-label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.modal .m-note { color: var(--green); font-weight: 700; font-size: .9rem; margin-top: 12px; }
.modal input[type=number], .modal textarea, .offer-input input { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 11px 13px; font: inherit; margin-bottom: 14px; transition: border-color .2s; }
.modal input[type=number]:focus, .modal textarea:focus { outline: none; border-color: var(--green); }
.report-reasons { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.btn-gold { background: var(--gold); color: #5a4500; }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); }

/* ---- Galerie swipe (zoom) ---- */
.gal-main.zoomable { cursor: zoom-in; }
.gal-zoom-ov { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 210; display: none; align-items: center; justify-content: center; }
.gal-zoom-ov.open { display: flex; }
.gal-zoom-ov .zbox { width: 90vw; height: 80vh; border-radius: var(--r); background-size: contain; background-repeat: no-repeat; background-position: center; }
.gal-zoom-ov .zclose { position: absolute; top: 20px; right: 20px; color: #fff; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; z-index: 2; }
.gal-zoom-ov .zclose svg { width: 22px; height: 22px; transform: rotate(45deg); }
.gal-zoom-ov .znav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; transition: background .2s; }
.gal-zoom-ov .znav:hover { background: rgba(255,255,255,.3); }
.gal-zoom-ov .zprev { left: 16px; }
.gal-zoom-ov .znext { right: 16px; }
.gal-zoom-ov .znav svg { width: 24px; height: 24px; }
.gal-zoom-ov .zprev svg { transform: rotate(180deg); }
.gal-zoom-ov .zcount { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; background: rgba(0,0,0,.4); padding: 6px 16px; border-radius: var(--r-pill); }
@media (max-width: 600px) { .gal-zoom-ov .zprev { left: 8px; } .gal-zoom-ov .znext { right: 8px; } .gal-zoom-ov .zbox { width: 96vw; } }

/* ---- Bouton d'installation PWA ---- */
.pwa-install { position: fixed; left: 16px; bottom: 84px; z-index: 90; display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); color: #fff; border: none; border-radius: var(--r-pill, 999px); padding: 11px 18px; font: inherit;
  font-weight: 700; font-size: .88rem; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); cursor: pointer;
  transform: translateY(140%); opacity: 0; transition: transform .35s, opacity .35s; }
.pwa-install.show { transform: translateY(0); opacity: 1; }
.pwa-install svg { width: 16px; height: 16px; }
@media (min-width: 760px) { .pwa-install { bottom: 24px; } }

/* ---- Indicateurs vendeur sur les cartes ---- */
.ad-rate { color: var(--gold); font-weight: 700; }
.ad-views { color: var(--slate); font-weight: 600; }
.ad-verif { display: inline-flex; }
.ad-verif svg { width: 13px; height: 13px; color: var(--teal, #0FA3A3); vertical-align: -2px; }

/* ---- Vignette image blog (accueil) ---- */
.post .thumb.thumb-img { position: relative; padding: 0; overflow: hidden; }
.post .thumb.thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post .thumb.thumb-img .tag { position: absolute; top: 10px; left: 10px; z-index: 1; }

/* ---- Bannières héros (catégorie/ville/pro/blog) ---- */
.cat-hero { display: block; border-radius: var(--r-lg, 20px); overflow: hidden; margin: 4px 0 18px; box-shadow: var(--sh); }
.cat-hero img { display: block; width: 100%; height: auto; }
.page-hero { border-radius: var(--r-lg, 20px); overflow: hidden; margin: 0 0 22px; box-shadow: var(--sh); }
.page-hero img { display: block; width: 100%; height: auto; }

/* ---- Boutiques locales ---- */
.shop-types { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-type { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill, 999px);
  padding: 9px 16px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.shop-type:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.shop-grid .shop-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.shop-av { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 12px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.2rem; background: linear-gradient(135deg, var(--green), var(--green-deep)); }

/* ===== Boutiques Pro — cartes premium ===== */
.shopx-hero { position: relative; border-radius: var(--r-lg,20px); overflow: hidden; padding: 30px 26px; margin: 6px 0 22px;
  background: linear-gradient(120deg, var(--navy,#0D1B3E), var(--green-deep,#0E6B43)); color: #fff; box-shadow: var(--sh); }
.shopx-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(201,150,26,.30), transparent 45%); pointer-events: none; }
.shopx-hero h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem,4vw,2.1rem); }
.shopx-hero p { color: rgba(255,255,255,.85); margin: 0; max-width: 620px; }
.shopx-hero .shopx-kpis { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; position: relative; z-index: 1; }
.shopx-kpis .k b { font-family: var(--font-head,inherit); font-size: 1.5rem; font-weight: 800; color: #fff; display: block; }
.shopx-kpis .k span { color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 600; }

.shopx-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 4px 0 18px; }
.shopx-bar select { padding: 9px 13px; border: 1px solid var(--line); border-radius: var(--r-pill,999px); font: inherit; font-weight: 600; background: #fff; }

.shopx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.shopx { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg,20px);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s var(--ease,ease), box-shadow .3s; position: relative; }
.shopx:hover { transform: translateY(-6px); box-shadow: var(--sh-lg, 0 18px 40px -16px rgba(0,0,0,.3)); }
.shopx.is-premium { border-color: var(--gold,#C9961A); box-shadow: 0 0 0 1px var(--gold,#C9961A) inset, var(--sh-sm); }
.shopx-cover { height: 116px; background-size: cover; background-position: center; position: relative;
  background-color: #0E6B43; background-image: linear-gradient(135deg, var(--green), var(--green-deep)); }
.shopx-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45)); }
.shopx-ribbon { position: absolute; top: 12px; right: 12px; z-index: 2; background: linear-gradient(90deg,#F4C430,#C9961A); color: #1a1300;
  font-weight: 800; font-size: .68rem; letter-spacing: .05em; padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.shopx-logo { width: 62px; height: 62px; border-radius: 16px; border: 3px solid #fff; position: absolute; left: 18px; bottom: -28px; z-index: 2;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.3rem; overflow: hidden;
  background: linear-gradient(135deg,#16915C,#0E6B43); box-shadow: var(--sh-sm); }
.shopx-logo img { width: 100%; height: 100%; object-fit: cover; }
.shopx-body { padding: 36px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.shopx-name { font-weight: 800; font-size: 1.06rem; display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; }
.shopx-name .verif { width: 17px; height: 17px; color: var(--green); flex: none; }
.shopx-sub { color: var(--slate); font-size: .85rem; margin-top: -4px; }
.shopx-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.shopx-tag { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.shopx-tag.prem { background: linear-gradient(90deg,#FCEFC7,#F6E2A0); color: #8a6400; }
.shopx-tag.verif { background: #E7F1FE; color: #1D6FD8; }
.shopx-tag.found { background: var(--green-pale,#EAF6F0); color: var(--green-deep,#0E6B43); }
.shopx-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.shopx-thumbs span { aspect-ratio: 1; border-radius: 9px; background-size: cover; background-position: center; background-color: var(--cloud,#F4F6F9); }
.shopx-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.shopx-meta b { color: var(--ink); }
.shopx .btn { margin-top: 4px; }

/* ---- Bannière contextuelle (annonces) + héros image ---- */
.cat-hero { display: block; border-radius: var(--r-lg, 20px); overflow: hidden; margin: 4px 0 18px; box-shadow: var(--sh); }
.cat-hero img { display: block; width: 100%; height: auto; }
.page-hero { border-radius: var(--r-lg, 20px); overflow: hidden; margin: 8px 0 22px; box-shadow: var(--sh); }
.page-hero img { display: block; width: 100%; height: auto; }
.blog-cover { border-radius: var(--r-lg, 20px); overflow: hidden; margin: 8px 0 22px; box-shadow: var(--sh); }
.blog-cover img { display: block; width: 100%; height: auto; }

/* ---- Hero Tabaski / bétail ---- */
.tabaski-hero { text-align: center; background: linear-gradient(140deg, var(--green), var(--green-deep)); color: #fff; border-radius: var(--r-lg, 20px); padding: 40px 28px; margin: 10px 0; }
.tabaski-hero .th-badge { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .78rem; letter-spacing: .06em; padding: 6px 14px; border-radius: 999px; }
.tabaski-hero h1 { color: #fff; margin: 14px 0 8px; }
.tabaski-hero p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 16px; }
.tabaski-hero .th-count { background: rgba(0,0,0,.18); display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: .92rem; margin-bottom: 18px; }
.tabaski-hero .th-count b { color: var(--gold); }
.tabaski-hero .th-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Carte parrainage ---- */
.referral-card { background: linear-gradient(120deg, var(--gold), #E8A91A); color: var(--ink); border-radius: var(--r); padding: 18px 20px; margin: 16px 0 4px; }
.referral-card .rc-head { font-size: 1.05rem; margin-bottom: 4px; }
.referral-card .rc-sub { margin: 0 0 12px; font-size: .9rem; }
.referral-card .rc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.referral-card #ref-link { flex: 1; min-width: 180px; border: none; border-radius: 10px; padding: 10px 14px; font: inherit; font-size: .85rem; background: rgba(255,255,255,.92); color: var(--ink); }
.referral-card .btn { white-space: nowrap; }

/* ---- Outils compte ---- */
.acct-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 4px; }
.badge-verified { background: #1D9BF0; color: #fff; }
.badge-verified svg { width: 13px; height: 13px; vertical-align: -2px; }

/* ---- Aide au prix (publier) ---- */
.price-hint { margin-top: 8px; font-size: .85rem; color: var(--green-deep); background: var(--green-pale, #EAF6F0); border-radius: 10px; padding: 8px 12px; }
.price-hint b { color: var(--green-deep); }

/* ---- Bandeau Boutique Pro ---- */
.pro-banner { display: flex; align-items: center; gap: 8px; background: linear-gradient(100deg, var(--green), var(--green-deep)); color: #fff;
  font-weight: 700; padding: 12px 18px; border-radius: var(--r); margin: 4px 0 18px; }
.pro-banner svg { width: 18px; height: 18px; }

/* ---- Badge notifications nav ---- */
.nav-badge { position: absolute; top: 2px; right: 50%; transform: translateX(18px); min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 0 0 2px #fff; }
.nav .nav-badge, .header .nav-badge { position: static; transform: none; margin-left: 6px; box-shadow: none; }

/* ---- Bandeau membres fondateurs ---- */
.founder-band { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; text-decoration: none;
  background: linear-gradient(100deg, var(--navy, #0D1B3E), var(--green-deep)); color: #fff;
  border-radius: var(--r-lg, 20px); padding: 18px 24px; box-shadow: var(--sh); transition: transform .2s; }
.founder-band:hover { transform: translateY(-2px); }
.founder-band .fb-tag { background: var(--gold); color: var(--ink); font-weight: 800; font-size: .72rem; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.founder-band .fb-txt { flex: 1; min-width: 220px; font-size: .98rem; }
.founder-band .fb-txt b { color: var(--gold); }
.founder-band .fb-left { font-size: .9rem; opacity: .92; white-space: nowrap; }
.founder-band .fb-left b { color: var(--gold); font-size: 1.1rem; }
.founder-band .btn { white-space: nowrap; }

/* ---- Classement vendeurs ---- */
.rank-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; margin-bottom: 10px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.rank-row:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.rank-pos { flex: none; width: 36px; text-align: center; font-weight: 800; font-size: 1.1rem; color: var(--slate); }
.rank-pos.top { font-size: 1.5rem; }
.rank-av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.rank-name { flex: 1; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.rank-name .verif { width: 15px; height: 15px; color: var(--green); }
.rank-count { color: var(--slate); font-size: .88rem; white-space: nowrap; }
.rank-count b { color: var(--green); }

/* ---- Niveaux vendeur (gamification) ---- */
.lvl { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-weight: 800; font-size: .78rem; }
.lvl-new { background: #EEF1F5; color: var(--slate); }
.lvl-bronze { background: #F6E6D6; color: #9C5A1C; }
.lvl-silver { background: #E9ECF1; color: #5B6472; }
.lvl-gold { background: #FCEFC3; color: #9A7A12; }
.lvl-elite { background: linear-gradient(120deg, var(--navy, #0D1B3E), var(--green-deep)); color: #fff; }

/* ---- Compteur favoris FOMO ---- */
.fomo-fav { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 700; font-size: .88rem; }
.fomo-fav svg { width: 15px; height: 15px; }

/* ---- Barre comparateur flottante ---- */
.cmp-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 78px; z-index: 90; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 10px 12px 10px 18px; border-radius: 999px; box-shadow: var(--sh-lg); }
.cmp-bar span { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; }
.cmp-bar span svg { width: 18px; height: 18px; }
.cmp-bar b { color: var(--gold); }
.cmp-bar .cmp-clear { width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; transform: rotate(45deg); }
.cmp-bar .cmp-clear svg { width: 16px; height: 16px; }
@media (min-width: 901px) { .cmp-bar { bottom: 24px; } }

/* ---- Tableau comparateur ---- */
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .9rem; }
.cmp-table th { background: var(--cloud, #F4F6F9); font-weight: 700; width: 150px; }
.cmp-media { width: 100%; height: 120px; border-radius: 10px; background-size: cover; background-position: center; }

/* ---- Feed vertical (Découvrir, style TikTok) ---- */
.feed { height: 100vh; height: 100dvh; overflow-y: scroll; scroll-snap-type: y mandatory; background: #000; -webkit-overflow-scrolling: touch; }
.feed-loading { color: #fff; text-align: center; padding-top: 45vh; font-weight: 600; }
.feed-slide { position: relative; height: 100vh; height: 100dvh; scroll-snap-align: start; display: flex; align-items: flex-end; overflow: hidden; }
.feed-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed-img { background-size: cover; background-position: center; }
.feed-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%); }
.feed-info { position: relative; z-index: 2; color: #fff; padding: 0 84px 90px 20px; max-width: 100%; }
.feed-price { font-family: var(--font-head, inherit); font-weight: 800; font-size: 1.5rem; color: #fff; }
.feed-price small { color: rgba(255,255,255,.85); }
.feed-title { display: block; color: #fff; font-weight: 600; font-size: 1.05rem; margin: 6px 0 6px; text-decoration: none; }
.feed-meta { color: rgba(255,255,255,.85); font-size: .85rem; display: flex; align-items: center; gap: 5px; }
.feed-meta svg { width: 14px; height: 14px; }
.feed-actions { position: absolute; right: 14px; bottom: 110px; z-index: 3; display: flex; flex-direction: column; gap: 16px; }
.feed-act { width: 50px; height: 50px; border-radius: 50%; border: none; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.feed-act svg { width: 24px; height: 24px; }
.feed-act.wa { background: #25D366; }
.feed-act.on { color: var(--red); }
.feed-home { position: fixed; top: 16px; left: 16px; z-index: 10; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; transform: rotate(45deg); }
.feed-home svg { width: 22px; height: 22px; }

/* ---- Badge "Vérifié Tappo" sur les cartes ---- */
.ad-verif { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: .76rem; font-weight: 700; color: #1D9BF0; }
.ad-verif svg { width: 14px; height: 14px; }

/* ---- Bouton WhatsApp sur les cartes ---- */
.ad-actions { display: flex; gap: 8px; margin-top: 11px; }
/* Boutons contact premium — icônes seules : WhatsApp (dégradé) · Appel · SMS */
.ad-wa, .ad-call, .ad-sms { flex: 1 1 0; min-width: 0; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 13px; cursor: pointer; transition: transform .16s cubic-bezier(.3,.8,.3,1), box-shadow .16s, background .16s; padding: 0; }
.ad-wa { border: none; background: linear-gradient(135deg, #16b06f, var(--green, #11935E)); box-shadow: 0 7px 16px -7px rgba(17,147,94,.6); }
.ad-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(17,147,94,.72); }
.ad-wa:active { transform: translateY(0); }
.ad-wa .wa-ic { width: 24px; height: 24px; border-radius: 50%; display: block; }
.ad-call, .ad-sms { border: 1px solid rgba(17,147,94,.16); background: var(--green-pale, #EAF6F0); color: var(--green, #11935E); }
.ad-call:hover, .ad-sms:hover { background: #fff; border-color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(16,34,28,.3); }
.ad-call:active, .ad-sms:active { transform: translateY(0); }
.ad-call svg, .ad-sms svg { width: 20px; height: 20px; }

/* ---- Bannière 100% gratuit ---- */
.free-band { text-align: center; max-width: 760px; margin-inline: auto; padding: 48px 32px;
  background: linear-gradient(135deg, var(--green), var(--green-deep)); border-radius: var(--r-lg, 20px);
  color: #fff; box-shadow: 0 20px 50px -20px rgba(22,145,92,.6); }
.free-band h2 { color: #fff; margin: 14px 0 10px; }
.free-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 26px; }
.free-badge { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 800;
  font-size: .8rem; letter-spacing: .08em; padding: 7px 16px; border-radius: 999px; }
.free-band .btn-cta { box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }

/* ---- Spinner & messages de formulaire ---- */
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: var(--r); background: #FDECEC; color: #B22230;
  border: 1px solid #F5C2C2; font-size: .9rem; font-weight: 600; }
.form-msg.ok { background: #E7F6EE; color: var(--green-deep); border-color: #BFE6CF; }

/* ---- Offres du vendredi ---- */
.ven-countdown { text-align: center; margin-top: 28px; font-size: .95rem; color: var(--slate); }
.ven-countdown b { color: var(--orange); }

/* ---- Sentinelle scroll infini ---- */
.scroll-sentinel { height: 1px; }
.loading-more { text-align: center; padding: 16px 24px; margin: 8px auto 0; color: var(--green); font-weight: 700; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r); max-width: 320px; transition: border-color .2s, background .2s, transform .2s; }
.loading-more:hover { border-color: var(--green); background: var(--green-pale, #EAF6F0); transform: translateY(-2px); }
.loading-more svg { width: 16px; height: 16px; vertical-align: -3px; }
.loading-more small { color: var(--slate); font-weight: 500; }

/* ============================================================
   Authentification & Compte
   ============================================================ */
.auth-wrap { display: grid; grid-template-columns: 1fr .85fr; gap: 28px; align-items: start; margin: 10px 0 60px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 20px); padding: 8px; box-shadow: var(--sh); }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 2px; color: var(--slate); font-size: .82rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-google:hover { border-color: var(--green); background: #fafafa; }
#recaptcha-container { display: flex; justify-content: center; }
.auth-tabs { display: flex; gap: 6px; background: var(--cloud, #F4F6F9); border-radius: var(--r); padding: 5px; margin: 6px; }
.auth-tab { flex: 1; padding: 11px; border: none; background: transparent; border-radius: calc(var(--r) - 3px); font: inherit;
  font-weight: 700; color: var(--slate); cursor: pointer; transition: background .2s, color .2s; }
.auth-tab.active { background: #fff; color: var(--green); box-shadow: 0 2px 8px -4px rgba(0,0,0,.2); }
.auth-form { padding: 18px 24px 26px; }
.auth-form h1 { font-size: 1.5rem; margin: 6px 0 4px; }
.auth-sub { color: var(--slate); margin: 0 0 22px; font-size: .94rem; }
.auth-aside { background: linear-gradient(160deg, var(--green), var(--green-deep)); color: #fff; border-radius: var(--r-lg, 20px); padding: 32px 28px; }
.auth-aside h2 { color: #fff; font-size: 1.3rem; margin: 0 0 22px; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.auth-perks li { display: flex; gap: 14px; align-items: flex-start; }
.auth-perks .ap-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.auth-perks .ap-ic svg { width: 20px; height: 20px; color: #fff; }
.auth-perks b { display: block; font-size: .98rem; }
.auth-perks span { color: rgba(255,255,255,.85); font-size: .86rem; }
.aa-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.aa-logo { font-family: var(--font-head, inherit); font-weight: 800; font-size: 1.6rem; color: #fff; }
.aa-logo b { color: var(--gold); }
.aa-flag { font-size: 1.4rem; }
.aa-quote { margin-top: 22px; padding: 14px 16px; background: rgba(255,255,255,.12); border-radius: 12px; font-style: italic; font-size: .92rem; }
.aa-quote span { display: block; font-style: normal; font-weight: 700; color: var(--gold); margin-top: 6px; font-size: .82rem; }
.aa-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.aa-pay span { background: rgba(255,255,255,.16); border-radius: 8px; padding: 5px 10px; font-size: .76rem; font-weight: 700; }
.aa-secure { margin-top: 16px; font-size: .8rem; color: rgba(255,255,255,.8); }
@media (max-width: 820px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { order: -1; } }

/* ---- Étoiles de notation ---- */
.star-pick { display: inline-flex; gap: 4px; }
.star-pick .star { background: none; border: none; font-size: 1.8rem; line-height: 1; color: #D8DEE6; cursor: pointer; padding: 0; transition: color .12s, transform .12s; }
.star-pick .star:hover { transform: scale(1.15); }
.star-pick .star.on { color: var(--gold); }

/* ---- Pages de contenu / légales ---- */
.doc-page { max-width: 820px; margin: 10px auto 60px; }
.doc-page h1 { font-size: 2rem; margin: 6px 0 8px; }
.doc-page .doc-intro { color: var(--slate); font-size: 1.05rem; margin-bottom: 30px; }
.doc-page h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.doc-page p, .doc-page li { color: var(--ink-soft); line-height: 1.7; }
.doc-page ul { padding-left: 20px; }
.doc-page li { margin-bottom: 6px; }
.doc-page .doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 16px 0; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 20px 0; }
.doc-grid .doc-card { margin: 0; }
.doc-grid .dc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-pale, #EAF6F0); display: grid; place-items: center; margin-bottom: 12px; }
.doc-grid .dc-ic svg { width: 22px; height: 22px; color: var(--green); }
.doc-page .updated { color: var(--slate); font-size: .85rem; margin-top: 40px; }

/* ---- Bouton recherche vocale ---- */
.voice-btn { flex: none; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--cloud, #F4F6F9); color: var(--green); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.voice-btn:hover { background: var(--green-pale, #EAF6F0); }
.voice-btn svg { width: 18px; height: 18px; }
.voice-btn.listening { background: var(--red); color: #fff; animation: voicePulse 1s infinite; }

/* Loader compact universel (#load-ic sur compte/favoris/profil/messages…) */
#load-ic { width: 30px !important; height: 30px !important; border: 3px solid rgba(22,145,92,.2) !important;
  border-top-color: var(--green) !important; border-radius: 50% !important; background: none !important;
  box-shadow: none !important; margin: 0 auto 14px !important; animation: spin .7s linear infinite; }
#load-ic svg { display: none !important; }

/* Popup acheteur léger (Niveau 2) */
.buyer-ov { position: fixed; inset: 0; z-index: 100000; background: rgba(13,27,62,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 18px; animation: admfade .25s ease; }
@keyframes admfade { from { opacity: 0 } to { opacity: 1 } }
.buyer-modal { background: #fff; border-radius: 22px; padding: 26px 22px; width: 100%; max-width: 380px; text-align: center; box-shadow: 0 24px 60px -12px rgba(0,0,0,.4); position: relative; animation: buyerpop .3s cubic-bezier(.2,1.2,.4,1); }
@keyframes buyerpop { from { transform: translateY(16px) scale(.96); opacity: 0 } to { transform: none; opacity: 1 } }
.buyer-x { position: absolute; top: 10px; right: 14px; border: none; background: none; font-size: 1.6rem; line-height: 1; color: var(--slate); cursor: pointer; }
.buyer-emoji { font-size: 2.4rem }
.buyer-modal h3 { font-family: var(--font-head); font-size: 1.3rem; margin: 6px 0 2px }
.buyer-modal p { color: var(--slate); margin: 0 0 14px; font-size: .92rem }
.buyer-phone { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.buyer-phone span { padding: 12px 12px; background: var(--cloud,#F4F6F9); font-weight: 700; color: var(--ink); border-right: 1px solid var(--line); }
.buyer-phone input { flex: 1; border: none; outline: none; padding: 12px; font: inherit; font-size: 1.05rem; }
.buyer-msg { display: none; color: var(--red); font-size: .85rem; margin-top: 8px; }
.buyer-sub { color: var(--slate); font-size: .82rem; margin-top: 12px; }
.buyer-sub::before { content: "🔒 "; }
.buyer-seller { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--slate); }
.buyer-seller a { color: var(--green); font-weight: 700; }

/* Mini-toast global */
.tappo-toast { position: fixed; left: 50%; bottom: 88px; transform: translate(-50%, 20px); z-index: 9999;
  max-width: 90vw; background: #14181F; color: #fff; font-weight: 600; font-size: .9rem; padding: 12px 18px;
  border-radius: 999px; box-shadow: 0 8px 28px rgba(0,0,0,.28); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.tappo-toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes voicePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,.5); } 50% { box-shadow: 0 0 0 8px rgba(230,57,70,0); } }

/* ---- Mini-graphe admin ---- */
.adm-chart { display: flex; align-items: flex-end; gap: 10px; height: 160px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.adm-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.adm-bar-v { width: 70%; max-width: 38px; background: linear-gradient(180deg, var(--green), var(--green-deep)); border-radius: 6px 6px 0 0; min-height: 3px; transition: height .4s var(--ease); }
.adm-bar-n { font-size: .78rem; font-weight: 700; color: var(--ink); }
.adm-bar-l { font-size: .72rem; color: var(--slate); }

/* ---- Vitrine vendeur (profil) ---- */
.profile-cover { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg, 20px); overflow: hidden; box-shadow: var(--sh); margin: 10px 0 26px; }
.pc-banner { height: 120px; background: linear-gradient(120deg, var(--green), var(--green-deep)); position: relative; }
.pc-protag { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.pc-protag svg { width: 14px; height: 14px; }
.pc-body { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; padding: 0 24px; margin-top: -44px; }
.pc-av { width: 92px; height: 92px; border-radius: 22px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 2rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)); border: 4px solid #fff; flex: none; box-shadow: var(--sh); }
.pc-main { flex: 1; min-width: 220px; padding-bottom: 4px; }
.pc-main h1 { margin: 0 0 4px; font-size: 1.5rem; }
.pc-sub { color: var(--slate); font-size: .92rem; }
.pc-bio { color: var(--ink-soft); margin: 8px 0 0; max-width: 600px; font-size: .92rem; }
.pc-actions { padding-bottom: 6px; }
.pc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: 20px; }
.pc-stat { background: #fff; padding: 16px; text-align: center; }
.pc-stat b { display: block; font-size: 1.4rem; color: var(--green); font-family: var(--font-head, inherit); }
.pc-stat span { color: var(--slate); font-size: .82rem; }
@media (max-width: 560px) { .pc-stats { grid-template-columns: repeat(2, 1fr); } .pc-av { width: 76px; height: 76px; font-size: 1.6rem; } }

/* ---- Boutique premium (profil) ---- */
.profile-cover.is-premium { border-color: var(--gold,#C9961A); box-shadow: 0 0 0 1px var(--gold,#C9961A) inset, var(--sh); }
.pc-banner { background-size: cover; background-position: center; }
.pc-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.35)); }
.pc-banner > * { position: relative; z-index: 1; }
.pc-prem-ribbon { position: absolute; top: 14px; left: 16px; z-index: 2; background: linear-gradient(90deg,#F4C430,#C9961A); color: #1a1300;
  font-weight: 800; font-size: .72rem; letter-spacing: .05em; padding: 6px 13px; border-radius: 999px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.pc-badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 2px; }
.pc-tag { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.pc-tag.prem { background: linear-gradient(90deg,#FCEFC7,#F6E2A0); color: #8a6400; }
.pc-tag.verif { background: #E7F1FE; color: #1D6FD8; }
.pc-tag.found { background: var(--green-pale,#EAF6F0); color: var(--green-deep,#0E6B43); }
.pc-link { color: var(--green); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; }
.pc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 2px; }
.pc-chips a { font-size: .85rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; transition: .2s; }
.pc-chips a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.pc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---- Compte ---- */
.acct-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 10px 0 26px; }
.acct-av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.acct-head h1 { margin: 0; font-size: 1.5rem; }
.acct-head .sub { color: var(--slate); font-size: .92rem; }
.acct-head .acct-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.acct-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-align: center; }
.acct-stat b { display: block; font-size: 1.6rem; color: var(--green); font-family: var(--font-head, inherit); }
.acct-stat span { color: var(--slate); font-size: .85rem; }
.acct-listing { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 12px; }
.acct-listing .al-thumb { width: 76px; height: 64px; border-radius: 10px; flex: none; background-size: cover; background-position: center; }
.acct-listing .al-body { flex: 1; min-width: 0; }
.acct-listing .al-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-listing .al-meta { color: var(--slate); font-size: .85rem; }
.acct-listing .al-tip { margin-top: 6px; font-size: .8rem; color: var(--green-deep); background: var(--green-pale, #EAF6F0); border-radius: 8px; padding: 5px 10px; display: inline-block; }
.acct-listing .al-actions { display: flex; flex-direction: column; gap: 6px; flex: none; }
.acct-listing .al-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: 7px 12px; cursor: pointer; font: inherit; font-weight: 600; font-size: .82rem; text-align: center; text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s; }
.acct-listing .al-btn:hover { border-color: var(--green); color: var(--green); }
.acct-listing .al-del { border: 1px solid var(--line); background: #fff; color: var(--red); border-radius: 10px; padding: 7px 12px; cursor: pointer; font: inherit; font-weight: 600; font-size: .82rem; white-space: nowrap; }
.acct-listing .al-del:hover { background: #FDECEC; border-color: #F5C2C2; }
@media (max-width: 560px) { .acct-listing { flex-wrap: wrap; } .acct-listing .al-actions { flex-direction: row; flex-wrap: wrap; width: 100%; } }

/* ---- Messagerie ---- */
.msg-layout { display: grid; grid-template-columns: 320px 1fr; gap: 20px; min-height: 520px; margin: 10px 0 60px; }
.msg-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.msg-conv { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.msg-conv:hover, .msg-conv.active { background: var(--cloud, #F4F6F9); }
.msg-conv .mc-av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--teal, #0FA3A3), #0A7373); }
.msg-conv .mc-name { font-weight: 700; font-size: .92rem; }
.msg-conv .mc-last { color: var(--slate); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.msg-thread { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; }
.msg-thread-head { padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700; }
.msg-bubbles { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: 420px; }
.bubble { max-width: 70%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.4; }
.bubble.me { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: var(--cloud, #F4F6F9); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble .b-time { display: block; font-size: .68rem; opacity: .7; margin-top: 3px; }
.msg-safe { font-size: .78rem; color: var(--green-deep); background: var(--green-pale, #EAF6F0); padding: 8px 14px; text-align: center; }
.msg-quick { display: flex; gap: 8px; padding: 8px 12px 0; overflow-x: auto; }
.msg-quick .qr { white-space: nowrap; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; cursor: pointer; transition: border-color .15s, background .15s; }
.msg-quick .qr:hover { border-color: var(--green); background: var(--green-pale, #EAF6F0); color: var(--green-deep); }
.msg-compose { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.msg-compose input { flex: 1; border: 1px solid var(--line); border-radius: var(--r-pill, 999px); padding: 11px 16px; font: inherit; }
.msg-compose input:focus { outline: none; border-color: var(--green); }
@media (max-width: 760px) { .msg-layout { grid-template-columns: 1fr; } .msg-thread { display: none; } .msg-layout.show-thread .msg-list { display: none; } .msg-layout.show-thread .msg-thread { display: flex; } }

/* ---- Bandeau cookies compact (13/09/2026) : une ligne, ne masque plus la recherche ---- */
.cookie { left: 50%; right: auto; bottom: 16px; transform: translate(-50%, 140%); width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 14px; flex-direction: row; }
.cookie.show { transform: translate(-50%, 0); }
.cookie p { font-size: .85rem; line-height: 1.35; margin: 0; flex: 1; }
.cookie .cookie-actions { gap: 8px; }
.cookie .btn { padding: 8px 14px; font-size: .85rem; }
@media (max-width: 768px) {
  .cookie { bottom: 72px; }
}

/* ============================================================
   ACCUEIL ÉPURÉ (13/09/2026) — recherche d'abord, annonces au 1er écran,
   accès rapides catégories / ville / budget, peu d'effets.
   ============================================================ */
.hero.hero-lean { padding: 34px 0 22px; }
.hero-lean h1 { font-size: clamp(1.7rem, 4.2vw, 2.9rem); }
.hero-lean .hero-sub { margin: 10px auto 0; color: var(--slate); font-weight: 600; font-size: .98rem; }
.megasearch.megasearch-lean { margin-top: 20px; align-items: stretch; }
.megasearch-lean .field { padding: 6px 14px; }
.megasearch-lean .field-q { flex: 2; }
.megasearch-lean .field input, .megasearch-lean .field select { padding: 10px 0; }

.quick { padding: 4px 0 6px; }
.quick .qrow { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 6px 2px; scroll-snap-type: x proximity; }
.quick .qrow::-webkit-scrollbar { display: none; }
.cat-pill { flex: 0 0 auto; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; color: var(--ink); scroll-snap-align: start; text-decoration: none; }
.cat-pill .cp-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--green-pale, #EAF6F0); color: var(--green); display: grid; place-items: center; transition: background .2s, color .2s; }
.cat-pill .cp-ico svg { width: 26px; height: 26px; }
.cat-pill:hover .cp-ico, .cat-pill:focus-visible .cp-ico { background: var(--green); color: #fff; }
.cat-pill .cp-name { font-size: .76rem; font-weight: 700; line-height: 1.15; }
.cat-pill .count { font-size: .68rem; color: var(--slate); font-weight: 600; margin: 0; }
.chip-row .ql { flex: 0 0 auto; align-self: center; font-size: .78rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .05em; }
.qchip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .86rem/1.1 var(--font-body, inherit); cursor: pointer; white-space: nowrap; text-decoration: none; scroll-snap-align: start; }
.qchip:hover { border-color: var(--green); color: var(--green); }
.qchip.on { background: var(--green); border-color: var(--green); color: #fff; }
.qchip.near { color: var(--green); border-color: var(--green); }
.qchip svg { width: 15px; height: 15px; }
/* Ordinateur : catégories sur plusieurs lignes, villes & budget en une seule ligne défilante (annonces plus haut) */
@media (min-width: 1025px) {
  .quick .cat-strip { flex-wrap: wrap; justify-content: center; overflow: visible; }
  .hero.hero-lean { padding: 28px 0 16px; }
  .megasearch.megasearch-lean { margin-top: 16px; }
}

.trust-bar .ti a { color: var(--green-dark, #0C6B45); text-decoration: underline; text-underline-offset: 2px; }

.feed-sec { padding-top: 22px; }
.feed-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.feed-head h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 0; }
.feed-meta { margin: 4px 0 0; color: var(--slate); font-size: .88rem; }
.feed-meta b { color: var(--ink); font-family: var(--font-head); }
.feed-reset { background: none; border: 0; padding: 0; color: var(--green); font: 700 .88rem var(--font-body, inherit); cursor: pointer; text-decoration: underline; }
.feed-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }

.sell-band, .wa-channel { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r-lg, 20px); text-decoration: none; color: var(--ink); }
.sell-band { background: var(--sand, #F5F2EA); border: 1px solid var(--line); }
.wa-channel { background: #E7F8EE; border: 1px solid #BFE8CF; }
.sell-band b, .wa-channel b { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); }
.sell-band .sb-t, .wa-channel .wc-t { flex: 1; min-width: 0; font-size: .88rem; color: var(--slate); }
.sell-band .sb-ic { font-size: 1.8rem; line-height: 1; }
.wa-channel img { width: 40px; height: 40px; flex-shrink: 0; }

@media (max-width: 768px) {
  .hero.hero-lean { padding: 22px 0 14px; }
  .hero-lean .hero-sub { font-size: .88rem; }
  .megasearch.megasearch-lean { flex-direction: row; flex-wrap: wrap; padding: 8px; gap: 8px; }
  .megasearch-lean .field-q { flex: 1 1 100%; }
  .megasearch-lean .field + .field { border-top: none; border-left: none; }
  .megasearch-lean .field-ville { flex: 1 1 0; min-width: 0; background: var(--sand, #F5F2EA); border-radius: 12px; }
  .megasearch-lean .btn { flex: 0 0 auto; padding-inline: 18px; }
  .trust-bar .wrap { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 22px; padding: 10px 16px; scrollbar-width: none; }
  .trust-bar .wrap::-webkit-scrollbar { display: none; }
  .trust-bar .ti { font-size: .82rem; }
  .feed-sec { padding-top: 14px; }
  .feed-head .btn { display: none; }
  /* Carrousel limité au rail de l'accueil (#shop-rail) — la page Boutiques garde sa grille */
  #shop-rail.shopx-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  #shop-rail.shopx-grid > * { scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .sell-band, .wa-channel { flex-wrap: wrap; }
  .sell-band .btn, .wa-channel .btn { width: 100%; }
}
/* En-tête ordinateur : le bouton « Publier » existe déjà à droite → pas de doublon dans le menu (évite le débordement) */
@media (min-width: 769px) { .header .nav > .btn-cta { display: none; } }

/* ============================================================
   FICHE ANNONCE MOBILE (13/09/2026) — prix + contact juste sous les photos,
   barre de contact fixe (WhatsApp · Appeler · Message), partage replié.
   ============================================================ */
.share-toggle { margin-top: 14px; }
.share-row.is-collapsed { display: none; }
.contact-bar { display: none; }
@media (max-width: 768px) {
  /* align-items: stretch obligatoire : la grille desktop met « start », qui réduisait la galerie à 0 px */
  .detail { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .detail > .gallery, .detail > .d-side { display: contents; }
  .detail .gal-main { order: 1; }
  .detail .gal-thumbs { order: 2; margin-top: -6px; }
  .detail .buy-card { order: 3; padding: 18px; }
  .detail .seller-card { order: 4; }
  .detail .gallery > .d-card { order: 5; margin-top: 0; }
  .detail .gallery > .safety { order: 6; margin-top: 0 !important; }
  .detail .d-side > .report { order: 7; }
  .buy-card .b-price { font-size: 1.8rem; }

  body.has-contact-bar { padding-bottom: 80px; }
  body.has-contact-bar .mobile-nav, body.has-contact-bar .wa-float { display: none; }
  body.has-contact-bar .cookie { bottom: 86px; }
  .contact-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 97; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,34,28,.10); }
  .contact-bar a, .contact-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 52px;
    border-radius: 14px; font: 700 .95rem/1 var(--font-body, inherit); text-decoration: none; cursor: pointer; }
  .contact-bar svg { width: 20px; height: 20px; flex: none; }
  .contact-bar .cb-wa { flex: 1; background: #1FAF63; color: #fff; border: 0; }
  .contact-bar .cb-call, .contact-bar .cb-msg { flex: 0 0 auto; min-width: 66px; padding: 0 10px; flex-direction: column; gap: 3px;
    font-size: .7rem; background: var(--green-pale, #EAF6F0); color: var(--green-deep, #0C6B45); border: 1px solid rgba(17,147,94,.18); }
  .contact-bar.no-wa .cb-msg { flex: 1; flex-direction: row; font-size: .95rem; }

  /* Cartes : moins de boutons flottants sur mobile (le partage reste sur la fiche) */
  .ad-share { display: none; }
}

/* ============================================================
   PUBLIER EN 3 ÉTAPES (13/09/2026)
   ============================================================ */
.pub-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.pub-steps .ps { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; color: var(--slate); font: 600 .86rem/1.2 var(--font-body, inherit); text-align: left; cursor: pointer; }
.pub-steps .ps-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cloud, #F4F6F9); color: var(--slate); font-weight: 800; font-size: .8rem; }
.pub-steps .ps-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-steps .ps.on { border-color: var(--green); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(17,147,94,.55); }
.pub-steps .ps.on .ps-n { background: var(--green); color: #fff; }
.pub-steps .ps.done { color: var(--ink); }
.pub-steps .ps.done .ps-n { background: var(--green-pale, #EAF6F0); color: var(--green); font-size: 0; }
.pub-steps .ps.done .ps-n::after { content: "✓"; font-size: .85rem; }
.publish[data-step="1"] [data-step]:not([data-step="1"]),
.publish[data-step="2"] [data-step]:not([data-step="2"]),
.publish[data-step="3"] [data-step]:not([data-step="3"]) { display: none !important; }
.publish .form-card > .sub { margin-left: 0; }
.step-nav, .step-submit { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step-nav .step-msg { margin: 0; }
.step-back { color: var(--slate); }
@media (max-width: 900px) {
  .publish[data-step="1"] .pub-side, .publish[data-step="2"] .pub-side { display: none; }
  .publish[data-step="3"] .pub-side { order: 1; }
}
@media (max-width: 480px) {
  .pub-steps { gap: 6px; }
  .pub-steps .ps { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; font-size: .72rem; }
  .pub-steps .ps-l { white-space: normal; }
}

/* ============================================================
   LISTE DES ANNONCES — barre fixe mobile Filtres · Trier (13/09/2026)
   ============================================================ */
.m-filterbar { display: none; }
@media (max-width: 900px) {
  .m-filterbar { display: flex; gap: 8px; position: sticky; top: var(--header-h, 72px); z-index: 40; margin: 0 0 12px; padding: 8px 0;
    background: var(--bg, #fff); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .m-filterbar::-webkit-scrollbar { display: none; }
  .mfb-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
    border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .86rem/1 var(--font-body, inherit); cursor: pointer; white-space: nowrap; }
  .mfb-btn svg { width: 16px; height: 16px; color: var(--green); flex: none; }
  .mfb-main { background: var(--green); border-color: var(--green); color: #fff; }
  .mfb-main svg { color: #fff; }
  .mfb-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--green-deep, #0C6B45); font-size: .72rem; font-weight: 800; display: inline-grid; place-items: center; }
  .mfb-n[hidden] { display: none; }
  .mfb-sort select { border: 0; background: transparent; font: inherit; color: inherit; padding: 0; outline: none; cursor: pointer; }
  .listing-head .btn-filters { display: none; }
  .toolbar #near-me, .toolbar #create-alert, .toolbar a[href="carte.html"], .toolbar .sort { display: none; }
  .toolbar { margin-bottom: 10px; }
}

/* ============================================================
   PROFIL / BOUTIQUE — filtres de vitrine + barre de contact (13/09/2026)
   ============================================================ */
.pc-chips button { font: 600 .85rem/1.1 var(--font-body, inherit); color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.pc-chips button:hover { border-color: var(--green); color: var(--green); }
.pc-chips button.on { background: var(--green); color: #fff; border-color: var(--green); }
@media (max-width: 768px) {
  .pc-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .pc-chips::-webkit-scrollbar { display: none; }
}

/* ============================================================
   PAGE BOUTIQUES — cartes compactes sur mobile (13/09/2026) : 12,5 écrans → ~4
   (limité à .doc-page : le rail de l'accueil #shop-rail garde ses grandes cartes)
   ============================================================ */
@media (max-width: 640px) {
  .doc-page .shopx-grid { grid-template-columns: 1fr; gap: 10px; }
  .doc-page .shopx { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; align-items: start; padding: 12px; }
  .doc-page .shopx:hover { transform: none; }
  .doc-page .shopx-cover { height: auto; background: none !important; position: static; }
  .doc-page .shopx-cover::after, .doc-page .shopx-ribbon { display: none; }
  .doc-page .shopx-logo { position: static; width: 64px; height: 64px; border: 0; border-radius: 14px; }
  .doc-page .shopx-body { padding: 0; gap: 6px; min-width: 0; }
  .doc-page .shopx-name { font-size: .98rem; }
  .doc-page .shopx-thumbs { grid-template-columns: repeat(4, 46px); gap: 5px; }
  .doc-page .shopx-meta { border-top: 0; padding-top: 0; justify-content: flex-start; gap: 14px; }
  .doc-page .shopx .btn { display: none; }
}

/* Page Boutiques : texte du bandeau lisible sur le dégradé sombre + chiffres clés sur une ligne (13/09/2026) */
.shopx-hero p { color: rgba(255,255,255,.9); }
@media (max-width: 640px) {
  .shopx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shopx-kpis .k span { font-size: .72rem; }
}

/* ============================================================
   Corrections UX (13/09/2026, lot d)
   ============================================================ */
/* Bannière boutique : image réelle en object-fit:cover dans un cadre à ratio fixe
   (portrait, paysage ou carré ne déforment plus rien ; dégradé si l'image échoue) */
.pc-banner { height: auto; aspect-ratio: 16 / 9; max-height: 260px; overflow: hidden; background-color: var(--green-deep, #0E6B43); }
@media (min-width: 641px) { .pc-banner { aspect-ratio: 4 / 1; } }
.pc-banner > img.pc-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; display: block; }
.pc-banner::after { z-index: 1; pointer-events: none; }
.pc-banner > .pc-protag, .pc-banner > .pc-prem-ribbon { position: absolute; z-index: 2; }

/* Vendeur sans avis ni vente : message d'accueil au lieu de stats vides */
.seller-new { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--green-pale, #EAF6F0); color: var(--green-deep, #0E6B43); font-size: .88rem; font-weight: 600; line-height: 1.4; }
.profile-cover .seller-new { margin: 18px 24px 0; }
.profile-cover .seller-new + .pc-stats { margin-top: 14px; }

/* Fiche annonce : 2 contacts visibles + « Plus d'options » */
.more-opts { border: 1px solid var(--line); border-radius: var(--r, 12px); background: #fff; }
.more-opts > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.more-opts > summary::-webkit-details-marker { display: none; }
.more-opts > summary .mo-dots { letter-spacing: 2px; color: var(--green); font-weight: 800; }
.more-opts[open] > summary { border-bottom: 1px solid var(--line); }
.more-opts .mo-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.more-opts .contact-secondary, .more-opts .share-toggle { margin-top: 0; }
.reply-hint { margin: -2px 0 0; text-align: center; font-size: .8rem; color: var(--slate); }

/* Accueil : réassurance prix juste + tendances de la semaine */
.hero-lean .hero-reassure { margin: 6px auto 0; font-size: .86rem; color: var(--green-deep, #0E6B43); font-weight: 600; }
.trend-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.trend-row::-webkit-scrollbar { display: none; }
.trend-row .shop-type { flex: 0 0 auto; white-space: nowrap; }
.trend-row .shop-type small { color: var(--slate); font-weight: 600; }

/* Liste : explication sous « M'alerter » */
.toolbar .alert-hint { flex-basis: 100%; margin: -6px 0 0; font-size: .82rem; color: var(--slate); }

/* Services : nombre d'annonces par métier */
.doc-card .sv-n { display: inline-block; margin-left: 8px; font-size: .78rem; color: var(--slate); font-weight: 600; }

/* Footer : phrase de confiance sous les moyens de paiement */
.footer-trust { flex-basis: 100%; font-size: .8rem; color: rgba(255,255,255,.65); }

/* Liens « Voir → » harmonisés (cartes métiers, villes, guides) */
.link-more { display: inline-block; color: var(--green); font-weight: 700; transition: transform .2s; }
.doc-card:hover .link-more, .link-more:hover { transform: translateX(3px); }

/* Rappels personnels discrets : favori moins cher, demande d'avis, annonces à renouveler (jamais en popup) */
.nudge { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin: 12px 0; border-radius: var(--r, 12px);
  background: var(--green-pale, #EAF6F0); border: 1px solid rgba(22,145,92,.25); color: var(--ink); text-decoration: none; }
.nudge .ng-ic { font-size: 1.5rem; line-height: 1; }
.nudge .ng-t { flex: 1; min-width: 200px; font-size: .88rem; color: var(--slate); }
.nudge .ng-t b { display: block; color: var(--ink); font-size: .95rem; }
.nudge .btn { white-space: nowrap; }
.nudge .ng-x { background: none; border: 0; color: var(--slate); font-size: 1rem; cursor: pointer; padding: 4px 6px; }

/* ============================================================
   Publication multiple (boutiques) — publier-lot.html
   ============================================================ */
.lot-wrap { max-width: 880px; }
.lot-count { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--slate); font-family: var(--font-body, inherit); }
.lot-prep { font-size: .88rem; color: var(--slate); margin-top: 8px; min-height: 1.2em; }
.lot-empty { color: var(--slate); font-size: .9rem; margin: 0; }
.lot-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 14px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r, 12px); background: #fff; }
.lot-row.ok { border-color: var(--green); background: var(--green-pale, #EAF6F0); }
.lot-row.pending { border-color: #E8C66A; background: #FFF9E8; }
.lot-row.err { border-color: #E9A3A8; }
.lot-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; align-content: start; }
.lot-photos .lp { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cloud, #F4F6F9); }
.lot-photos .lp:first-child { grid-column: 1 / -1; }
.lot-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot-photos .lp-rm { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(20,24,31,.72); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.lot-photos .lp-add { aspect-ratio: 1; border: 1.5px dashed var(--line); border-radius: 10px; background: #fff; color: var(--green); font-size: 1.4rem; cursor: pointer; }
.lot-photos .lp-add:only-child { grid-column: 1 / -1; }
.lot-fields { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lot-num { font-size: .75rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .04em; }
.lot-line { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lot-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lot-actions .btn { font-size: .82rem; padding: 7px 12px; }
.lot-status { font-size: .85rem; color: var(--slate); line-height: 1.4; }
.lot-status a { color: var(--green); font-weight: 700; }
.lot-row.err .lot-status { color: #B22230; }
.lot-bar { position: sticky; bottom: 0; z-index: 20; margin-top: 20px; padding: 12px 0 10px; background: var(--bg, #fff); border-top: 1px solid var(--line); }
.lot-summary { font-size: .9rem; margin-bottom: 8px; }
.lot-summary a { color: var(--green); font-weight: 700; }
@media (max-width: 640px) {
  .lot-row { grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; }
  .lot-line { grid-template-columns: 1fr; }
  .lot-bar { bottom: 62px; }
}

/* Messagerie : pastille « En direct » quand le temps réel est connecté */
.rt-live { margin-left: auto; padding-left: 12px; color: var(--green); font-weight: 700; font-size: .78rem; white-space: nowrap; }

/* Fiche annonce : personnes qui regardent en direct (présence temps réel) */
.live-viewers:not([hidden]) { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 4px 11px; border-radius: 999px;
  background: var(--green-pale, #EAF6F0); color: var(--green-deep, #0E6B43); font-size: .84rem; font-weight: 700; }

/* Fiche annonce rendue côté serveur : visible le temps que le JavaScript charge (3G) */
.ssr-ad { max-width: 760px; margin: 18px 0 30px; }
.ssr-ad h1 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0 0 6px; }
.ssr-ad .ssr-price { font-weight: 800; color: var(--green); margin: 0 0 12px; }
.ssr-ad img { display: block; max-width: 100%; height: auto; border-radius: 14px; margin-bottom: 12px; }

/* Pages catégorie × ville (rendues côté serveur) */
.cv-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.cv-facts span { background: var(--green-pale, #EAF6F0); color: var(--green-deep, #0E6B43); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.cv-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 28px 0 14px; }
.cv-head h2 { margin: 0; font-size: 1.2rem; }
.cv-h2 { font-size: 1.1rem; margin: 30px 0 10px; }
.cv-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.cv-links .shop-type small { color: var(--slate); font-weight: 600; }
.cv-tips { margin-top: 26px; }
