/* ============================================================
   Armenia City Directory — main.css
   Mobile-first · UTF-8 · Armenian UI
   ============================================================ */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --c:       #E63329;
  --c2:      #C42B22;
  --c-bg:    #FEF2F1;
  --dk:      #0F0F0F;
  --mid:     #2D2D2D;
  --muted:   #6B7280;
  --light:   #F5F5F3;
  --border:  #E5E7EB;
  --white:   #FFFFFF;
  --r:       10px;
  --r-sm:    7px;
  --r-lg:    16px;
  --shadow:  0 2px 12px rgba(0,0,0,.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,.1);
  --trans:   .18s ease;
  --arm:     'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--arm);
  font-size: 15px;
  line-height: 1.65;
  color: var(--mid);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* bottom nav */
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--c); text-decoration: none; }
a:hover { opacity: .82; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Topbar ── */
.topbar {
  background: var(--dk);
  padding: 7px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  position: relative; z-index: 400;
}
.topbar-city { color: #9CA3AF; display: flex; align-items: center; gap: 6px; }
.topbar-city::before { content: '📍'; font-size: 11px; }
.topbar-cta {
  background: var(--c); color: #fff;
  padding: 3px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}

/* ── Sélecteur de langue ── */
.topbar-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; z-index: 450; }
.lang-current {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.1); color: #E5E7EB;
  border: none; cursor: pointer;
  padding: 3px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; font-family: inherit;
}
.lang-current:hover { background: rgba(255,255,255,.18); }
.lang-current svg { opacity: .6; transition: transform .2s; }
.lang-switch.open .lang-current svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  padding: 6px; min-width: 150px; z-index: 460;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 7px;
  font-size: 13px; color: #374151; font-weight: 500;
  text-decoration: none;
}
.lang-item:hover { background: #F3F4F6; }
.lang-item.active { background: var(--c-bg, #FEF2F2); color: var(--c); font-weight: 700; }

/* ── Header ── */
#header {
  background: var(--white);
  height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  transition: box-shadow var(--trans);
}
#header.scrolled { box-shadow: var(--shadow-md); }

.logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--c); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.logo-text {
  font-size: 16px; font-weight: 700;
  color: var(--dk); letter-spacing: -.2px;
}
.logo-text em { color: var(--c); font-style: normal; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.btn-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm); border: none;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--mid); font-size: 20px;
  transition: background var(--trans);
}
.btn-icon:hover { background: var(--light); }
.btn-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Search bar (expandable) ── */
.search-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(15,23,42,.5);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-inner {
  background: var(--white);
  max-width: 640px; margin: 0 auto;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform .25s ease;
}
.search-overlay.open .search-overlay-inner { transform: translateY(0); }
.search-overlay input {
  flex: 1; border: none; outline: none;
  font-size: 17px; font-family: var(--arm);
  color: var(--dk); background: transparent;
}
.search-overlay input::placeholder { color: #9CA3AF; }
.search-close { background: none; border: none; font-size: 22px; color: var(--muted); padding: 4px; }
.search-results {
  background: var(--white);
  max-width: 640px; margin: 0 auto;
  padding: 8px 0;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.search-item-thumb {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  object-fit: cover; background: var(--light); flex-shrink: 0;
}
.search-item-name { font-size: 14px; font-weight: 600; color: var(--dk); }
.search-item-cat  { font-size: 12px; color: var(--muted); }

/* ── Hero ── */
.hero {
  background: var(--c);
  padding: 24px 16px 22px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30px; right: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero-eyebrow {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.65);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 7px;
}
.hero h1 {
  font-size: 24px; font-weight: 800;
  color: #fff; line-height: 1.15;
  margin-bottom: 8px; letter-spacing: -.3px;
}
.hero-sub {
  font-size: 14px; color: rgba(255,255,255,.8);
  line-height: 1.6; margin-bottom: 18px;
}
.hero-search {
  background: var(--white);
  border-radius: var(--r);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.hero-search svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; flex-shrink: 0; }
.hero-search span { font-size: 14px; color: #9CA3AF; }

/* ── Categories scroll ── */
.cats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.cats-scroll {
  display: flex; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 0 12px;
}
.cats-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
  padding: 11px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap; cursor: pointer;
  text-decoration: none;
  transition: color var(--trans), border-color var(--trans);
}
.cat-pill:hover, .cat-pill.active {
  color: var(--c); border-bottom-color: var(--c);
}
.cat-pill-icon { font-size: 16px; }

/* ── Section ── */
.section { padding: 20px 0; }
.section-white { background: var(--white); }
.section-light { background: var(--light); }

.section-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 16px; margin-bottom: 14px;
}
.section-title { font-size: 17px; font-weight: 700; color: var(--dk); }
.section-more  { font-size: 13px; font-weight: 600; color: var(--c); }

/* ── Featured cards (horizontal scroll) ── */
.feat-scroll {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 4px;
}
.feat-scroll::-webkit-scrollbar { display: none; }

.feat-card {
  flex-shrink: 0; width: 220px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--trans);
}
.feat-card:active { transform: scale(.98); }
.feat-img {
  height: 140px; position: relative;
  overflow: hidden; background: var(--light);
}
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--c); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
}
.feat-score {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,.55); color: #F59E0B;
  font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 20px;
  display: flex; align-items: center; gap: 3px;
}
.feat-body { padding: 12px; }
.feat-cat {
  font-size: 10px; color: var(--c); font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px;
}
.feat-name {
  font-size: 13px; font-weight: 700; color: var(--dk);
  line-height: 1.3; margin-bottom: 6px;
}
.feat-meta {
  display: flex; align-items: center;
  gap: 8px; font-size: 11px; color: var(--muted);
}
.feat-loc { display: flex; align-items: center; gap: 3px; }
.feat-loc svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Article list cards (vertical) ── */
.place-list { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }

.place-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow);
  transition: box-shadow var(--trans);
  text-decoration: none; color: inherit;
}
.place-card:active { box-shadow: none; }

.place-thumb {
  width: 100px; flex-shrink: 0;
  overflow: hidden; background: var(--light);
  position: relative;
}
.place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--border);
}

.place-body { padding: 12px 14px; flex: 1; min-width: 0; }
.place-cat {
  font-size: 10px; color: var(--c); font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px;
}
.place-name {
  font-size: 14px; font-weight: 700; color: var(--dk);
  line-height: 1.3; margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.place-excerpt {
  font-size: 12px; color: var(--muted); line-height: 1.5;
  margin-bottom: 7px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.place-foot {
  display: flex; align-items: center; justify-content: space-between;
}
.place-district {
  font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 3px;
}
.place-district svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
.place-price { font-size: 12px; color: var(--muted); }

/* ── Grid 2 colonnes (catégorie / archive) ── */
.place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px; padding: 0 16px;
}
.place-grid-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
}
.place-grid-img {
  height: 110px; overflow: hidden;
  background: var(--light); position: relative;
}
.place-grid-img img { width: 100%; height: 100%; object-fit: cover; }
.place-grid-badge {
  position: absolute; bottom: 6px; left: 6px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 9px; font-weight: 600;
  padding: 2px 7px; border-radius: 10px;
}
.place-grid-body { padding: 10px 11px; }
.place-grid-name {
  font-size: 12px; font-weight: 700; color: var(--dk);
  line-height: 1.3; margin-bottom: 4px;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.place-grid-meta { font-size: 11px; color: var(--muted); }

/* ── Page lieu (single) ── */
.place-hero {
  height: 260px; position: relative;
  overflow: hidden; background: var(--dk);
}
.place-hero img { width: 100%; height: 100%; object-fit: cover; }
.place-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1) 40%, rgba(0,0,0,.5));
}
.place-hero-back {
  position: absolute; top: 14px; left: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.4); border: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.place-hero-back svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.place-hero-share {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.4); border: none;
  display: flex; align-items: center; justify-content: center;
}
.place-hero-share svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.place-hero-badge {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--c); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
}
.place-hero-score {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.55); color: #F59E0B;
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px;
}

.place-body-wrap { background: var(--white); }
.place-header { padding: 18px 16px 14px; }
.place-title  {
  font-size: 22px; font-weight: 800; color: var(--dk);
  line-height: 1.15; margin-bottom: 12px; letter-spacing: -.3px;
}

/* Strip infos rapides */
.place-strip {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.strip-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted);
}
.strip-item svg { width: 14px; height: 14px; stroke: var(--c); fill: none; stroke-width: 2; }

/* Boutons d'action (appel, WhatsApp, site) */
.place-actions {
  display: flex; gap: 8px; padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.place-actions::-webkit-scrollbar { display: none; }
.action-btn {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r);
  font-size: 13px; font-weight: 700; border: none;
  text-decoration: none; transition: opacity var(--trans);
}
.action-btn:active { opacity: .8; }
.action-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.action-btn-call    { background: var(--c);    color: #fff; }
.action-btn-wa      { background: #25D366;     color: #fff; }
.action-btn-web     { background: var(--light); color: var(--dk); border: 1px solid var(--border); }
.action-btn-insta   { background: #E1306C;     color: #fff; }
.action-btn-tg      { background: #229ED9;     color: #fff; }
.action-btn-fav     { background: var(--light); color: var(--dk); border: 1px solid var(--border); }
.action-btn-fav.active { background: #FEF2F1; color: var(--c); border-color: var(--c); }

/* Contenu principal */
.place-content { padding: 18px 16px; }
.place-content h2 { font-size: 18px; font-weight: 700; color: var(--dk); margin: 20px 0 10px; }
.place-content h3 { font-size: 16px; font-weight: 700; color: var(--dk); margin: 16px 0 8px; }
.place-content p  { font-size: 14px; color: var(--mid); line-height: 1.75; margin-bottom: 12px; }
.place-content ul { margin-left: 20px; list-style: disc; margin-bottom: 12px; }
.place-content ul li { font-size: 14px; color: var(--mid); margin-bottom: 4px; }

/* Fiche pratique */
.fiche-card {
  background: var(--light);
  border-radius: var(--r-lg); padding: 16px;
  margin: 0 16px 16px;
  border: 1px solid var(--border);
}
.fiche-title {
  font-size: 12px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px;
}
.fiche-row {
  display: flex; align-items: flex-start;
  gap: 11px; padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.fiche-row:last-child { border: none; padding-bottom: 0; }
.fiche-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--c); fill: none; stroke-width: 2;
  margin-top: 1px;
}
.fiche-lbl  { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.fiche-val  { font-size: 13px; color: var(--dk); font-weight: 600; }
.fiche-val a { color: var(--c); }

/* Réseaux sociaux */
.socials {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 0 16px 16px;
}
.social-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; border: 1.5px solid var(--border);
  color: var(--mid); transition: all var(--trans);
}
.social-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.social-btn:hover { border-color: var(--c); color: var(--c); }

/* ── Galerie photos ── */
.gallery { margin: 0 16px 16px; }
.gallery-title {
  font-size: 15px; font-weight: 700; color: var(--dk);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden; border-radius: 6px;
  position: relative; cursor: pointer;
  background: var(--light);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.gallery-item:active img { transform: scale(1.05); }
.gallery-more {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 800;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.95);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 100%; width: 100%; }
.lightbox img {
  max-height: 80vh; width: 100%;
  object-fit: contain; border-radius: 8px;
}
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 20px; line-height: 36px; text-align: center; cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 42px; height: 42px; border-radius: 50%;
  font-size: 22px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
.lightbox-prev { left: -6px; }
.lightbox-next { right: -6px; }
.lightbox-counter {
  text-align: center; color: rgba(255,255,255,.5);
  font-size: 12px; margin-top: 10px;
}

/* ── Reviews ── */
.reviews { padding: 0 16px 16px; }
.reviews-head { font-size: 16px; font-weight: 700; color: var(--dk); margin-bottom: 12px; }
.review-card {
  background: var(--light);
  border-radius: var(--r); padding: 13px;
  margin-bottom: 10px; border: 1px solid var(--border);
}
.review-stars { color: #F59E0B; font-size: 14px; margin-bottom: 5px; }
.review-body  { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 6px; }
.review-meta  { font-size: 11px; color: var(--muted); }

/* ── Pills / Tags ── */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 16px; }
.tag-pill {
  background: var(--light); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; color: var(--mid); font-weight: 500;
  text-decoration: none;
  transition: all var(--trans);
}
.tag-pill:hover { background: var(--c-bg); border-color: var(--c); color: var(--c); }

/* ── Archive header ── */
.archive-hero {
  background: var(--dk); padding: 28px 16px 24px;
  position: relative; overflow: hidden;
}
.archive-hero h1 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 5px; }
.archive-hero p  { font-size: 13px; color: #9CA3AF; }
.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 12px; color: #6B7280;
  margin-bottom: 10px;
}
.breadcrumb a { color: #9CA3AF; }
.breadcrumb a:hover { color: #fff; }

/* ── Filter bar ── */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none; padding: 8px 12px;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; padding: 7px 14px;
  border: 1.5px solid var(--border); border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--white); margin-right: 7px;
  transition: all var(--trans); cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center;
  white-space: nowrap;
}
a.filter-btn:hover { border-color: var(--c); color: var(--c); }
.filter-btn.active { background: var(--c); border-color: var(--c); color: #fff; }

/* ── Pagination ── */
.pagination {
  display: flex; gap: 6px; justify-content: center;
  padding: 24px 16px;
}
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: 14px; color: var(--dk); font-weight: 500;
  text-decoration: none; transition: all var(--trans);
}
.page-btn.active, .page-btn:hover {
  background: var(--c); border-color: var(--c); color: #fff;
}

/* ── Auth pages ── */
.auth-wrap {
  min-height: calc(100vh - 120px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px 20px;
}
.auth-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 28px 22px; width: 100%; max-width: 400px;
  box-shadow: var(--shadow-md);
}
.auth-title { font-size: 22px; font-weight: 800; color: var(--dk); margin-bottom: 6px; }
.auth-sub   { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--mid); margin-bottom: 5px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  font-size: 15px; font-family: var(--arm);
  color: var(--dk); background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--r);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c); box-shadow: 0 0 0 3px var(--c-bg);
}
.form-textarea { height: 120px; resize: vertical; }
.form-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
.form-error { font-size: 11px; color: var(--c); margin-top: 4px; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 22px; border-radius: var(--r);
  font-size: 15px; font-weight: 700; font-family: var(--arm);
  border: none; cursor: pointer; text-decoration: none;
  transition: opacity var(--trans);
}
.btn:active { opacity: .85; }
.btn-full   { width: 100%; }
.btn-primary   { background: var(--c);    color: #fff; }
.btn-secondary { background: var(--light); color: var(--dk); border: 1.5px solid var(--border); }
.btn-danger    { background: #EF4444;    color: #fff; }
.btn-sm        { padding: 8px 14px; font-size: 13px; }

/* ── Flash messages ── */
.flash { padding: 12px 16px; font-size: 14px; font-weight: 500; }
.flash-success { background: #ECFDF5; color: #065F46; border-left: 4px solid #10B981; }
.flash-error   { background: #FEF2F2; color: #991B1B; border-left: 4px solid #EF4444; }
.flash-info    { background: #EFF6FF; color: #1E3A8A; border-left: 4px solid #3B82F6; }

/* ── Admin ── */
.admin-wrap { padding: 0 16px 24px; }
.admin-header {
  background: var(--dk); padding: 20px 16px;
  display: flex; align-items: center; gap: 12px;
}
.admin-header h1 { font-size: 18px; font-weight: 700; color: #fff; }
.admin-header p  { font-size: 12px; color: #9CA3AF; }
.admin-logo { font-size: 13px; font-weight: 700; color: var(--c); }

.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin: 16px 0;
}
.stat-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); padding: 16px;
}
.stat-num { font-size: 28px; font-weight: 800; color: var(--dk); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-card.accent { background: var(--c); border-color: var(--c); }
.stat-card.accent .stat-num,
.stat-card.accent .stat-label { color: #fff; }

.admin-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); }
.admin-table th {
  padding: 11px 14px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--muted); background: var(--light);
  text-align: left; border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 11px 14px; font-size: 13px;
  color: var(--mid); border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border: none; }
.admin-table tr:hover td { background: #FAFAF9; }

.badge {
  display: inline-block; padding: 3px 9px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
}
.badge-published { background: #D1FAE5; color: #065F46; }
.badge-pending   { background: #FEF3C7; color: #92400E; }
.badge-draft     { background: var(--light); color: var(--muted); }
.badge-rejected  { background: #FEE2E2; color: #991B1B; }

/* Menu admin latéral (tablette+) */
.admin-layout {
  display: flex; min-height: calc(100vh - 54px);
}
.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--dk); padding: 20px 0;
}
.admin-sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; font-size: 14px; font-weight: 500;
  color: #9CA3AF; text-decoration: none;
  transition: all var(--trans);
}
.admin-sidebar-item:hover, .admin-sidebar-item.active {
  background: rgba(255,255,255,.06); color: #fff;
}
.admin-sidebar-item.active { border-left: 3px solid var(--c); color: var(--c); }
.admin-sidebar-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.admin-content { flex: 1; overflow-x: hidden; }

/* ── Bottom Navigation ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  height: 60px;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; height: 100%; cursor: pointer;
  text-decoration: none; color: var(--muted);
  font-size: 10px; font-weight: 500;
  transition: color var(--trans);
}
.bottom-nav-item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.bottom-nav-item.active { color: var(--c); }
.bottom-nav-item.active svg { stroke: var(--c); }

/* Bouton central add */
.bottom-nav-add {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c); border: 3px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  margin-top: -16px;
}
.bottom-nav-add svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* ── Footer ── */
.footer {
  background: var(--dk); padding: 32px 16px 16px;
}
.footer-logo { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-logo em { color: var(--c); font-style: normal; }
.footer-desc { font-size: 13px; color: #6B7280; margin-bottom: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.footer-links a {
  font-size: 12px; color: #6B7280; padding: 5px 10px;
  border: 1px solid #374151; border-radius: 6px;
  transition: color var(--trans);
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #4B5563; border-top: 1px solid #1F2937; padding-top: 14px; }

/* ── Skeleton loading ── */
.skeleton {
  background: linear-gradient(90deg, var(--light) 25%, var(--border) 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Fade animations ── */
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Spinner ── */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--c);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 24px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty state ── */
.empty {
  text-align: center; padding: 48px 24px;
  color: var(--muted);
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-title { font-size: 17px; font-weight: 700; color: var(--dk); margin-bottom: 6px; }
.empty-sub { font-size: 14px; }

/* ══════════════════════════════════
   TABLETTE & DESKTOP (≥ 640px)
══════════════════════════════════ */
@media (min-width: 640px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .place-list { max-width: 640px; margin: 0 auto; }
  .place-grid { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
  .feat-card { width: 260px; }
  .hero h1 { font-size: 32px; }
  .place-title { font-size: 26px; }
  .admin-sidebar { display: block; }
}

@media (min-width: 960px) {
  .place-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Connexion Google ── */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0; color: var(--muted); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff;
  font-size: 14px; font-weight: 600; color: #374151;
  text-decoration: none; transition: all var(--trans);
}
.btn-google:hover { background: var(--light); border-color: #d1d5db; }

/* ═══════════════ MARKETPLACE ═══════════════ */
.page{max-width:1180px;margin:0 auto;padding:18px 16px 40px}
.page-narrow{max-width:620px}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.page-title{font-size:22px;font-weight:800;color:var(--dk);margin-bottom:16px}
.section-title{font-size:16px;font-weight:700;color:var(--dk);margin:22px 0 12px}
.card{background:#fff;border-radius:14px;border:1px solid var(--border);padding:18px;margin-bottom:14px}
.card-title{font-size:15px;font-weight:700;color:var(--dk);margin-bottom:4px}
.card-sub{font-size:12.5px;color:var(--muted);margin-bottom:14px;line-height:1.5}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.btn-lg{padding:14px;font-size:16px}
.btn-ghost{background:transparent;border:1.5px solid var(--border);color:var(--muted)}
.btn-boost{background:#FEF3C7;border:1.5px solid #FCD34D;color:#92400E;cursor:pointer}

/* Header marketplace */
.logo{display:flex;align-items:center;gap:8px;text-decoration:none}
.logo-mark{font-size:22px}
.logo-text{font-weight:800;font-size:18px;color:var(--dk)}
.head-search{flex:1;max-width:460px;display:flex;align-items:center;gap:8px;
  background:var(--light);border-radius:22px;padding:8px 14px;margin:0 16px}
.head-search svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}
.head-search input{border:none;background:none;outline:none;width:100%;font-size:14px;font-family:inherit}
.head-nav{display:flex;align-items:center;gap:4px}
.nav-avatar{width:26px;height:26px;border-radius:50%;object-fit:cover}
.topbar-tag{color:#9CA3AF}
@media(max-width:820px){.head-search{display:none}}

/* Attributs dynamiques */
.attr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.attr-inline{display:flex;align-items:center;gap:7px}
.attr-inline .form-input{flex:1;min-width:0}
.attr-unit{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap}
.attr-sep{color:var(--muted)}
.attr-multi{display:flex;flex-wrap:wrap;gap:7px}
.attr-check{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;cursor:pointer;
  padding:7px 11px;background:var(--light);border-radius:9px}
.attr-check input{accent-color:var(--c);width:15px;height:15px}

/* Recherche */
.search-layout{max-width:1240px;margin:0 auto;padding:16px;display:grid;grid-template-columns:262px 1fr;gap:20px;align-items:start}
.filters{background:#fff;border-radius:14px;border:1px solid var(--border);padding:16px;position:sticky;top:74px}
.filters-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.filters-head h2{font-size:15px;font-weight:700}
.filters-reset{font-size:12px;color:var(--c)}
.filter-group{padding:12px 0;border-top:1px solid var(--border)}
.filter-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);margin-bottom:8px}
.filter-dyn-head{font-size:12px;font-weight:700;color:var(--c);margin-top:14px;padding-top:12px;border-top:2px solid var(--c-bg)}
.cat-link{display:block;padding:6px 10px;border-radius:8px;font-size:13.5px;color:var(--dk);text-decoration:none}
.cat-link:hover{background:var(--light)}
.cat-link.on{background:var(--c);color:#fff;font-weight:600}
.filters-toggle{display:none}
.results-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.results-title{font-size:21px;font-weight:800;color:var(--dk)}
.results-count{font-size:13px;color:var(--muted);margin-top:3px}
.results-tools{display:flex;gap:8px;align-items:center}
.sort-select{width:auto;padding:7px 11px;font-size:13px}
@media(max-width:900px){
  .search-layout{grid-template-columns:1fr}
  .filters{display:none;position:static}
  .filters.open{display:block}
  .filters-toggle{display:inline-flex}
}

/* Grille et cartes d'annonces */
.ad-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(216px,1fr));gap:14px}
.ad-card{background:#fff;border-radius:12px;border:1px solid var(--border);overflow:hidden;
  transition:box-shadow .18s,transform .18s;display:flex;flex-direction:column}
.ad-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.09);transform:translateY(-2px)}
.ad-boosted{border-color:#FCD34D;box-shadow:0 0 0 1px #FCD34D inset}
.ad-media{display:block;position:relative;aspect-ratio:4/3;background:var(--light);
  display:flex;align-items:center;justify-content:center}
.ad-media img{width:100%;height:100%;object-fit:cover}
.ad-noimg{font-size:34px;opacity:.35}
.badge-boost{position:absolute;top:7px;left:7px;background:#FEF3C7;color:#92400E;
  font-size:11px;padding:2px 7px;border-radius:20px;font-weight:700}
.ad-body{padding:11px;display:flex;flex-direction:column;gap:5px;flex:1}
.ad-cat{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.3px}
.ad-title{font-size:14px;font-weight:600;line-height:1.35}
.ad-title a{color:var(--dk);text-decoration:none}
.ad-title a:hover{color:var(--c)}
.ad-meta{display:flex;gap:8px;font-size:12px;color:var(--muted);margin-top:auto}
.ad-price{font-size:15px;color:var(--dk)}
.ad-price small{font-size:11px;color:var(--muted);font-weight:400}
.ad-price em{font-size:13px;color:var(--muted);font-style:normal}
.badge-verified{color:#16A34A}

/* Fiche annonce */
.ad-layout{display:grid;grid-template-columns:1fr 330px;gap:22px;align-items:start}
.ad-h1{font-size:25px;font-weight:800;color:var(--dk);margin:6px 0 8px;line-height:1.25}
.ad-subline{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:16px}
.breadcrumb{font-size:12.5px;color:var(--muted);margin-bottom:6px}
.breadcrumb a{color:var(--muted)}
.boost-flag{display:inline-block;background:#FEF3C7;color:#92400E;font-size:12px;
  font-weight:700;padding:4px 11px;border-radius:20px}
.gallery{margin-bottom:16px}
.gallery-main{border-radius:14px;overflow:hidden;background:var(--light);aspect-ratio:16/10}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.gallery-thumbs{display:flex;gap:7px;margin-top:8px;overflow-x:auto}
.gal-thumb{width:70px;height:54px;border-radius:8px;overflow:hidden;border:2px solid transparent;
  padding:0;background:none;cursor:pointer;flex-shrink:0}
.gal-thumb.on{border-color:var(--c)}
.gal-thumb img{width:100%;height:100%;object-fit:cover}
.ad-desc{font-size:14.5px;line-height:1.7;color:#374151}
.spec-list{display:flex;flex-direction:column}
.spec-row{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--border)}
.spec-row:last-child{border-bottom:none}
.spec-row dt{font-size:13px;color:var(--muted)}
.spec-row dd{font-size:13.5px;font-weight:600;color:var(--dk);text-align:right}
.ad-side{position:sticky;top:74px}
.price-card{text-align:center;padding:20px}
.price-big strong{font-size:27px;font-weight:800;color:var(--c);display:block}
.price-big small{font-size:12px;color:var(--muted);display:block}
.price-big em{font-size:17px;color:var(--muted);font-style:normal}
.seller-head{display:flex;gap:11px;align-items:center;margin-bottom:14px}
.seller-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;flex-shrink:0}
.seller-initial{background:var(--c);color:#fff;display:flex;align-items:center;
  justify-content:center;font-size:19px;font-weight:700}
.seller-name{font-weight:700;font-size:15px;color:var(--dk)}
.seller-link{font-size:12.5px;color:var(--c)}
.contact-buttons{display:flex;flex-direction:column;gap:7px}
.safety-note{background:#F0F9FF;border:1px solid #BAE6FD;border-radius:10px;padding:11px;
  font-size:12px;color:#075985;line-height:1.55}
@media(max-width:900px){.ad-layout{grid-template-columns:1fr}.ad-side{position:static}}

/* Espace annonceur */
.stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:11px;margin-bottom:18px}
.stat-card{background:#fff;border-radius:12px;border:1px solid var(--border);padding:15px;
  text-align:center;text-decoration:none;display:block}
.stat-card b{display:block;font-size:23px;font-weight:800;color:var(--c)}
.stat-card span{font-size:11.5px;color:var(--muted)}
.menu-list{background:#fff;border-radius:12px;border:1px solid var(--border);overflow:hidden}
.menu-item{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;
  border-bottom:1px solid var(--border);color:var(--dk);text-decoration:none;font-size:14.5px}
.menu-item:last-child{border-bottom:none}
.menu-item:hover{background:var(--light)}
.menu-out{color:#DC2626}
.verify-cta{background:#F0FDF4;border:1px solid #BBF7D0;border-radius:12px;padding:15px;
  display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}
.verify-cta p{font-size:12.5px;color:#166534;margin-top:3px}
.badge-verified-lg{display:inline-block;background:#DCFCE7;color:#166534;font-size:12px;
  font-weight:700;padding:3px 10px;border-radius:20px;vertical-align:middle}
.my-ad{background:#fff;border-radius:12px;border:1px solid var(--border);padding:12px;
  display:flex;gap:13px;margin-bottom:11px}
.my-ad-img{width:104px;height:78px;border-radius:9px;overflow:hidden;background:var(--light);
  flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:26px}
.my-ad-img img{width:100%;height:100%;object-fit:cover}
.my-ad-body{flex:1;min-width:0}
.my-ad-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:5px}
.my-ad-top h3{font-size:15px;font-weight:600}
.my-ad-top a{color:var(--dk);text-decoration:none}
.st{font-size:11px;font-weight:700;padding:2px 9px;border-radius:20px}
.st-ok{background:#DCFCE7;color:#166534}
.st-wait{background:#FEF3C7;color:#92400E}
.st-off{background:var(--light);color:var(--muted)}
.st-bad{background:#FEE2E2;color:#991B1B}
.st-boost{background:#FEF3C7;color:#92400E}
.my-ad-meta{display:flex;gap:11px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);margin-bottom:6px}
.my-ad-stats{display:flex;gap:13px;font-size:12px;color:var(--muted);margin-bottom:8px}
.stat-week{color:#16A34A;font-weight:600}
.my-ad-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.boost-box{position:relative}
.boost-box summary{list-style:none;display:inline-flex;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600}
.boost-box summary::-webkit-details-marker{display:none}
.boost-plans{position:absolute;z-index:60;top:calc(100% + 6px);left:0;background:#fff;
  border:1px solid var(--border);border-radius:11px;box-shadow:0 8px 26px rgba(0,0,0,.13);padding:7px;min-width:236px}
.boost-plan{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;
  padding:9px 11px;border:none;background:none;border-radius:8px;cursor:pointer;font-family:inherit;text-align:left}
.boost-plan:hover{background:var(--light)}
.bp-name{font-size:13px;font-weight:600;color:var(--dk);flex:1}
.bp-price{font-size:13px;font-weight:700;color:var(--c)}
.bp-dur{font-size:11px;color:var(--muted)}
@media(max-width:600px){.my-ad{flex-direction:column}.my-ad-img{width:100%;height:150px}}

/* Profil public */
.pro-header{display:flex;gap:18px;align-items:flex-start}
.pro-avatar{width:82px;height:82px;border-radius:50%;object-fit:cover;flex-shrink:0}
.pro-initial{background:var(--c);color:#fff;display:flex;align-items:center;
  justify-content:center;font-size:33px;font-weight:700}
.pro-info h1{font-size:21px;font-weight:800;color:var(--dk);margin-bottom:5px}
.pro-loc,.pro-since{font-size:13px;color:var(--muted)}
.pro-bio{font-size:14px;line-height:1.65;color:#374151;margin-top:10px}
.avatar-preview{width:64px;height:64px;border-radius:50%;object-fit:cover;margin-bottom:9px;display:block}
.verify-state{border-radius:11px;padding:15px;font-size:14px;margin-bottom:14px}
.verify-state.ok{background:#F0FDF4;border:1px solid #BBF7D0;color:#166534}
.verify-state.wait{background:#FFFBEB;border:1px solid #FDE68A;color:#92400E}
.verify-state.bad{background:#FEF2F2;border:1px solid #FECACA;color:#991B1B}
.privacy-note{background:#F0F9FF;border:1px solid #BAE6FD;border-radius:9px;padding:11px;
  font-size:12.5px;color:#075985;margin:12px 0;line-height:1.55}

/* Divers */
.notice-mod{background:#EFF6FF;border:1px solid #BFDBFE;border-radius:10px;padding:13px;
  font-size:13px;color:#1E40AF;margin-bottom:14px}
.boosted-strip{margin-bottom:20px}
.boosted-label{font-size:12px;font-weight:700;color:#92400E;margin-bottom:9px}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;margin-bottom:14px}
.photo-item{position:relative;aspect-ratio:1;border-radius:9px;overflow:hidden}
.photo-item img{width:100%;height:100%;object-fit:cover}
.photo-del{position:absolute;top:3px;right:3px;width:23px;height:23px;border:none;border-radius:50%;
  background:rgba(239,68,68,.92);color:#fff;cursor:pointer;font-size:11px}
.pagination{display:flex;gap:5px;justify-content:center;margin-top:24px;flex-wrap:wrap}
.page-link{padding:7px 13px;border-radius:8px;border:1px solid var(--border);
  font-size:13.5px;color:var(--dk);text-decoration:none}
.page-link.on{background:var(--c);border-color:var(--c);color:#fff;font-weight:600}
.page-gap{padding:7px 4px;color:var(--muted)}
.geo-selects{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:520px){.row-2,.row-3,.geo-selects{grid-template-columns:1fr}}

/* Pied de page */
#footer{background:var(--dk);color:#9CA3AF;padding:28px 16px;margin-top:40px}
.foot-brand{font-size:19px;font-weight:800;color:#fff}
.foot-tag{font-size:13px;margin-bottom:16px}
.foot-cats{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}
.foot-cats a{background:rgba(255,255,255,.08);padding:5px 11px;border-radius:20px;
  font-size:12.5px;color:#D1D5DB;text-decoration:none}
.foot-cats a:hover{background:rgba(255,255,255,.16)}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;
  border-top:1px solid rgba(255,255,255,.1);padding-top:14px;font-size:12px;flex-wrap:wrap;gap:10px}
.foot-langs{display:flex;gap:9px}
.foot-langs a{color:#9CA3AF;text-decoration:none}
.foot-langs a.on{color:#fff;font-weight:700}

/* ═══════════════ MESSAGERIE ═══════════════ */
.nav-msg{position:relative}
.nav-dot{position:absolute;top:-2px;right:-3px;background:#DC2626;color:#fff;font-size:9px;
  font-weight:700;min-width:15px;height:15px;border-radius:9px;display:flex;
  align-items:center;justify-content:center;padding:0 3px}
.thread-list{background:#fff;border-radius:12px;border:1px solid var(--border);overflow:hidden}
.thread-row{display:flex;gap:12px;padding:13px 15px;border-bottom:1px solid var(--border);
  text-decoration:none;color:var(--dk)}
.thread-row:last-child{border-bottom:none}
.thread-row:hover{background:var(--light)}
.thread-row.unread{background:#EFF6FF}
.thread-av{width:42px;height:42px;border-radius:50%;object-fit:cover;flex-shrink:0}
.thread-initial{background:var(--c);color:#fff;display:flex;align-items:center;
  justify-content:center;font-size:17px;font-weight:700}
.thread-body{flex:1;min-width:0}
.thread-top{display:flex;align-items:center;gap:8px}
.thread-top strong{font-size:14.5px}
.thread-top time{margin-left:auto;font-size:11.5px;color:var(--muted)}
.dot{background:var(--c);color:#fff;font-size:10px;font-weight:700;
  min-width:17px;height:17px;border-radius:9px;display:flex;align-items:center;justify-content:center}
.thread-ad{font-size:12px;color:var(--c);margin:2px 0}
.thread-last{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.back-link{font-size:13px;color:var(--muted);display:inline-block;margin-bottom:10px}
.chat-head{display:flex;gap:12px;align-items:center;padding:13px 15px}
.chat-av{width:42px;height:42px;border-radius:50%;object-fit:cover;flex-shrink:0}
.chat-ad{font-size:12.5px;color:var(--c)}
.chat{background:#fff;border-radius:12px;border:1px solid var(--border);padding:15px;
  max-height:58vh;overflow-y:auto;display:flex;flex-direction:column;gap:9px;margin-bottom:11px}
.bubble-row{display:flex}
.bubble-row.me{justify-content:flex-end}
.bubble{max-width:76%;background:var(--light);border-radius:14px;padding:9px 13px;font-size:14px;line-height:1.5}
.bubble-row.me .bubble{background:var(--c);color:#fff}
.bubble time{display:block;font-size:10.5px;opacity:.65;margin-top:4px}
.chat-form{display:flex;gap:9px;align-items:flex-end}
.chat-form .form-textarea{flex:1;resize:none}
.contact-ad{display:flex;gap:12px;align-items:center;padding-bottom:13px;
  border-bottom:1px solid var(--border);margin-bottom:14px}
.contact-thumb{width:56px;height:44px;border-radius:8px;object-fit:cover}
.contact-seller{font-size:12.5px;color:var(--muted)}

/* ═══════════════ MODÉRATION ═══════════════ */
.todo-strip{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}
.todo{background:#FFFBEB;border:1px solid #FDE68A;border-radius:10px;padding:10px 14px;
  font-size:13px;color:#92400E;text-decoration:none}
.todo b{font-size:16px;font-weight:800}
.tabs{display:flex;gap:5px;margin-bottom:14px;overflow-x:auto;padding-bottom:3px}
.tab{padding:8px 14px;border-radius:20px;background:#fff;border:1px solid var(--border);
  font-size:13px;color:var(--dk);text-decoration:none;white-space:nowrap}
.tab.on{background:var(--c);border-color:var(--c);color:#fff;font-weight:600}
.tab span{opacity:.65;font-size:11.5px;margin-left:3px}
.mod-row{background:#fff;border-radius:12px;border:1px solid var(--border);padding:13px;
  display:flex;gap:13px;margin-bottom:10px;align-items:flex-start}
.mod-img{width:92px;height:70px;border-radius:9px;overflow:hidden;background:var(--light);
  flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:24px}
.mod-img img{width:100%;height:100%;object-fit:cover}
.mod-body{flex:1;min-width:0}
.mod-body h3{font-size:15px;font-weight:600;margin-bottom:4px}
.mod-body h3 a{color:var(--dk);text-decoration:none}
.mod-meta{display:flex;gap:11px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.mod-desc{font-size:12.5px;color:var(--muted);margin-top:6px;line-height:1.5}
.mod-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:flex-start}
.verif-card{padding:15px}
.verif-head{display:flex;flex-direction:column;margin-bottom:11px}
.verif-head small{font-size:12px;color:var(--muted)}
.verif-doc{display:block;position:relative;border-radius:10px;overflow:hidden;
  max-height:260px;background:var(--light);margin-bottom:12px}
.verif-doc img{width:100%;max-height:260px;object-fit:contain}
.verif-doc span{position:absolute;bottom:7px;right:7px;background:rgba(0,0,0,.7);
  color:#fff;font-size:11px;padding:3px 9px;border-radius:20px}
.verif-actions{display:flex;gap:9px;align-items:flex-start;flex-wrap:wrap}
.verif-reject{display:flex;gap:6px;flex:1;min-width:230px}
.verif-reject .form-input{flex:1;padding:6px 10px;font-size:12.5px}
.boost-confirm{display:flex;gap:6px}
.boost-confirm .form-input{width:150px;padding:6px 10px;font-size:12.5px}
@media(max-width:700px){.mod-row{flex-wrap:wrap}.mod-actions{width:100%}}

/* ═══════════════ AVIS ═══════════════ */
.stars{color:#F59E0B;letter-spacing:1px;font-size:14px}
.stars-num{font-size:13px;color:var(--muted);font-weight:600}
.stars-num small{font-weight:400}
.ad-rating{margin:4px 0 8px;display:flex;align-items:center;gap:8px}
.rating-link{font-size:12px;color:var(--c)}
.rating-inline{margin-left:8px;font-weight:400}
.card-rating{font-size:12px;color:#B45309;font-weight:600}
.card-rating small{color:var(--muted);font-weight:400}
.pro-rating{margin:5px 0}
.review-form{background:var(--light);border-radius:11px;padding:14px;margin-bottom:16px}
.star-pick{display:inline-flex;flex-direction:row-reverse;gap:3px}
.star-pick input{position:absolute;opacity:0;width:0;height:0}
.star-pick label{font-size:27px;color:#D1D5DB;cursor:pointer;line-height:1;transition:color .12s}
.star-pick input:checked ~ label,
.star-pick label:hover,
.star-pick label:hover ~ label{color:#F59E0B}
.star-pick input:focus-visible + label{outline:2px solid var(--c);border-radius:4px}
.review-list{display:flex;flex-direction:column;gap:14px}
.review{border-top:1px solid var(--border);padding-top:13px}
.review:first-child{border-top:none;padding-top:0}
.review-top{display:flex;align-items:center;gap:10px}
.review-av{width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0}
.review-initial{background:var(--c);color:#fff;display:flex;align-items:center;
  justify-content:center;font-size:14px;font-weight:700}
.review-top strong{font-size:13.5px;display:block}
.review-top time{margin-left:auto;font-size:11.5px;color:var(--muted)}
.review-text{font-size:13.5px;line-height:1.6;color:#374151;margin-top:8px}
.review-mod{padding:15px}
.review-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}
.review-head small{font-size:11.5px;color:var(--muted)}
.review-ad{font-size:12.5px;color:var(--c);margin-bottom:7px}

/* ═══════════════ MEMBRES ═══════════════ */
.user-search{display:flex;gap:8px;margin-bottom:14px}
.user-search .form-input{max-width:300px}
.user-av{width:44px;height:44px;border-radius:50%;overflow:hidden;flex-shrink:0;
  background:var(--c);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:700}
.user-av img{width:100%;height:100%;object-fit:cover}
.row-banned{opacity:.6;background:#FEF2F2}
.ban-reason{font-style:italic;color:#991B1B}
.role-form,.ban-form{display:flex;gap:5px;align-items:center}
.ban-form .form-input{width:120px;padding:5px 9px;font-size:12px}
.self-tag{font-size:11px;color:var(--muted);background:var(--light);padding:3px 9px;border-radius:20px}

/* ═══════════════ AUTHENTIFICATION ═══════════════ */
.auth-wrap{max-width:420px;margin:0 auto;padding:34px 16px 50px}
.auth-card{background:#fff;border-radius:14px;border:1px solid var(--border);padding:26px}
.auth-title{font-size:22px;font-weight:800;color:var(--dk);margin-bottom:4px}
.auth-sub{font-size:13px;color:var(--muted);margin-bottom:20px}
.auth-foot{text-align:center;margin-top:18px;font-size:13.5px;color:var(--muted)}
.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--muted);font-size:12px}
.auth-divider::before,.auth-divider::after{content:'';flex:1;height:1px;background:var(--border)}
.btn-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
  padding:12px;border-radius:10px;border:1.5px solid var(--border);background:#fff;
  font-size:14px;font-weight:600;color:#374151;text-decoration:none}
.btn-google:hover{background:var(--light);border-color:#d1d5db}
