/* ============================================================
   RemplaSanté.fr — Feuille de style principale — Thème sombre
   Police : Plus Jakarta Sans
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:        #4fc3a1;
  --accent-dark:   #3aab8a;
  --accent-light:  rgba(79,195,161,0.12);
  --blue:          #57a0dd;
  --blue-light:    rgba(87,160,221,0.12);
  --green:         #4fc3a1;
  --green-light:   rgba(79,195,161,0.12);
  --text:          #e8e8e8;
  --text-muted:    #888888;
  --border:        #2a2a2a;
  --border-hover:  #3a3a3a;
  --bg:            #0f0f0f;
  --bg-card:       #161616;
  --bg-surface:    #111111;
  --white:         #1a1a1a;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.4);
  --shadow-md:     0 4px 16px rgba(0,0,0,.5);
  --radius:        10px;
  --radius-sm:     6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-icon { font-size: 22px; }

.header-search {
  flex: 1;
  display: flex;
  gap: 0;
  max-width: 480px;
}
.header-search input {
  flex: 1;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  background: var(--bg-card);
  color: var(--text);
}
.header-search input::placeholder { color: #555; }
.header-search input:focus { border-color: var(--accent); }
.header-search button {
  padding: 8px 16px;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.header-search button:hover { background: var(--accent-dark); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  position: relative;
  transition: color .15s;
}
.nav-link:hover { color: var(--accent); }
.nav-link.has-badge { color: var(--accent); }
.badge-count {
  background: var(--accent);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 6px;
  margin-left: 3px;
}

/* Dropdown — ouverture gérée par JS (clic) */
.dropdown { position: relative; }
.dropdown-menu {
  display: none; /* JS contrôle l'affichage */
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  z-index: 200;
  overflow: hidden;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
}
.dropdown-menu a:hover { background: var(--bg-card); color: var(--accent); }
.dropdown-menu hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* Barre catégories — responsive */
.cat-bar {
  border-top: 1px solid var(--border);
  background: #0a0a0a;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 6px 12px;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .15s;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.cat-link-text { display: inline; }
.cat-link:hover, .cat-link.active {
  background: var(--accent-light);
  color: var(--accent);
}
@media (max-width: 600px) {
  .cat-link { font-size: 12px; padding: 4px 8px; }
  .cat-link-text { display: none; } /* Sur mobile : icône seule */
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 12px 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu hr { border: none; border-top: 1px solid var(--border); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all .15s;
  text-decoration: none;
}
.btn-primary   { background: var(--accent); color: #0a0a0a; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger    { background: rgba(153,27,27,0.2); color: #f87171; }
.btn-danger:hover { background: rgba(153,27,27,0.3); }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}
.badge-green { background: var(--green-light); color: var(--green); }
.badge-blue  { background: var(--blue-light);  color: var(--blue); }
.badge-red   { background: rgba(220,38,38,0.15); color: #f87171; }
.badge-gray  { background: #222; color: #aaa; }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
  padding: 12px 20px;
  margin: 12px 0;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
}
.flash-success { background: rgba(79,195,161,0.1); color: #4fc3a1; border-left: 4px solid var(--accent); }
.flash-error   { background: rgba(220,38,38,0.1); color: #f87171; border-left: 4px solid #ef4444; }
.flash-info    { background: rgba(87,160,221,0.1); color: var(--blue); border-left: 4px solid var(--blue); }

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-card);
  outline: none;
  transition: border-color .15s;
}
.form-control:focus { border-color: var(--accent); }
.form-control::placeholder { color: #555; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 12px; color: #f87171; margin-top: 4px; }

/* ============================================================
   CARDS ANNONCES
   ============================================================ */
.annonces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 20px 0;
}

.annonce-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.annonce-card:hover {
  box-shadow: 0 4px 20px rgba(79,195,161,0.12);
  transform: translateY(-2px);
  border-color: #3a3a3a;
}

.annonce-card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: #222;
  overflow: hidden;
}
.annonce-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.annonce-card:hover .annonce-card-img img { transform: scale(1.03); }
.annonce-card-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #444;
}

.annonce-card-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,.6);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.annonce-card-fav:hover { background: rgba(0,0,0,.8); }

.annonce-card-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.annonce-card-prix {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.annonce-card-titre {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.annonce-card-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   PAGE ANNONCE (détail)
   ============================================================ */
.annonce-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding: 24px 0;
}

.annonce-gallery {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-main {
  aspect-ratio: 4/3;
  background: #222;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.annonce-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}
.annonce-prix-big {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.annonce-titre-big {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #fff;
}
.annonce-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.annonce-desc h3 { font-size: 15px; margin-bottom: 8px; color: #ccc; }
.annonce-desc p  { font-size: 14px; white-space: pre-line; color: #aaa; line-height: 1.7; }

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: #ccc; }

/* ============================================================
   PAGE LISTE
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 20px 0 40px;
}

.filters-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  height: fit-content;
  position: sticky;
  top: 120px;
}
.filters-sidebar h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.filters-sidebar .form-group { margin-bottom: 14px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 20px 0;
}
.pagination a, .pagination span {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.pagination a:hover { background: var(--bg-card); border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }

/* ============================================================
   PAGE ACCUEIL — HERO 2 COLONNES
   ============================================================ */
.hero {
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  color: #fff;
  padding: 36px 0 32px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}

.hero-left { display: flex; flex-direction: column; gap: 0; }

.hero h1 { font-size: 28px; font-weight: 700; margin-bottom: 10px; color: #fff; line-height: 1.25; white-space: nowrap; }
.hero h1 span { color: var(--accent); }
.hero p   { font-size: 15px; color: #666; margin-bottom: 20px; line-height: 1.6; }

.hero-search {
  display: flex;
  gap: 0;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.hero-search select {
  background: transparent;
  border: none;
  border-right: 1px solid #2a2a2a;
  color: #aaa;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  max-width: 160px;
}
.hero-search select option { background: #222; }
.hero-search input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: #e8e8e8;
}
.hero-search input::placeholder { color: #555; }
.hero-search button {
  padding: 10px 18px;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
}
.hero-search button:hover { background: var(--accent-dark); }

.hero-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-pill {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  border: 1px solid #2a2a2a;
  color: #777;
  cursor: pointer;
  transition: all .2s;
  background: transparent;
  text-decoration: none;
  display: inline-block;
}
.hero-pill:hover, .hero-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,195,161,0.08);
}

/* Stats dans le hero */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num   { font-size: 20px; font-weight: 600; color: var(--accent); line-height: 1; }
.hero-stat-label { font-size: 11px; color: #555; margin-top: 2px; }
.hero-stat-sep   { width: 1px; height: 32px; background: #2a2a2a; }

/* ============================================================
   CARTE DE FRANCE — dans le hero
   ============================================================ */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map-label {
  font-size: 11px;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}
.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
}
.map-tooltip {
  position: absolute;
  background: #1a1a1a;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: #e8e8e8;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  white-space: nowrap;
  z-index: 10;
}
.map-tooltip strong { color: var(--accent); display: block; margin-bottom: 1px; font-size: 12px; }

/* SVG carte France — vraies régions */
.france-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid #1e3028;
}
.map-region {
  fill: var(--accent);
  stroke: #0a0a0a;
  stroke-width: 2;
  stroke-linejoin: round;
  transition: fill .15s;
  cursor: pointer;
  opacity: 0.7;
}
.map-region:hover { fill: #fff; opacity: 1; stroke: #0a0a0a; }
.map-region.has-ads { fill: var(--accent); opacity: 1; }
.map-region.has-ads:hover { fill: #fff; opacity: 1; }

/* ============================================================
   CATÉGORIES GRID
   ============================================================ */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 24px 0;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  transition: all .15s;
}
.cat-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(79,195,161,0.1); transform: translateY(-1px); }
.cat-card .cat-icon { font-size: 32px; margin-bottom: 8px; }
.cat-card .cat-name { font-size: 13px; font-weight: 600; color: #ccc; }
.cat-card .cat-count { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #e8e8e8;
}
.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Bannière CTA */
.cta-banner {
  background: linear-gradient(135deg, #0d2b23 0%, #0a1f1a 100%);
  border: 1px solid #1e4a3a;
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin: 32px 0;
}
.cta-banner h2 { font-size: 22px; margin-bottom: 8px; color: #fff; }
.cta-banner p  { margin-bottom: 20px; opacity: .8; color: #aaa; }

/* Emplacements publicitaires */
.pub-slot {
  background: #111;
  border: 1px dashed #2a2a2a;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: 90px;
  margin: 16px 0;
  cursor: pointer;
  transition: border-color .2s;
}
.pub-slot:hover { border-color: #444; color: #555; }
.pub-slot-banner { min-height: 90px; }   /* 728x90 leaderboard */
.pub-slot-carre  { min-height: 250px; }  /* 300x250 medium rectangle */
.pub-slot-side   { min-height: 600px; }  /* 160x600 skyscraper */

/* ============================================================
   PAGE AUTH
   ============================================================ */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.auth-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.auth-box h1 { font-size: 24px; margin-bottom: 6px; color: #fff; }
.auth-box .sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.auth-box .switch { font-size: 14px; text-align: center; margin-top: 20px; color: var(--text-muted); }
.auth-box .switch a { color: var(--accent); font-weight: 600; }

/* ============================================================
   UPLOAD IMAGES
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s;
  background: var(--bg-card);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--accent); background: rgba(79,195,161,0.05); }
.upload-zone p { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.upload-preview {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview-del {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(0,0,0,.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content { min-height: 70vh; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--border);
  color: #555;
  margin-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
}
.footer-col .logo { color: var(--accent); font-size: 16px; display: block; margin-bottom: 10px; }
.footer-col p  { font-size: 13px; line-height: 1.6; color: #555; }
.footer-col strong { color: #888; font-size: 14px; display: block; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-size: 13px; color: #555; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding: 16px 0;
  font-size: 13px;
  text-align: center;
  color: #444;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 0;
}
.admin-nav {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  height: fit-content;
}
.admin-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.admin-nav a:hover, .admin-nav a.active { background: var(--accent-light); color: var(--accent); }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.stat-card .number { font-size: 28px; font-weight: 700; color: var(--accent); }
.stat-card .label  { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Table */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  background: var(--bg-card);
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-card); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .header-search { display: none; }
  .header-nav    { display: none; }
  .menu-toggle   { display: block; }
  .hero-layout   { grid-template-columns: 1fr; }
  .hero-right    { order: -1; }
  .map-wrapper   { max-width: 260px; }
  .annonce-detail { grid-template-columns: 1fr; }
  .page-layout    { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .admin-layout   { grid-template-columns: 1fr; }
  .admin-stats    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 24px; }
  .hero-search { flex-direction: column; border-radius: var(--radius-sm); }
  .hero-search select { border-right: none; border-bottom: 1px solid #2a2a2a; }
  .hero-search input, .hero-search button { border-radius: 0; }
  .annonces-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-inner  { grid-template-columns: 1fr; }
  .cats-grid     { grid-template-columns: repeat(3, 1fr); }
  .stats-home    { gap: 8px; }
}
