/* ============================================================
   AnnoncesKDO — Shared Design System
   ============================================================ */

/* ── Typographie style Dubizzle : Inter + Syne pour les titres ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  --orange:       #F4620A;
  --orange-light: #FF8C42;
  --orange-pale:  rgba(244,98,10,0.08);
  --green:        #1A7A4A;
  --green-light:  #2DB36E;
  --cream:        #F9F4EE;
  --sand:         #EDE0CF;
  --sand-dark:    #DFD0BB;
  --ink:          #1A1210;
  --ink-80:       rgba(26,18,16,0.80);
  --ink-50:       rgba(26,18,16,0.50);
  --muted:        #7A6A5E;
  --white:        #FFFFFF;
  --border:       rgba(26,18,16,0.10);
  --border-strong:rgba(26,18,16,0.20);
  --shadow-sm:    0 2px 12px rgba(26,18,16,0.06);
  --shadow-md:    0 8px 32px rgba(26,18,16,0.10);
  --shadow-lg:    0 20px 60px rgba(26,18,16,0.12);
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-pill:  100px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ===== GRAIN OVERLAY ===== */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 68px;
  background: rgba(249,244,238,0.90);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.04em; color: var(--ink);
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex; gap: 0.25rem; align-items: center;
}
.nav-links a {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--sand); color: var(--ink);
}
.nav-actions { display: flex; gap: 0.6rem; align-items: center; }
.nav-notif {
  position: relative; width: 38px; height: 38px;
  background: var(--sand); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.nav-notif:hover { background: var(--sand-dark); }
.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--cream);
}
.nav-avatar {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  border: none; overflow: hidden;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 500;
  cursor: pointer; border: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: white;
  box-shadow: 0 4px 16px rgba(244,98,10,0.28);
}
.btn-primary:hover { background: #D4530A; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(244,98,10,0.36); }
.btn-secondary {
  background: var(--sand); color: var(--ink);
}
.btn-secondary:hover { background: var(--sand-dark); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: #2d1f1c; transform: translateY(-1px); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: #155e39; transform: translateY(-1px); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; border-radius: var(--radius-md); }
.btn-icon {
  width: 38px; height: 38px; padding: 0;
  border-radius: var(--radius-sm);
  justify-content: center;
}

/* ===== FORM ELEMENTS ===== */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0.01em;
}
.form-input, .form-select, .form-textarea {
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244,98,10,0.10);
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-hint { font-size: 0.78rem; color: var(--muted); }
.form-error { font-size: 0.78rem; color: #e53e3e; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-pad { padding: 1.5rem; }

/* ===== LISTING CARD ===== */
.listing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand-dark);
}
.listing-img {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--sand), #d4c4b8);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.listing-img-cover {
  width: 100%; height: 100%;
  object-fit: cover; position: absolute; inset: 0;
}
.listing-badge {
  position: absolute; top: 0.7rem; left: 0.7rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-new  { background: var(--green);  color: white; }
.badge-hot  { background: var(--orange); color: white; }
.badge-promo{ background: var(--ink);    color: white; }
.badge-sold { background: var(--muted);  color: white; }
.listing-fav {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; cursor: pointer;
  transition: transform 0.2s;
  border: none;
}
.listing-fav:hover { transform: scale(1.15); }
.listing-fav.active { background: #ffe4d6; }
.listing-body { padding: 1rem 1.2rem 1.25rem; }
.listing-cat {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted); font-weight: 500;
  margin-bottom: 0.3rem;
}
.listing-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 0.4rem;
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.listing-price {
  font-weight: 600; font-size: 1rem;
  color: var(--orange);
}
.listing-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.6rem; padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}
.listing-meta {
  font-size: 0.75rem; color: var(--muted);
  display: flex; align-items: center; gap: 0.25rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 3rem 5vw 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.04em;
  color: var(--ink);
}
.page-header h1 span { color: var(--orange); }
.breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== SECTION ===== */
.section { padding: 4rem 5vw; position: relative; z-index: 1; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800; letter-spacing: -0.035em; color: var(--ink);
}
.section-title span { color: var(--orange); }
.see-all {
  font-size: 0.875rem; font-weight: 500; color: var(--orange);
  display: flex; align-items: center; gap: 0.3rem;
  transition: gap 0.2s;
}
.see-all:hover { gap: 0.55rem; }

/* ===== PILL TAGS ===== */
.pill {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.8rem;
  background: var(--sand); border-radius: var(--radius-pill);
  font-size: 0.8rem; color: var(--muted);
  cursor: pointer; transition: all 0.2s;
  border: 1.5px solid transparent;
}
.pill:hover, .pill.active {
  background: var(--orange-pale);
  color: var(--orange);
  border-color: rgba(244,98,10,0.2);
}

/* ===== BADGE STATUS ===== */
.status-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600;
}
.status-active   { background: rgba(26,122,74,0.12); color: var(--green); }
.status-pending  { background: rgba(244,98,10,0.12); color: var(--orange); }
.status-inactive { background: rgba(122,106,94,0.12); color: var(--muted); }

/* ===== AVATAR ===== */
.avatar {
  border-radius: var(--radius-sm);
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; overflow: hidden; flex-shrink: 0;
}
.avatar-sm  { width: 36px; height: 36px; font-size: 0.9rem; }
.avatar-md  { width: 48px; height: 48px; }
.avatar-lg  { width: 72px; height: 72px; font-size: 2rem; border-radius: var(--radius-md); }
.avatar-xl  { width: 96px; height: 96px; font-size: 2.5rem; border-radius: var(--radius-lg); }

/* ===== DIVIDER ===== */
.divider {
  height: 1px; background: var(--border);
  margin: 1.5rem 0;
}
.divider-text {
  display: flex; align-items: center; gap: 1rem;
  color: var(--muted); font-size: 0.82rem;
}
.divider-text::before, .divider-text::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ===== TOAST ===== */
#toast-container {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 9999; display: flex; flex-direction: column; gap: 0.75rem;
}
.toast {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--ink); color: white;
  border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease both;
  max-width: 320px;
}
.toast.success { background: var(--green); }
.toast.error   { background: #e53e3e; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===== SKELETON LOADER ===== */
.skeleton {
  background: linear-gradient(90deg, var(--sand) 25%, var(--sand-dark) 50%, var(--sand) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 4rem 5vw 2rem;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: white; letter-spacing: -0.04em;
}
.footer-brand-name span { color: var(--orange); }
.footer-brand p {
  font-size: 0.875rem; line-height: 1.7;
  margin-top: 0.75rem; max-width: 260px;
}
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem; font-weight: 700; color: white;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer;
  transition: all 0.2s; color: white;
}
.social-link:hover { background: var(--orange); transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.animate-up   { animation: fadeUp 0.5s ease both; }
.animate-in   { animation: fadeIn 0.4s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== UTILS ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 5vw; }
.flex    { display: flex; }
.flex-col{ display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.text-muted { color: var(--muted); }
.text-orange{ color: var(--orange); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.78rem; }
.font-bold { font-weight: 700; }
.font-syne { font-family: 'Syne', sans-serif; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.w-full { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.grid-listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 1.25rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 3rem 5vw; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-listings { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE MOBILE COMPLET — Tous écrans
   ============================================================ */

/* ── Téléphones (≤ 640px) ───────────────────────────────────── */
@media (max-width: 640px) {

  /* Nav mobile */
  .nav-inner { padding: 0 1rem; height: 56px; }
  .nav-logo   { font-size: 1.05rem; }
  .nav-links  { display: none; }
  .nav-right  { gap: 0.5rem; }
  .btn-nav    { padding: 0.45rem 0.9rem; font-size: 0.78rem; }
  .nav-avatar { width: 34px; height: 34px; font-size: 0.85rem; }

  /* Hero */
  .hero        { padding: 2rem 1rem 2.5rem; min-height: auto; }
  .hero-title  { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero-sub    { font-size: 0.9rem; }
  .hero-search-wrap {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .hero-search-wrap select,
  .hero-search-wrap input { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-search-wrap .search-btn { width: 100%; border-radius: var(--radius-sm); }
  .hero-tags  { gap: 0.4rem; }
  .hero-tags .pill { font-size: 0.78rem; padding: 0.35rem 0.7rem; }

  /* Stats band */
  .stats-band .container { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .stat-item  { flex: none; }

  /* Sections */
  .section    { padding: 2rem 1rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Grilles */
  .grid-listings { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .grid-cats     { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .cat-card      { padding: 0.75rem 0.5rem; }
  .cat-icon      { font-size: 1.5rem; }
  .cat-name      { font-size: 0.75rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2        { grid-template-columns: 1fr; }

  /* Listing card */
  .listing-img   { height: 140px; }
  .listing-title { font-size: 0.85rem; -webkit-line-clamp: 2; }
  .listing-price { font-size: 0.9rem; }

  /* Annonce detail */
  .detail-grid   { grid-template-columns: 1fr; }
  .detail-aside  { position: static; }
  .gallery-main  { height: 240px; }

  /* Connexion */
  .auth-layout   { grid-template-columns: 1fr; min-height: auto; }
  .auth-left     { display: none; }
  .auth-right    { padding: 1.5rem 1.25rem; }

  /* Déposer annonce */
  .deposer-layout { grid-template-columns: 1fr; }
  .deposer-aside  { display: none; }
  .step-indicator { overflow-x: auto; padding-bottom: 0.5rem; }
  .step-dot span  { display: none; }
  .photos-grid    { grid-template-columns: repeat(3, 1fr); }

  /* Profil */
  .profil-layout  { grid-template-columns: 1fr; }
  .profil-aside   { position: static; }
  .profil-sidebar { margin-bottom: 1rem; }
  .profil-stats   { justify-content: center; }

  /* Dashboard */
  .kpi-grid   { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .dash-grid  { grid-template-columns: 1fr; }
  .kpi-num    { font-size: 1.5rem; }

  /* Messagerie */
  .msg-layout { grid-template-columns: 1fr; height: auto; }
  .conv-panel { border-right: none; border-bottom: 1px solid var(--border); max-height: 40vh; }
  .chat-panel { min-height: 55vh; }

  /* Pagination */
  .pagination { gap: 0.3rem; }
  .page-btn   { width: 34px; height: 34px; font-size: 0.8rem; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand  { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; font-size: 0.78rem; }
}

/* ── Très petits écrans (≤ 380px) ───────────────────────────── */
@media (max-width: 380px) {
  .grid-listings { grid-template-columns: 1fr; }
  .grid-cats     { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid      { grid-template-columns: 1fr; }
  .auth-right    { padding: 1.25rem 1rem; }
  .forgot-card   { padding: 1.5rem 1rem; }
}

/* ── Tablettes (641px – 1024px) ─────────────────────────────── */
@media (min-width: 641px) and (max-width: 1024px) {
  .nav-links { gap: 1rem; font-size: 0.85rem; }
  .hero-title { font-size: clamp(2rem, 4vw, 3rem); }
  .grid-cats  { grid-template-columns: repeat(4, 1fr); }
  .grid-listings { grid-template-columns: repeat(3, 1fr); }
  .auth-left  { padding: 2rem; }
  .deposer-aside { display: none; }
  .dash-grid  { grid-template-columns: 1fr; }
}

/* ── Barre de navigation mobile fixe en bas ─────────────────── */
@media (max-width: 640px) {
  .mobile-nav-bar {
    display: flex !important;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: white; border-top: 1px solid var(--border);
    padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
    justify-content: space-around;
    box-shadow: 0 -4px 20px rgba(26,18,16,.08);
  }
  .mobile-nav-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.2rem; font-size: 0.65rem; color: var(--muted);
    text-decoration: none; cursor: pointer;
    flex: 1; padding: 0.2rem 0;
  }
  .mobile-nav-item.active { color: var(--orange); }
  .mobile-nav-item .nav-icon { font-size: 1.3rem; }
  body { padding-bottom: 70px; }
}
.mobile-nav-bar { display: none; }

/* ── Optimisations tactiles ─────────────────────────────────── */
@media (hover: none) {
  .btn:hover         { transform: none; }
  .listing-card:hover{ transform: none; box-shadow: var(--shadow-sm); }
  .btn, .listing-fav, .page-btn, .auth-tab {
    min-height: 44px; /* Taille minimale zone tactile Apple/Google */
  }
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Empêche le zoom auto iOS */
  }
}

/* ── Image cover ─────────────────────────────────────────────── */
.listing-img-cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
