@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* === PALETTE PRINCIPALE === */
  --primary:       #006064;
  --primary-dark:  #00474b;
  --primary-light: #00838f;
  --primary-pale:  #e0f4f5;
  --primary-bg:    #f0fafb;

  /* === GRIS & NEUTRES === */
  --grey:          #d9d9d9;
  --grey-dark:     #b0b0b0;
  --grey-light:    #f0f0f0;
  --grey-pale:     #f8f8f8;

  /* === ACCENT DORÉ (touches premium) === */
  --gold:          #c8a45a;
  --gold-light:    #e8c97a;
  --gold-pale:     #fdf8ee;

  /* === TEXTES === */
  --dark:          #0a1f20;
  --dark2:         #0d2b2d;
  --text:          #1a3335;
  --text-light:    #4a6365;
  --text-muted:    #7a9598;
  --border:        #d0dfe0;
  --border-light:  #e8f0f1;
  --white:         #ffffff;
  --bg:            #f7fafb;

  /* === ÉTATS === */
  --success:  #16a34a;
  --danger:   #dc2626;
  --warning:  #d97706;
  --info:     #0284c7;

  /* === OMBRES === */
  --card-shadow:       0 1px 12px rgba(0,96,100,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 12px 40px rgba(0,96,100,0.15), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:         0 20px 60px rgba(10,31,32,0.12);
  --shadow-xl:         0 32px 80px rgba(10,31,32,0.18);

  /* === BORDER RADIUS === */
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* === TYPO === */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================================
   RESET
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font-body); }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 2.5rem; height: 70px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
  box-shadow: 0 1px 0 var(--border-light), 0 4px 20px rgba(0,96,100,0.04);
}

.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 400;
  color: var(--dark); flex-shrink: 0;
  letter-spacing: 0.01em;
}
.navbar-logo .logo-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(0,96,100,0.25);
}
.navbar-logo .logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.navbar-logo span.ci { color: var(--primary); font-style: italic; }

.navbar-nav { display: flex; align-items: center; gap: 0.1rem; }
.navbar-nav a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-light);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.navbar-nav a:hover { color: var(--primary); background: var(--primary-pale); }
.navbar-nav a.active { color: var(--primary); background: var(--primary-pale); font-weight: 600; }

.navbar-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.btn-connexion {
  padding: 0.5rem 1.2rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600;
  color: var(--primary); border: 1.5px solid var(--primary);
  background: transparent; transition: all 0.22s var(--ease);
  display: inline-flex; align-items: center;
  letter-spacing: 0.01em;
}
.btn-connexion:hover {
  background: var(--primary); color: white !important;
  box-shadow: 0 4px 14px rgba(0,96,100,0.25);
  transform: translateY(-1px);
}
.btn-connexion:active, .btn-connexion:focus {
  background: var(--primary-dark); color: white !important;
  outline: none;
}
.btn-connexion.active {
  background: transparent; color: var(--primary) !important;
}

.btn-publish {
  background: var(--primary); color: white;
  padding: 0.5rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.22s var(--ease);
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,96,100,0.3);
  letter-spacing: 0.01em;
}
.btn-publish:hover {
  background: var(--primary-dark); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,96,100,0.4);
}

/* ================================================================
   HERO
================================================================ */
.hero, .hero-with-bg {
  min-height: 88vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative; overflow: hidden;
  background: var(--dark2);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('../uploads/biens/img.jpg');
  background-size: cover; background-position: center;
  filter: blur(2px) brightness(0.35) saturate(0.6);
  transform: scale(1.05); z-index: 0;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(0,71,75,0.82) 0%,
    rgba(0,96,100,0.35) 50%,
    rgba(10,31,32,0.88) 100%
  );
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 820px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.88);
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.76rem; font-weight: 500;
  margin-bottom: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1, .hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 400;
  line-height: 1.1; color: #fff; margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.hero h1 em, .hero-inner h1 em { font-style: italic; color: var(--gold-light); }
.hero p, .hero-inner p {
  font-size: 1.05rem; color: rgba(255,255,255,0.7);
  max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.75; font-weight: 300;
}

/* Search bar */
.search-bar, .search-glass {
  display: flex;
  background: rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden; max-width: 760px; margin: 0 auto 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
}
.search-item {
  flex: 1; padding: 0.9rem 1.3rem;
  border-right: 1px solid rgba(255,255,255,0.12) !important; min-width: 0;
}
.search-item label {
  display: block; font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55) !important; margin-bottom: 3px;
}
.search-item select {
  width: 100%; border: none; background: transparent !important;
  font-size: 0.88rem; font-weight: 500; color: #fff !important;
  outline: none; cursor: pointer; font-family: var(--font-body);
}
.search-item select option { color: var(--dark); background: white; }
.search-btn {
  background: var(--primary) !important; color: white !important;
  border: none; padding: 0 2rem; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; font-family: var(--font-body); letter-spacing: 0.03em;
}
.search-btn:hover { background: var(--primary-dark) !important; }

/* Hero stats */
.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center;
  padding-top: 2.5rem; position: relative; z-index: 2;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400;
  color: #fff; line-height: 1;
}
.stat-label {
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 5px;
  font-weight: 500;
}

/* ================================================================
   SECTIONS
================================================================ */
.section { padding: 5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem;
}
.section-title {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400;
  color: var(--dark); display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.01em;
}
.section-subtitle { color: var(--text-muted); font-size: 0.88rem; margin-top: 5px; font-weight: 400; }
.see-all {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  white-space: nowrap; transition: color 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.see-all:hover { color: var(--primary-dark); }
.crown { font-size: 1.1rem; }

/* ================================================================
   CARDS
================================================================ */
.cards-grid, .annonces-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 1.5rem;
}
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer; border: 1px solid var(--border-light);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }
.card-image {
  position: relative; height: 215px; overflow: hidden; background: var(--grey-light);
}
.card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card-image img { transform: scale(1.05); }
.card-price {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(10,31,32,0.85); backdrop-filter: blur(8px);
  color: #fff; padding: 5px 12px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
}
.card-badges {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.badge {
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
}
.badge-premium { background: linear-gradient(135deg, var(--gold), #e8c060); color: #3d2900; }
.badge-type { background: rgba(255,255,255,0.92); color: var(--primary-dark); backdrop-filter: blur(4px); }
.card-actions {
  position: absolute; top: 12px; right: 12px; display: flex; gap: 6px;
}
.card-action-btn {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(4px);
  color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.card-action-btn:hover { background: white; transform: scale(1.1); color: var(--danger); }
.card-body { padding: 1.1rem 1.25rem; }
.card-name {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 400;
  color: var(--dark); margin-bottom: 0.3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-location {
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 0.75rem; display: flex; align-items: center; gap: 4px;
}
.card-features { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.feature {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.74rem; color: var(--primary);
  background: var(--primary-pale); padding: 3px 9px;
  border-radius: 100px; font-weight: 500;
}

/* ================================================================
   PAGE HEADER
================================================================ */
.page-header {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--primary-dark) 100%);
  padding: 3rem 2rem; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -60%; right: -5%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(200,164,90,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400;
  color: #fff; margin-bottom: 0.4rem;
}
.page-header p { color: rgba(255,255,255,0.6); font-size: 0.92rem; font-weight: 300; }

/* ================================================================
   FORMS
================================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: flex; flex-direction: column; gap: 6px; }
.form-label-text { font-size: 0.82rem; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.required { color: var(--danger); }
.form-input {
  width: 100%; padding: 0.78rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,96,100,0.1); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-input-wrap { position: relative; }
.form-input-icon {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  cursor: pointer; color: var(--text-muted); font-size: 1rem; transition: color 0.2s;
}
.form-input-icon:hover { color: var(--primary); }
.btn-submit {
  width: 100%; background: var(--primary); color: white;
  padding: 0.88rem 2rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.22s var(--ease); letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0,96,100,0.3);
}
.btn-submit:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,96,100,0.4);
}
.btn-submit:disabled {
  background: var(--grey-dark); cursor: not-allowed;
  box-shadow: none; transform: none; opacity: 0.6;
}
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.form-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.form-checkbox span { font-size: 0.875rem; color: var(--text); }
.form-select {
  width: 100%; padding: 0.78rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
  background: var(--white); transition: border-color 0.2s; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a6365' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 2.5rem;
}
.form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,96,100,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ================================================================
   AUTH
================================================================ */
.auth-page {
  min-height: calc(100vh - 70px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  position: relative; overflow: hidden;
  background: url('../uploads/biens/img.jpg') center/cover no-repeat;
}
.auth-page::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: rgba(10,31,32,0.7);
}
.auth-page::after { display: none; }
.auth-card {
  position: relative; z-index: 10;
  background: #ffffff; border-radius: var(--radius-lg);
  padding: 2.5rem; width: 100%; max-width: 460px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  border: 1px solid var(--border-light);
}
.auth-icon {
  width: 64px; height: 64px; background: var(--primary-pale);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 1.5rem;
  border: 2px solid rgba(0,96,100,0.12);
}
.auth-card h2 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--dark); text-align: center; margin-bottom: 0.3rem;
}
.auth-card p { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 1.25rem; font-weight: 400; }
.auth-footer { text-align: center; font-size: 0.875rem; color: var(--text-muted); margin-top: 1.25rem; }
.auth-footer a { color: var(--primary); font-weight: 600; }
.role-select { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.role-option {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem; cursor: pointer; text-align: center;
  transition: all 0.22s var(--ease);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.role-option:hover { border-color: var(--primary); background: var(--primary-pale); }
.role-option.active { border-color: var(--primary); background: var(--primary-pale); box-shadow: 0 0 0 3px rgba(0,96,100,0.1); }
.role-icon { font-size: 1.8rem; }
.role-option span { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.role-option small { font-size: 0.72rem; color: var(--text-muted); }

/* ================================================================
   ANNONCES
================================================================ */
.annonces-layout {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 2rem; align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--white); border-radius: var(--radius); padding: 1.25rem;
  margin-bottom: 1rem; border: 1px solid var(--border-light); box-shadow: var(--card-shadow);
}
.sidebar-title {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1rem;
}
.price-inputs { display: flex; gap: 0.5rem; align-items: center; }
.price-inputs input {
  flex: 1; padding: 0.6rem 0.8rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.85rem; outline: none;
  font-family: var(--font-body); transition: border-color 0.2s;
}
.price-inputs input:focus { border-color: var(--primary); }
.btn-filter {
  width: 100%; background: var(--primary); color: white;
  padding: 0.75rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.875rem; border: none; cursor: pointer;
  margin-top: 1rem; transition: all 0.2s; box-shadow: 0 4px 12px rgba(0,96,100,0.25);
}
.btn-filter:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-reset {
  width: 100%; background: transparent; color: var(--text-muted);
  padding: 0.6rem; border-radius: var(--radius-sm); font-size: 0.85rem;
  border: 1.5px solid var(--border); cursor: pointer; margin-top: 0.5rem; transition: all 0.2s;
}
.btn-reset:hover { border-color: var(--primary); color: var(--primary); }
.annonces-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.results-info { font-size: 0.875rem; color: var(--text-muted); }
.results-info strong { color: var(--dark); font-weight: 700; }
.sort-select {
  padding: 0.5rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.875rem; color: var(--text); background: var(--white); outline: none;
  cursor: pointer; font-family: var(--font-body); transition: border-color 0.2s;
}
.sort-select:focus { border-color: var(--primary); }

/* ================================================================
   DETAIL
================================================================ */
.detail-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 2rem;
}
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; transition: color 0.2s;
}
.back-btn:hover { color: var(--primary); }
.carousel { border-radius: var(--radius); overflow: hidden; }
.carousel-btn { transition: all 0.2s !important; }
.carousel-btn:hover { background: rgba(255,255,255,1) !important; transform: translateY(-50%) scale(1.1) !important; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--border-light); box-shadow: var(--card-shadow); position: sticky; top: 90px;
}
.contact-card h3, .contact-card h4 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  color: var(--dark); margin-bottom: 1.25rem;
}
.owner-info {
  display: flex; align-items: center; gap: 12px; padding: 1rem;
  background: var(--primary-pale); border-radius: var(--radius-sm); margin-bottom: 1.25rem;
}
.owner-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.owner-name { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.owner-verified { font-size: 0.75rem; color: var(--success); }
.btn-phone {
  display: block; text-align: center; background: var(--primary); color: white;
  padding: 0.88rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
  margin-bottom: 0.75rem; transition: all 0.2s; box-shadow: 0 4px 12px rgba(0,96,100,0.25);
}
.btn-phone:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-message {
  display: block; width: 100%; background: transparent; color: var(--primary);
  padding: 0.78rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.875rem;
  border: 1.5px solid var(--primary); cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body); text-align: center;
}
.btn-message:hover { background: var(--primary); color: white; }
.contact-note { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }
.detail-title {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400;
  color: var(--dark); margin-bottom: 0.5rem;
}
.detail-price { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--primary); }
.detail-location {
  font-size: 1rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; margin-bottom: 1.5rem;
}
.detail-features { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.detail-feature {
  background: var(--primary-pale); border-radius: var(--radius); padding: 1rem 1.25rem;
  text-align: center; min-width: 90px; border: 1px solid rgba(0,96,100,0.1);
}
.feat-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--primary); }
.feat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.detail-desc h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  color: var(--dark); margin-bottom: 0.75rem; padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-light);
}
.detail-desc p { font-size: 0.9rem; line-height: 1.8; color: var(--text-light); }
.detail-date { font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem; }
.vues-count { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-bottom: 1.5rem; }
.btn-favori {
  width: 100%; background: var(--white); color: var(--danger);
  padding: 0.85rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.875rem;
  margin-top: 0.75rem; border: 1.5px solid #fecaca; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s; font-family: var(--font-body);
}
.btn-favori:hover, .btn-favori.active { background: #fef2f2; border-color: var(--danger); }

/* ================================================================
   OWNER BANNER
================================================================ */
.owner-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg); padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
}
.owner-banner::before {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(200,164,90,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.owner-banner::after {
  content: ''; position: absolute; bottom: -30%; left: 5%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.owner-banner-text h2 {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 400;
  color: white; margin-bottom: 0.5rem;
}
.owner-banner-text p { color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 300; }
.btn-white {
  background: white; color: var(--primary-dark); padding: 0.88rem 1.75rem;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.875rem;
  white-space: nowrap; transition: all 0.22s var(--ease);
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { background: var(--gold-pale); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ================================================================
   WHY SECTION
================================================================ */
.why-section { margin-top: 4rem; text-align: center; }
.why-section h2 {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 400;
  color: var(--dark); margin-bottom: 0.5rem;
}
.why-section .subtitle { color: var(--text-muted); margin-bottom: 3rem; font-weight: 300; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-item {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem;
  border: 1px solid var(--border-light); transition: all 0.3s var(--ease);
  text-align: center; box-shadow: var(--card-shadow);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); border-color: rgba(0,96,100,0.15); }
.why-icon {
  width: 56px; height: 56px; background: var(--primary-pale);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1rem; border: 1px solid rgba(0,96,100,0.12);
}
.why-item h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 400;
  color: var(--dark); margin-bottom: 0.5rem;
}
.why-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; }

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--dark2); color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 0;
  border-top: 3px solid var(--primary);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding: 0 2rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  color: white; margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  line-height: 1.75; margin-bottom: 1.5rem; max-width: 260px; font-weight: 300;
}
.social-links { display: flex; gap: 0.5rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.45); cursor: pointer; transition: all 0.2s;
}
.social-link:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(0,96,100,0.15); }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.9); margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.45); font-weight: 300;
}
.footer-contact-item span { flex-shrink: 0; }
.footer-bottom {
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 0.75rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.55); }

/* ================================================================
   PUBLISH / MODIFIER
================================================================ */
.publish-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem; align-items: start;
}
.form-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 1.75rem;
  margin-bottom: 1.5rem; border: 1px solid var(--border-light);
}
.form-card-title {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 400;
  color: var(--dark); margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 8px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 2.5rem 2rem; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s; display: block;
}
.upload-zone:hover { border-color: var(--primary); background: var(--primary-pale); }
.upload-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.upload-zone p { color: var(--text-muted); font-size: 0.875rem; }
.upload-zone strong { color: var(--primary); }

/* ================================================================
   PROFIL
================================================================ */
.profil-layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 2rem; max-width: 1000px; margin: 0 auto; padding: 3rem 2rem; align-items: start;
}
.profil-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 2rem; text-align: center;
  position: sticky; top: 90px; border: 1px solid var(--border-light);
}
.profil-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--primary); margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.6rem; font-weight: 700;
  border: 3px solid var(--primary-pale); overflow: hidden;
}
.profil-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--dark); }
.profil-role { font-size: 0.8rem; color: var(--text-muted); text-transform: capitalize; }
.profil-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-pale); color: #7a5200; padding: 4px 12px;
  border-radius: 100px; font-size: 0.78rem; font-weight: 600;
  margin-top: 0.75rem; border: 1px solid rgba(200,164,90,0.3);
}

/* ================================================================
   MES ANNONCES
================================================================ */
.mes-annonces-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}
.card-actions-bar {
  display: flex; gap: 0.5rem; padding: 0.9rem 1.2rem;
  border-top: 1px solid var(--border-light); background: var(--grey-pale);
}

/* ================================================================
   ALERTS
================================================================ */
.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 10px; border-width: 1px; border-style: solid;
}
.alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* ================================================================
   DROPDOWN
================================================================ */
.dropdown { position: relative; }
.btn-user {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: white; cursor: pointer; font-size: 0.8rem; font-weight: 700;
  background: var(--primary); transition: all 0.2s; overflow: hidden;
}
.btn-user:hover { border-color: var(--primary); transform: scale(1.05); }
.dropdown-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; z-index: 9999; overflow: hidden;
}
.dropdown-menu.show { display: block; }
.dropdown-header {
  padding: 1rem 1.2rem; background: var(--primary-pale);
  border-bottom: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 2px;
}
.dropdown-header strong { font-size: 0.9rem; color: var(--dark); }
.dropdown-header small { font-size: 0.75rem; color: var(--text-muted); text-transform: capitalize; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 0.75rem 1.2rem;
  font-size: 0.875rem; color: var(--text); transition: background 0.15s;
}
.dropdown-menu a:hover { background: var(--primary-pale); color: var(--primary); }
.dropdown-menu hr { border: none; border-top: 1px solid var(--border-light); margin: 0; }
.logout-link { color: var(--danger) !important; }

/* ================================================================
   STATUS BADGES
================================================================ */
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.status-active  { background: #f0fdf4; color: #166534; }
.status-pending { background: #fffbeb; color: #92400e; }
.status-sold    { background: #eff6ff; color: #1e40af; }
.status-suspend { background: #fef2f2; color: #991b1b; }

/* ================================================================
   BUTTONS SM
================================================================ */
.btn-sm { padding: 5px 12px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-body); }
.btn-primary-sm   { background: var(--primary); color: white; }
.btn-primary-sm:hover { background: var(--primary-dark); }
.btn-danger-sm    { background: #fef2f2; color: var(--danger); }
.btn-danger-sm:hover  { background: var(--danger); color: white; }
.btn-success-sm   { background: #f0fdf4; color: #166534; }
.btn-success-sm:hover { background: #22c55e; color: white; }
.btn-warning-sm   { background: #fffbeb; color: #92400e; }
.btn-warning-sm:hover { background: #f59e0b; color: white; }

/* ================================================================
   PAGINATION
================================================================ */
.pagination { display: flex; gap: 0.4rem; align-items: center; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span { padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; border: 1.5px solid var(--border); background: var(--white); color: var(--text); transition: all 0.2s; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination span.current { background: var(--primary); color: white; border-color: var(--primary); }

/* ================================================================
   NO RESULTS
================================================================ */
.no-results { text-align: center; padding: 5rem 2rem; color: var(--text-muted); }
.no-results .no-results-icon { font-size: 3rem; margin-bottom: 1rem; }
.no-results h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--dark); margin-bottom: 0.5rem; font-weight: 400; }

/* ================================================================
   PAGE CONTENT
================================================================ */
.page-content { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; }
.page-content-narrow { max-width: 760px; margin: 0 auto; padding: 3rem 2rem; }

/* ================================================================
   CATEGORIES
================================================================ */
.cats-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--dark); margin-bottom: 1.2rem; }
.cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.cat-card { border-radius: var(--radius); overflow: hidden; cursor: pointer; text-decoration: none; box-shadow: var(--card-shadow); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); border: 2px solid transparent; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.cat-card.active { border-color: var(--primary); }
.cat-img { position: relative; height: 95px; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,31,32,0.55), transparent); }
.cat-body { background: var(--white); padding: 0.7rem 0.9rem; display: flex; flex-direction: column; gap: 2px; }
.cat-icon { font-size: 1.1rem; }
.cat-name { font-weight: 600; font-size: 0.875rem; color: var(--dark); font-family: var(--font-display); }
.cat-count { font-size: 0.72rem; color: var(--text-muted); }
.back-to-cats { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--primary); background: var(--primary-pale); padding: 0.5rem 1rem; border-radius: var(--radius-sm); transition: background 0.2s; margin-bottom: 0.5rem; }
.back-to-cats:hover { background: rgba(0,96,100,0.15); }
.type-header-bar { display: flex; align-items: center; justify-content: space-between; background: var(--primary); color: white; padding: 0.75rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; margin-bottom: 1rem; }
.type-header-count { font-size: 0.82rem; font-weight: 500; background: rgba(255,255,255,0.2); padding: 2px 10px; border-radius: 100px; }

/* ================================================================
   ADMIN
================================================================ */
.admin-wrapper { display: flex; min-height: 100vh; padding-top: 70px; }
.admin-sidebar { width: 240px; background: var(--dark2); position: fixed; left: 0; top: 70px; height: calc(100vh - 70px); padding: 1.5rem 0; overflow-y: auto; border-right: 1px solid rgba(255,255,255,0.05); }
.admin-sidebar .brand { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 0.5rem; }
.admin-sidebar .brand span { font-size: 0.7rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.14em; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 0.75rem 1.5rem; color: rgba(255,255,255,0.5); font-size: 0.875rem; font-weight: 400; transition: all 0.15s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(0,96,100,0.2); color: white; border-left: 3px solid var(--primary-light); }
.admin-nav a .nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.admin-content { margin-left: 240px; flex: 1; padding: 2.5rem; background: var(--bg); min-height: calc(100vh - 70px); }
.admin-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; }
.admin-title { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--dark); }
.admin-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.stat-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; border: 1px solid var(--border-light); transition: all 0.2s; }
.stat-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.stat-icon { width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-icon.blue { background: #eff6ff; }
.stat-icon.green { background: #f0fdf4; }
.stat-icon.gold { background: var(--gold-pale); }
.stat-icon.red { background: #fef2f2; }
.stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--dark); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); }
.data-table th { background: var(--grey-pale); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--border-light); }
.data-table td { padding: 1rem 1.2rem; font-size: 0.875rem; color: var(--text); border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--primary-pale); }

/* ================================================================
   PREMIUM
================================================================ */
.premium-hero { background: linear-gradient(135deg, var(--dark2), var(--primary-dark)); text-align: center; padding: 5rem 2rem; position: relative; overflow: hidden; }
.premium-hero::before { content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(200,164,90,0.15), transparent); pointer-events: none; }
.premium-hero h1 { font-family: var(--font-display); font-size: 3rem; font-weight: 400; color: white; margin-bottom: 0.75rem; }
.premium-hero p { color: rgba(255,255,255,0.6); font-size: 1rem; font-weight: 300; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 3rem auto; padding: 0 2rem; }
.plan-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 2px solid var(--border-light); transition: all 0.3s var(--ease); position: relative; }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.featured { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,96,100,0.1); }
.plan-featured-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.plan-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--dark); margin-bottom: 0.5rem; }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--primary); line-height: 1; }
.plan-period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.plan-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-features li { font-size: 0.875rem; color: var(--text); padding-left: 1.5rem; position: relative; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.btn-plan { display: block; text-align: center; padding: 0.85rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.875rem; transition: all 0.2s; cursor: pointer; }
.btn-plan-primary { background: var(--primary); color: white; border: none; box-shadow: 0 4px 12px rgba(0,96,100,0.25); }
.btn-plan-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-plan-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-plan-outline:hover { background: var(--primary); color: white; }

/* ================================================================
   CONTACT
================================================================ */
.contact-page { max-width: 900px; margin: 0 auto; padding: 4rem 2rem; }
.contact-page h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--dark); margin-bottom: 0.5rem; }
.contact-page > p { color: var(--text-muted); margin-bottom: 3rem; font-weight: 300; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item h4 { font-weight: 600; color: var(--dark); margin-bottom: 0.25rem; }
.contact-info-item p { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-content { margin-left: 0; padding: 1.5rem; }
  .admin-sidebar { transform: translateX(-100%); }
  .annonces-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .publish-layout { grid-template-columns: 1fr; }
  .profil-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.25rem; }
  .navbar-nav { display: none; }
  .hero, .hero-with-bg { padding: 4rem 1.5rem 3rem; }
  .search-bar, .search-glass { flex-direction: column !important; border-radius: var(--radius) !important; }
  .search-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .search-btn { padding: 1rem !important; justify-content: center; }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .owner-banner { flex-direction: column; padding: 2rem 1.5rem; }
  .cards-grid, .annonces-grid { grid-template-columns: 1fr; }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .publish-layout { padding: 1.5rem 1rem; }
  .page-header { padding: 2rem 1.25rem; }
  .annonces-layout { padding: 1.25rem; }
  .detail-layout { padding: 1.25rem; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { padding: 0 1.25rem; }
  .profil-layout { padding: 2rem 1.25rem; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .navbar-logo { font-size: 1.1rem; }
  .hero h1, .hero-inner h1 { font-size: 2.2rem; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mes-annonces-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .role-select { grid-template-columns: 1fr; }
  .auth-card { padding: 1.75rem; }
  .plans-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   ANNONCES HERO
================================================================ */
.annonces-hero {
  position: relative; overflow: hidden;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark2);
  padding: 4rem 2rem 3rem;
}
.annonces-hero-overlay {
  position: absolute; inset: 0;
  background-image: url('../uploads/biens/img.jpg');
  background-size: cover; background-position: center;
  filter: blur(2px) brightness(0.3) saturate(0.5);
  transform: scale(1.04); z-index: 0;
}
.annonces-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg,
    rgba(0,71,75,0.85) 0%,
    rgba(0,96,100,0.4) 50%,
    rgba(10,31,32,0.9) 100%
  );
}
.annonces-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 820px;
  text-align: center; margin: 0 auto;
}
.annonces-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.88);
  padding: 0.38rem 1rem; border-radius: 100px;
  font-size: 0.74rem; font-weight: 500;
  margin-bottom: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.annonces-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 400;
  color: #fff; margin-bottom: 0.75rem; line-height: 1.1;
}
.annonces-hero p {
  font-size: 0.95rem; color: rgba(255,255,255,0.65);
  margin: 0 auto 2rem; max-width: 480px; font-weight: 300; line-height: 1.7;
}

/* Stats dans le hero */
.annonces-hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; margin-top: 1.75rem;
}
.ah-stat { text-align: center; }
.ah-stat strong {
  display: block; font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 400; color: #fff; line-height: 1;
}
.ah-stat span {
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 3px; display: block; font-weight: 500;
}
.ah-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.15);
}

/* Ajuster annonces-layout pour supprimer le page-header */
.annonces-layout {
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .annonces-hero { padding: 3rem 1.25rem 2.5rem; min-height: 360px; }
  .annonces-hero-stats { gap: 1rem; }
  .ah-divider { height: 24px; }
}