/* ============================================
   REAL ESTATE AGENCY — Premium Dark
   Soft dark, organic, no hard borders
   ============================================ */

:root {
  /* Dark Palette — noir profond */
  --bg: #09090f;
  --bg-card: #111118;
  --bg-card-hover: #16161f;
  --bg-elevated: #1a1a24;
  --bg-surface: #0e0e16;
  --bg-section: #0a0a12;
  --bg-darker: #060609;

  /* Accent — Gold Premium */
  --accent: #c9a84c;
  --accent-light: #e2c36b;
  --accent-dark: #a88a3a;
  --accent-soft: rgba(201, 168, 76, 0.1);
  --accent-glow: rgba(201, 168, 76, 0.25);
  --cyan: #d4a853;
  --cyan-soft: rgba(212, 168, 83, 0.08);
  --or: #c9a84c;

  /* Text */
  --text: #e0e0ea;
  --text-secondary: #8b8b9e;
  --text-muted: #555566;
  --text-white: #f4f4f8;

  /* Borders — very subtle */
  --border: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(201, 168, 76, 0.15);
  --glass-border: rgba(255, 255, 255, 0.04);
  --sable: #b8915a;

  /* Semantic */
  --success: #4ade80;
  --success-bg: rgba(74, 222, 128, 0.08);
  --success-border: rgba(74, 222, 128, 0.12);
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, 0.08);
  --danger-border: rgba(248, 113, 113, 0.12);
  --info: #60a5fa;
  --info-bg: rgba(96, 165, 250, 0.08);
  --info-border: rgba(96, 165, 250, 0.12);
  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, 0.08);
  --warning-border: rgba(251, 191, 36, 0.12);

  /* Sizing */
  --fivem-bar-height: 30px;
  --nav-height: calc(72px + var(--fivem-bar-height));
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease);
}

/* ============ RESET ============ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

.bg-gradient, .bg-noise { display: none; }

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4, .heading {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-white);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.text-or { color: var(--accent); }
.text-muted { color: var(--text-secondary); }
.text-center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.section-label::after { display: none; }

/* ============ FEATURE ROWS (alternating text/visual) ============ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-white);
}

.feature-text .section-label {
  margin-bottom: 16px;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-card-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .feature-text h2 {
    font-size: 1.8rem;
  }
}

/* ============ NAVBAR ============ */

.navbar {
  position: fixed;
  top: var(--fivem-bar-height); left: 0; right: 0;
  height: 72px;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: none;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.nav-logo-icon {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.3));
}

.nav-logo-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 2.5px;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}

.nav-logo-accent {
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 3.5px;
  font-size: 0.65rem;
  display: block;
}

.logo-ls {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.logo-agency {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
  padding: 8px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover { color: var(--text-white); }

.nav-link.active {
  color: var(--text-white);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

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

/* ============ BANNER ============ */

.agency-banner {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  padding: 10px 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 999;
  transition: var(--transition);
}

body.has-banner { --banner-height: 38px; }
body.has-banner .hero { padding-top: var(--banner-height); }
body.has-banner .page-header { padding-top: calc(var(--nav-height) + var(--banner-height) + 56px); }
body.has-banner .about-hero { padding-top: calc(var(--nav-height) + var(--banner-height) + 40px); }

.agency-banner .banner-content { display: flex; align-items: center; justify-content: center; gap: 8px; }
.agency-banner .banner-dot { width: 6px; height: 6px; border-radius: 50%; animation: dotPulse 2s ease-in-out infinite; }
.agency-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; }

.agency-banner.open { background: rgba(74, 222, 128, 0.06); color: var(--success); border-bottom: 1px solid rgba(74,222,128,0.08); }
.agency-banner.open .banner-dot { background: var(--success); box-shadow: 0 0 8px var(--success); }
.agency-banner.closed { background: rgba(248, 113, 113, 0.06); color: var(--danger); border-bottom: 1px solid rgba(248,113,113,0.08); }
.agency-banner.closed .banner-dot { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.agency-banner.rdv { background: rgba(201, 168, 76, 0.06); color: var(--accent); border-bottom: 1px solid rgba(201,168,76,0.08); }
.agency-banner.rdv .banner-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

/* ============ BUTTONS — rounded like MEE6 ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn::after { display: none; }
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--accent);
  color: #1a1a2e;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-white);
  border: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-white); background: rgba(255,255,255,0.04); }

.btn-lg { padding: 16px 40px; font-size: 0.95rem; }
.btn-sm { padding: 7px 18px; font-size: 0.75rem; }

.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: rgba(248,113,113,0.15); }
.btn-success { background: var(--success-bg); color: var(--success); }
.btn-success:hover { background: rgba(74,222,128,0.15); }

.refresh-btn {
  position: fixed; bottom: 28px; left: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  border: none; background: var(--bg-card);
  color: var(--accent); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease); box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: 900;
}
.refresh-btn:hover { transform: translateY(-3px) rotate(90deg); background: var(--bg-elevated); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.refresh-btn.spinning { animation: refreshSpin 0.8s var(--ease); }
@keyframes refreshSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============ CARDS — no border, soft bg like MEE6 ============ */

.glass-card, .glass-card-static {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease);
  position: relative;
}

.glass-card::before, .glass-card-static::before { display: none; }

.glass-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* ============ FORMS ============ */

.form-group { margin-bottom: 24px; }

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--bg-elevated);
}

.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: rgba(255,255,255,0.08); }
.form-input::placeholder { color: var(--text-muted); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a5b72' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Custom Select */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 14px 18px;
  padding-right: 40px;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-select-trigger:hover {
  border-color: rgba(255,255,255,0.08);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--bg-elevated);
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-trigger svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #14141e;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  padding: 6px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  max-height: 280px;
  overflow-y: auto;
}

.custom-select.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.custom-select-option:last-child {
  margin-bottom: 0;
}

.custom-select-option:hover {
  background: rgba(201,168,76,0.08);
  color: var(--text-white);
}

.custom-select-option.selected {
  background: rgba(201,168,76,0.12);
  color: var(--accent-light);
  font-weight: 600;
}

.custom-select-dropdown::-webkit-scrollbar {
  width: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.2);
  border-radius: 4px;
}

.form-textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-checkbox input[type="checkbox"] {
  appearance: none; width: 20px; height: 20px;
  border: none; border-radius: 6px;
  background: var(--bg-surface); cursor: pointer;
  transition: var(--transition); position: relative;
}
.form-checkbox input[type="checkbox"]:checked { background: var(--accent); }
.form-checkbox input[type="checkbox"]:checked::after { content: '\2713'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #1a1a2e; font-size: 12px; font-weight: 700; }

/* ============ LAYOUT ============ */

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }

.page-header {
  padding: calc(var(--nav-height) + 80px) 0 56px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 1px;
}

.page-header h1 { margin-bottom: 16px; }
.page-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ============ HERO — gradient top like MEE6 ============ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 32px;
  background: linear-gradient(180deg,
    rgba(201, 168, 76, 0.12) 0%,
    rgba(201, 168, 76, 0.04) 25%,
    var(--bg) 55%
  );
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(201, 168, 76, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.1);
  border: none;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s var(--ease) forwards;
}

.hero-badge .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74,222,128,0.5);
}

.hero-badge .status-dot.closed { background: var(--danger); box-shadow: 0 0 8px rgba(248,113,113,0.5); }
.hero-badge .status-dot.rdv { background: var(--warning); box-shadow: 0 0 8px rgba(251,191,36,0.5); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s 0.08s var(--ease) both;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s 0.16s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s 0.24s var(--ease) both;
}

.hero-actions .btn-primary { padding: 16px 40px; font-size: 0.95rem; }
.hero-actions .btn-secondary { padding: 16px 36px; font-size: 0.95rem; }

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  justify-content: center;
  animation: fadeInUp 0.6s 0.32s var(--ease) both;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.hero-stat { text-align: center; }

.hero-stat .stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-white);
}

.hero-stat .stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 4px;
}

/* ============ DISCORD CTA ============ */

/* Discord Banner */
.discord-banner {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #5865F2 0%, #4752c4 50%, #3b44b5 100%);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.discord-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(88, 101, 242, 0.35);
}

.discord-banner-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.discord-logo-bg {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  height: auto;
  opacity: 1;
}

.discord-banner-inner {
  position: relative;
  z-index: 1;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.discord-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.discord-banner-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.discord-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  background: white;
  color: #5865F2;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.discord-join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  background: #f0f0f5;
}

.discord-banner-links {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.discord-join-btn-outline {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.discord-join-btn-outline:hover {
  background: rgba(255,255,255,0.18);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .discord-banner-inner { flex-direction: column; padding: 28px 24px; text-align: center; }
  .discord-banner-left { flex-direction: column; }
  .discord-banner-links { justify-content: center; }
  .discord-logo-bg { width: 50%; opacity: 0.3; right: -5%; }
}

/* ============ PROPERTY CARDS ============ */

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: none;
  transition: all 0.4s var(--ease);
}

.property-card::after { display: none; }

.property-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.property-card-image {
  height: 220px;
  background: var(--bg-elevated);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}

.property-card-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  pointer-events: none;
}

.property-card:hover .property-card-image { transform: scale(1.05); }

.property-card-image-wrapper { overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.property-card-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 2; }

.property-badge {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-vente { background: var(--accent); color: #1a1a2e; }
.badge-location { background: var(--success); color: #1a1a2e; }
.badge-exclusif { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #1a1a2e; }
.badge-reserve { background: var(--warning); color: #1a1a2e; }
.badge-vendu, .badge-loue { background: var(--danger); color: white; }
.badge-disponible { background: var(--success); color: #1a1a2e; }

.property-badge-new {
  background: linear-gradient(135deg, #c9a84c, #e8d48b, #c9a84c);
  background-size: 200% 100%;
  color: #1a1a2e;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: badgeShimmer 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}

@keyframes badgeShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.property-favorite {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: var(--transition); z-index: 2; color: white;
}

.property-favorite:hover { background: rgba(0,0,0,0.6); transform: scale(1.15); }
.property-favorite.active { color: #ff4757; }

.property-card-body { padding: 24px; }

.property-card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 6px;
}

.property-card-title { font-size: 1rem; font-weight: 600; color: var(--text-white); margin-bottom: 6px; }
.property-card-location { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 18px; }

.property-card-features { display: flex; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.04); }
.property-feature { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.property-feature span { color: var(--text-secondary); font-weight: 600; }

/* ============ PROPERTY DETAIL V2 — Immersive ============ */

.property-detail-v2 { padding-bottom: 0; }

/* Gallery Section — Full Width */
.pd-gallery-section {
  position: relative;
  padding-top: var(--nav-height);
}
.pd-back-float {
  position: absolute;
  top: calc(var(--nav-height) + 16px);
  left: 24px;
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.pd-back-float:hover { background: rgba(201,168,76,0.4); transform: scale(1.05); }
.pd-badges-float {
  position: absolute;
  top: calc(var(--nav-height) + 16px);
  right: 24px;
  z-index: 10;
  display: flex; gap: 6px;
}
.pd-badge {
  padding: 5px 14px; border-radius: 100px; font-size: 0.72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}
.pd-badge-status { background: rgba(74,222,128,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }
.pd-badge-reserve { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.pd-badge-vendu { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.25); }
.pd-badge-loue { background: rgba(96,165,250,0.15); color: #60a5fa; border: 1px solid rgba(96,165,250,0.25); }
.pd-badge-new { background: rgba(201,168,76,0.2); color: var(--accent-light); border: 1px solid rgba(201,168,76,0.3); }
.pd-badge-premium { background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(212,168,83,0.15)); color: var(--accent-light); border: 1px solid rgba(201,168,76,0.35); }

/* Gallery Mosaic */
.pd-gallery-mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4px;
  height: 520px;
}
.pd-gallery-main {
  background-size: cover; background-position: center; background-color: var(--bg-elevated);
  cursor: pointer; position: relative; overflow: hidden;
}
.pd-gallery-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}
.pd-gallery-thumb {
  background-size: cover; background-position: center; background-color: var(--bg-elevated);
  cursor: pointer; position: relative; overflow: hidden;
}
.pd-gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(9,9,15,0);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; color: #fff; opacity: 0;
  pointer-events: none;
}
.pd-gallery-main:hover .pd-gallery-item-overlay,
.pd-gallery-thumb:hover .pd-gallery-item-overlay { background: rgba(9,9,15,0.3); opacity: 1; }
.pd-gallery-count {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: #fff;
  pointer-events: none;
}
.pd-gallery-empty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 300px; color: var(--text-muted); font-size: 0.9rem;
}

/* Floating Info Card — overlaps gallery */
.pd-floating-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-top: -48px;
  position: relative;
  z-index: 5;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.pd-float-left { flex: 1; min-width: 0; }
.pd-title { font-size: 1.6rem; font-weight: 700; color: var(--text-white); margin: 0 0 6px; line-height: 1.3; }
.pd-location-row { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 0.88rem; }
.pd-float-right { text-align: right; flex-shrink: 0; }
.pd-price-big { font-size: 2rem; font-weight: 800; color: var(--accent-light); line-height: 1.1; }
.pd-price-suffix { font-size: 0.85rem; font-weight: 400; opacity: 0.7; }
.pd-price-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }

/* Two Column Layout */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}

/* Left Content */
.pd-content { min-width: 0; }
.pd-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}
.pd-spec-card {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.pd-spec-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-2px); }
.pd-spec-num { display: block; font-size: 1.2rem; font-weight: 800; color: var(--text-white); }
.pd-spec-label { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

.pd-section { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.pd-section:last-child { border-bottom: none; }
.pd-section-title { font-size: 1.1rem; font-weight: 700; color: var(--text-white); margin: 0 0 16px; }
.pd-desc-text { color: var(--text-secondary); line-height: 1.85; font-size: 0.93rem; white-space: pre-line; margin: 0; }

.pd-location-info { display: flex; align-items: flex-start; gap: 12px; }
.pd-loc-district { font-weight: 700; font-size: 1rem; color: var(--text-white); }
.pd-loc-address { font-size: 0.85rem; color: var(--text-secondary); margin-top: 3px; }
.pd-loc-city { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }

.pd-agent { display: flex; align-items: center; gap: 14px; }
.pd-agent-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: #1a1a2e; flex-shrink: 0;
}
.pd-agent-name { font-weight: 600; font-size: 0.95rem; color: var(--text-white); }
.pd-agent-role { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Right Sidebar */
.pd-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.pd-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.pd-sidebar-price { font-size: 1.8rem; font-weight: 800; color: var(--accent-light); margin-bottom: 4px; }
.pd-sidebar-type { font-size: 0.82rem; color: var(--text-muted); }
.pd-sidebar-sep { height: 1px; background: var(--border); margin: 20px 0; }
.pd-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px 20px; border-radius: var(--radius); font-size: 0.88rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none; border: none;
  margin-bottom: 10px;
}
.pd-btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #1a1a2e; }
.pd-btn-primary:hover { background: linear-gradient(135deg, var(--accent-light), var(--accent)); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.25); }
.pd-btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border-hover) !important; }
.pd-btn-secondary:hover { border-color: var(--accent) !important; color: var(--accent-light); background: rgba(201,168,76,0.05); }
.pd-btn-discord { background: linear-gradient(135deg, #5865F2, #4752C4) !important; color: #fff !important; border: none !important; }
.pd-btn-discord:hover { background: linear-gradient(135deg, #4752C4, #3b44a8) !important; transform: translateY(-1px); }
.pd-btn-discord svg { flex-shrink: 0; }
.pd-sidebar-links { display: flex; justify-content: center; gap: 20px; margin-top: 6px; }
.pd-action-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--text-muted); font-size: 0.82rem;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.pd-action-link:hover { color: var(--text-white); }
.pd-action-fav:hover { color: #e74c3c; }

/* Related Properties */
.pd-related { padding: 80px 0; background: var(--bg-section); border-top: 1px solid var(--border); }

/* Lightbox */
.pd-lightbox {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 3000; background: rgba(0,0,0,0.95); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.pd-lightbox-img {
  max-width: min(90vw, 1200px); max-height: 90vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.pd-lightbox-close {
  position: fixed; top: 24px; right: 32px; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1); color: #fff; font-size: 1.5rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; z-index: 3001;
}
.pd-lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }
.pd-lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; z-index: 3001;
}
.pd-lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.pd-lightbox-prev { left: 24px; }
.pd-lightbox-next { right: 24px; }
.pd-lightbox-counter {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 500;
}

/* Legacy property detail classes */
.property-detail { padding-top: calc(var(--nav-height) + 24px); padding-bottom: 80px; }
.property-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.property-detail-info h1 { font-size: 2.2rem; margin-bottom: 10px; }
.property-detail-location { color: var(--text-secondary); margin-bottom: 24px; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.property-detail-price { font-size: 2.6rem; color: var(--accent-light); font-weight: 800; margin-bottom: 32px; }
.property-detail-price small { font-size: 0.88rem; color: var(--text-muted); font-weight: 400; }
.property-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 36px; }
.property-spec { padding: 20px 16px; background: var(--bg-surface); border: none; border-radius: var(--radius); text-align: center; transition: var(--transition); }
.property-spec:hover { background: var(--bg-elevated); transform: translateY(-2px); }
.property-spec-value { font-size: 1.4rem; font-weight: 800; color: var(--text-white); }
.property-spec-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.property-description { color: var(--text-secondary); line-height: 1.9; margin-bottom: 36px; font-size: 0.95rem; }
.property-features-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.property-feature-tag { padding: 6px 16px; background: var(--accent-soft); border: none; border-radius: 100px; font-size: 0.78rem; color: var(--accent-light); font-weight: 500; transition: var(--transition); }
.property-feature-tag:hover { background: rgba(201,168,76,0.15); }
.property-sidebar-card { padding: 32px; position: sticky; top: calc(var(--nav-height) + 24px); border: none; border-radius: var(--radius-lg); background: var(--bg-card); }
.property-sidebar-card h3 { margin-bottom: 28px; font-size: 1.3rem; }
.property-sidebar-card .btn { width: 100%; margin-bottom: 12px; padding: 14px 24px; font-weight: 600; }

/* ============ FILTERS ============ */

.filters-bar { padding: 24px; margin-bottom: 28px; background: var(--bg-card); border-radius: var(--radius-lg); border: none; }
.filters-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; }
.filter-group { min-width: 0; }
.filter-group label { display: block; font-size: 0.68rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.filter-group .form-input, .filter-group .form-select { padding: 10px 14px; font-size: 0.85rem; }
.filter-group .form-input { box-sizing: border-box; }
.filter-group .custom-select-trigger, .filter-group .form-input { height: 42px; box-sizing: border-box; padding: 10px 14px; font-size: 0.85rem; }
.filters-actions { display: flex; gap: 8px; align-items: end; }
@media (max-width: 900px) { .filters-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .filters-grid { grid-template-columns: 1fr; } }

/* Toggle Switch */
.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  cursor: pointer;
  user-select: none;
}
.toggle-input { display: none; }
.toggle-track {
  width: 48px;
  height: 26px;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 13px;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.toggle-thumb {
  width: 20px;
  height: 20px;
  background: var(--text-muted);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: transform 0.3s, background 0.3s;
}
.toggle-input:checked ~ .toggle-track {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--accent);
}
.toggle-input:checked ~ .toggle-track .toggle-thumb {
  transform: translateX(22px);
  background: var(--accent);
}
.toggle-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}
.toggle-input:checked ~ .toggle-label {
  color: var(--accent);
}

/* ============ SERVICES ============ */

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { padding: 40px; cursor: default; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 24px; transition: var(--transition);
}
.service-card:hover .service-icon { background: rgba(201,168,76,0.15); transform: scale(1.1); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; }

/* ============ TEAM ============ */

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.team-card { padding: 40px; text-align: center; }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700; color: #1a1a2e;
  margin: 0 auto 20px; transition: var(--transition);
  box-shadow: 0 8px 24px rgba(201,168,76,0.15);
}
.team-card:hover .team-avatar { transform: scale(1.1); box-shadow: 0 12px 36px rgba(201,168,76,0.25); }
.team-card h4 { margin-bottom: 6px; font-size: 1.1rem; }
.team-card .team-role { color: var(--accent-light); font-size: 0.8rem; font-weight: 600; }
.team-card .team-specialty { color: var(--text-muted); font-size: 0.8rem; margin-top: 10px; }

/* ============ STATUS BADGES ============ */

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

.status-nouveau { background: var(--info-bg); color: var(--info); }
.status-nouveau::before { background: var(--info); }
.status-en_attente { background: var(--warning-bg); color: var(--warning); }
.status-en_attente::before { background: var(--warning); }
.status-en_cours { background: var(--accent-soft); color: var(--accent-light); }
.status-en_cours::before { background: var(--accent); }
.status-disponible { background: var(--success-bg); color: var(--success); }
.status-disponible::before { background: var(--success); }
.status-confirme, .status-traite, .status-realise, .status-accepte { background: var(--success-bg); color: var(--success); }
.status-confirme::before, .status-traite::before, .status-realise::before, .status-accepte::before { background: var(--success); }
.status-envoye, .status-propose { background: var(--info-bg); color: var(--info); }
.status-envoye::before, .status-propose::before { background: var(--info); }
.status-refuse, .status-annule { background: var(--danger-bg); color: var(--danger); }
.status-refuse::before, .status-annule::before { background: var(--danger); }
.status-reporte { background: rgba(100,100,120,0.06); color: #888; }
.status-reporte::before { background: #888; }
.status-exclusif { background: var(--accent-soft); color: var(--accent-light); }
.status-exclusif::before { background: var(--accent); }
.status-reserve { background: var(--warning-bg); color: var(--warning); }
.status-reserve::before { background: var(--warning); }
.status-vendu { background: var(--danger-bg); color: var(--danger); }
.status-vendu::before { background: var(--danger); }
.status-expire { background: rgba(100,100,120,0.06); color: #888; }
.status-expire::before { background: #888; }
.status-brouillon { background: rgba(100,100,120,0.04); color: #777; }
.status-brouillon::before { background: #777; }

.agency-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 18px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.agency-status.open { background: var(--success-bg); color: var(--success); }
.agency-status.rdv { background: var(--accent-soft); color: var(--accent); }
.agency-status.closed { background: var(--danger-bg); color: var(--danger); }

/* ============ USER MENU ============ */

.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 10px; }
.user-avatar-small {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: #1a1a2e;
  box-shadow: 0 2px 12px rgba(201,168,76,0.2);
}
.user-dropdown { position: absolute; top: 100%; right: 0; margin-top: 10px; min-width: 220px; padding: 8px; background: var(--bg-card); border: none; border-radius: var(--radius); box-shadow: 0 16px 56px rgba(0,0,0,0.4); z-index: 100; animation: dropdownIn 0.2s var(--ease); }
@keyframes dropdownIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.dropdown-item { display: block; padding: 10px 14px; color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; border-radius: 8px; transition: var(--transition); border: none; background: none; width: 100%; text-align: left; cursor: pointer; font-family: 'Inter', sans-serif; }
.dropdown-item:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }
.dropdown-admin { color: var(--accent-light); }
.dropdown-logout { color: var(--danger); }
.dropdown-divider { height: 1px; background: rgba(255,255,255,0.04); margin: 6px 0; }

/* ============ DASHBOARD ============ */

.dashboard-layout { padding-top: calc(var(--nav-height) + 28px); display: grid; grid-template-columns: 240px 1fr; gap: 28px; min-height: 100vh; max-width: 1360px; margin: 0 auto; padding-left: 28px; padding-right: 28px; overflow: hidden; }

.dashboard-sidebar { padding: 24px 14px; position: sticky; top: calc(var(--nav-height) + 28px); height: fit-content; border: none; border-radius: var(--radius-lg); background: var(--bg-card); }

.sidebar-nav { list-style: none; }
.sidebar-nav-item { margin-bottom: 2px; }
.sidebar-nav-link { display: flex; align-items: center; gap: 12px; padding: 11px 16px; color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 500; border-radius: var(--radius-sm); transition: var(--transition); position: relative; }
.sidebar-nav-link:hover { color: var(--text-white); background: rgba(255,255,255,0.04); }
.sidebar-nav-link.active { color: var(--accent-light); background: var(--accent-soft); font-weight: 600; }
.sidebar-nav-link.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 55%; background: var(--accent); border-radius: 0 3px 3px 0; }

.badge-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #1a1a2e; font-size: 0.62rem; font-weight: 700; margin-left: auto; }
.badge-count.danger { background: var(--danger); color: white; }
.badge-count.info { background: var(--info); color: white; }

.dashboard-content { padding: 4px 0 40px 0; min-height: 60vh; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.dashboard-header h2 { font-size: 1.5rem; }

/* ============ NEW PANEL LAYOUT (v2) ============ */

.panel-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  max-width: 1400px; margin: 0 auto;
  padding: calc(var(--nav-height) + 28px) 28px 60px;
  min-height: 100vh;
}

.panel-sidebar {
  position: sticky; top: calc(var(--nav-height) + 28px); height: fit-content;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  display: flex; flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.panel-sidebar-header {
  display: flex; align-items: center; gap: 12px;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.panel-avatar {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: #0a0a12;
  flex-shrink: 0;
}

.panel-user-name { font-weight: 600; font-size: 0.9rem; color: var(--text-white); }
.panel-user-role { font-size: 0.72rem; color: var(--accent); font-weight: 500; }

.panel-edit-profile-btn {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08);
  background: transparent; color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
}
.panel-edit-profile-btn:hover { color: var(--accent); border-color: var(--accent); background: rgba(201,168,76,0.08); }

.panel-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }

.panel-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  transition: var(--transition); position: relative;
}
.panel-nav-link svg { flex-shrink: 0; transition: var(--transition); }
.panel-nav-link:hover { color: var(--text-white); background: rgba(255,255,255,0.04); }
.panel-nav-link.active {
  color: var(--accent-light); background: rgba(201,168,76,0.08);
  font-weight: 600;
}
.panel-nav-link.active::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 60%; background: var(--accent); border-radius: 0 3px 3px 0;
}

.panel-sidebar-footer { padding: 16px 12px; border-top: 1px solid rgba(255,255,255,0.04); }

.panel-main {
  padding: 4px 0 40px 0; min-height: 60vh;
}

/* Panel Header */
.panel-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px;
}
.panel-title { font-size: 1.6rem; font-weight: 800; color: var(--text-white); margin-bottom: 4px; }
.panel-subtitle { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

/* Panel Stats */
.panel-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 28px;
}
.panel-stat-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}
.panel-stat-card:hover { border-color: rgba(255,255,255,0.08); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.panel-stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.panel-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--text-white); }
.panel-stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* Panel Card */
.panel-card {
  background: var(--bg-card); border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden; margin-bottom: 24px;
}
.panel-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.panel-card-header h3 { font-size: 1rem; font-weight: 700; }
.panel-card-link {
  font-size: 0.8rem; color: var(--accent); text-decoration: none;
  font-weight: 500; transition: var(--transition);
}
.panel-card-link:hover { color: var(--accent-light); }

/* Panel Table */
.panel-table { width: 100%; border-collapse: collapse; }
.panel-table th {
  text-align: left; padding: 14px 20px;
  font-size: 0.68rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.015); white-space: nowrap;
}
.panel-table td {
  padding: 14px 20px; font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text-secondary); vertical-align: middle;
}
.panel-table tr:last-child td { border-bottom: none; }
.panel-table tr:hover td { background: rgba(201,168,76,0.02); }
.panel-table th:last-child, .panel-table td:last-child { text-align: right; }

.panel-row-highlight td { background: rgba(201,168,76,0.03); }

/* Panel Actions */
.panel-actions { display: inline-flex; gap: 6px; justify-content: flex-end; }
.panel-action-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08);
  background: transparent; color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.panel-action-btn:hover { color: var(--text-white); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
.panel-action-btn.danger:hover { color: var(--danger); border-color: rgba(248,113,113,0.3); background: rgba(248,113,113,0.08); }
.panel-action-btn.success:hover { color: var(--success); border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.08); }

/* Panel Tags & Badges */
.panel-tag {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600;
  background: rgba(255,255,255,0.05); color: var(--text-secondary);
}
.panel-role-badge {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600;
}

/* Panel User Avatar */
.panel-user-avatar {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}

/* Panel Grid */
.panel-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel-empty-small { padding: 32px 20px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Panel Responsive */
@media (max-width: 1024px) {
  .panel-layout { grid-template-columns: 1fr; }
  .panel-sidebar { position: static; }
  .panel-nav { flex-direction: row; flex-wrap: wrap; padding: 12px; }
  .panel-nav-link { padding: 8px 12px; font-size: 0.8rem; }
  .panel-main { padding: 24px 0; }
  .panel-grid-2 { grid-template-columns: 1fr; }
  .panel-sidebar-footer { display: none; }
}

@media (max-width: 768px) {
  .panel-stats { grid-template-columns: 1fr 1fr; }
  .panel-header { flex-direction: column; gap: 12px; }
}

/* ============ STAT CARDS ============ */

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }

.stat-card { padding: 24px; position: relative; overflow: hidden; border: none; transition: var(--transition); border-radius: var(--radius); background: var(--bg-card); }
.stat-card:hover { background: var(--bg-card-hover); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--cyan)); opacity: 0; transition: var(--transition); border-radius: var(--radius) var(--radius) 0 0; }
.stat-card:hover::before { opacity: 1; }

.stat-card-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 14px; color: var(--accent); }
.stat-card-value { font-size: 2rem; font-weight: 800; color: var(--text-white); }
.stat-card-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.stat-card-change { display: inline-flex; align-items: center; gap: 3px; font-size: 0.68rem; font-weight: 600; margin-top: 8px; padding: 3px 8px; border-radius: 100px; }
.stat-card-change.positive { color: var(--success); background: var(--success-bg); }
.stat-card-change.negative { color: var(--danger); background: var(--danger-bg); }

/* ============ TABLES ============ */

.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 14px 18px; font-size: 0.68rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid rgba(255,255,255,0.04); white-space: nowrap; background: var(--bg-card); position: sticky; top: 0; z-index: 1; }
.data-table td { padding: 14px 18px; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.03); color: var(--text-secondary); vertical-align: middle; }
.data-table tr:hover td { background: rgba(201,168,76,0.02); }
.data-table th:last-child, .data-table td:last-child { text-align: right; }

.table-actions { display: inline-flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.data-table td:last-child { padding-top: 10px; padding-bottom: 10px; }

.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: none; background: var(--bg-card); }
.table-wrapper .data-table th:first-child, .table-wrapper .data-table td:first-child { padding-left: 24px; }
.table-wrapper .data-table th:last-child, .table-wrapper .data-table td:last-child { padding-right: 24px; }

/* ============ MODAL ============ */

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(12px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 28px; animation: fadeIn 0.2s var(--ease); }
.modal { width: 100%; max-width: 620px; max-height: 85vh; overflow-y: auto; padding: 36px; animation: modalIn 0.3s var(--ease); border: none; box-shadow: 0 32px 100px rgba(0,0,0,0.5); background: var(--bg-card); border-radius: var(--radius-xl); }
.modal h3 { font-size: 1.4rem; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.modal .form-group { margin-bottom: 20px; }
.modal .btn-primary { padding: 12px 28px; }
.modal-lg { max-width: 900px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--bg-surface); color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }
.modal-close:hover { background: var(--bg-elevated); color: var(--text-white); transform: rotate(90deg); }
.modal-footer { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.04); }
.modal-footer .btn { min-width: 110px; justify-content: center; }

/* ============ TOAST ============ */

.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column-reverse; gap: 10px; max-width: 380px; width: 100%; pointer-events: none; }
.toast { padding: 14px 18px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,0.5); font-size: 0.88rem; color: var(--text); animation: toastIn 0.4s var(--ease); display: flex; align-items: center; gap: 12px; pointer-events: auto; position: relative; overflow: hidden; backdrop-filter: blur(12px); }
.toast-emoji { font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.toast-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.88rem; flex-shrink: 0; }
.toast.success { border-left: 3px solid var(--success); background: linear-gradient(135deg, var(--bg-elevated), rgba(74, 222, 128, 0.05)); }
.toast.success .toast-icon { background: var(--success-bg); color: var(--success); }
.toast.error { border-left: 3px solid var(--danger); background: linear-gradient(135deg, var(--bg-elevated), rgba(248, 113, 113, 0.05)); }
.toast.error .toast-icon { background: var(--danger-bg); color: var(--danger); }
.toast.info { border-left: 3px solid var(--info); background: linear-gradient(135deg, var(--bg-elevated), rgba(96, 165, 250, 0.05)); }
.toast.info .toast-icon { background: var(--info-bg); color: var(--info); }
.toast.warning { border-left: 3px solid var(--warning); background: linear-gradient(135deg, var(--bg-elevated), rgba(251, 191, 36, 0.05)); }
.toast.warning .toast-icon { background: var(--warning-bg); color: var(--warning); }
.toast-content { flex: 1; min-width: 0; }
.toast-title { font-weight: 600; font-size: 0.85rem; margin-bottom: 2px; }
.toast-message { font-size: 0.8rem; color: var(--text-secondary); }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; font-size: 1rem; flex-shrink: 0; transition: color 0.2s; }
.toast-close:hover { color: var(--text); }
.toast-exit { animation: toastOut 0.3s var(--ease) forwards; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 2px; border-radius: 0 0 0 var(--radius); animation: toastProgress 3.5s linear forwards; }
.toast.success .toast-progress { background: var(--success); }
.toast.error .toast-progress { background: var(--danger); }
.toast.info .toast-progress { background: var(--info); }
.toast.warning .toast-progress { background: var(--warning); }
@keyframes toastProgress { from { width: 100%; } to { width: 0%; } }

/* ============ QUOTE CARD ============ */

.quote-card { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-card); border: none; position: relative; transition: var(--transition); }
.quote-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.quote-card:hover { background: var(--bg-card-hover); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.quote-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.quote-card-title { font-size: 1.1rem; font-weight: 700; color: var(--text-white); }
.quote-card-body { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.quote-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.04); gap: 14px; }
.quote-card-price { font-size: 1.3rem; font-weight: 800; color: var(--accent-light); }
.quote-card-meta { font-size: 0.72rem; color: var(--text-muted); }

/* ============ MISC COMPONENTS ============ */

.availability-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.availability-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 500; background: var(--bg-surface); border: none; color: var(--text-secondary); }
.availability-tag.available { background: var(--success-bg); color: var(--success); }
.availability-tag.busy { background: var(--danger-bg); color: var(--danger); }
.availability-tag.partial { background: var(--warning-bg); color: var(--warning); }
.availability-tag .tag-time { font-weight: 600; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 1px; background: rgba(255,255,255,0.04); }
.timeline-item { position: relative; padding-bottom: 24px; padding-left: 10px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -25px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-card); border: 2px solid rgba(255,255,255,0.06); z-index: 1; }
.timeline-item:hover::before { border-color: var(--accent); }
.timeline-item.active::before { background: var(--accent); border-color: var(--accent); }
.timeline-item-time { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.timeline-item-title { font-size: 0.88rem; font-weight: 600; color: var(--text-white); margin-bottom: 3px; }
.timeline-item-description { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }

.message-card { padding: 20px; border-radius: var(--radius); background: var(--bg-card); border: none; transition: var(--transition); cursor: pointer; }
.message-card:hover { background: var(--bg-card-hover); transform: translateY(-2px); }
.message-card.unread { border-left: 3px solid var(--accent); }
.message-card.unread .message-card-sender { color: var(--text-white); font-weight: 600; }
.message-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.message-card-sender { font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); }
.message-card-time { font-size: 0.68rem; color: var(--text-muted); }
.message-card-subject { font-size: 0.88rem; font-weight: 600; color: var(--text-white); margin-bottom: 5px; }
.message-card-preview { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.message-card-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; color: #1a1a2e; flex-shrink: 0; }

.glow-border, .glow-border-static { border: none; border-radius: var(--radius-lg); background: var(--bg-card); }
.glow-border::before, .glow-border::after, .glow-border-static::before, .glow-border-static::after { display: none; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--bg-card); color: var(--text-secondary); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.pagination-btn:hover { background: var(--bg-elevated); color: var(--text-white); }
.pagination-btn.active { background: var(--accent); color: #1a1a2e; font-weight: 700; }

/* ============ CONTACT HOME SECTION ============ */

.contact-home-section {
  padding: 100px 0 120px;
}

.contact-home-banner {
  text-align: center;
  padding: 72px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.1);
  position: relative;
  overflow: hidden;
}

.contact-home-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact-home-banner h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.contact-home-banner p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 32px;
}

.contact-home-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-home-infos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.contact-home-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-home-info span {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .contact-home-banner { padding: 48px 24px; }
  .contact-home-banner h2 { font-size: 1.8rem; }
  .contact-home-infos { flex-direction: column; align-items: center; gap: 16px; }
}

/* ============ FOOTER ============ */

.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  margin-top: 80px;
  background: linear-gradient(180deg, var(--bg-darker) 0%, #050508 100%);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo-icon { height: 30px; width: auto; }
.footer-brand .nav-logo-text { font-size: 1.1rem; }
.footer-brand .logo-ls { font-size: 1.5rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.85rem; margin-top: 14px; line-height: 1.8; max-width: 300px; }
.footer-discord-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 10px 22px;
  border-radius: 100px;
  background: #5865F2; color: white;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none; transition: all 0.3s var(--ease);
}
.footer-discord-btn:hover { background: #4752c4; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3); }
.footer h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-light); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(201, 168, 76, 0.08); display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-secondary); }
.footer-bottom a { color: var(--accent-light); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ============ TESTIMONIALS ============ */

.testimonials-section { background: var(--bg-section); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 32px; }
.testimonial-card { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.testimonial-stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 2px; }
.testimonial-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; color: var(--text-white); font-size: 0.9rem; }
.testimonial-date { font-size: 0.75rem; color: var(--text-muted); }

.star-rating { display: flex; gap: 4px; }
.star-btn { font-size: 1.8rem; color: var(--text-muted); cursor: pointer; transition: color 0.15s; }
.star-btn.active { color: var(--accent); }
.star-btn:hover { color: var(--accent-light); }

/* ============ STAT CHARTS ============ */

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-chart-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04); border-radius: 14px; padding: 24px; }
.stat-chart-card h3 { font-size: 0.9rem; font-weight: 600; color: var(--text-white); margin-bottom: 20px; }
.stat-bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding-top: 8px; }
.stat-bar-wrapper { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.stat-bar { width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), var(--accent-dark)); min-height: 4px; transition: height 0.6s var(--ease); animation: barGrow 0.8s var(--ease) backwards; }
.stat-bar-label { font-size: 0.65rem; color: var(--text-muted); text-align: center; }
.stat-bar-value { font-size: 0.7rem; color: var(--text-white); font-weight: 600; }
@keyframes barGrow { from { height: 0 !important; } }

.stat-donut { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto; position: relative; }
.stat-donut-center { position: absolute; inset: 25%; border-radius: 50%; background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: var(--text-white); }
.stat-legend { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.stat-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-secondary); }
.stat-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.stat-metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-metric { text-align: center; padding: 16px; background: var(--bg-surface); border-radius: var(--radius-sm); }
.stat-metric-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat-metric-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-metric-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ DASHBOARD ENHANCED ============ */

/* Dashboard Sections */
.dash-section { margin-bottom: 36px; }
.dash-section-title {
  font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Top Stats Row - 4 clean cards */
.dash-top-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 36px;
}
.dash-stat-card {
  padding: 24px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
  display: flex; flex-direction: column; align-items: flex-start;
}
.dash-stat-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.07);
}
.dash-stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,168,76,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.dash-stat-number {
  font-size: 2.2rem; font-weight: 800; color: var(--text-white);
  line-height: 1;
}
.dash-stat-label {
  font-size: 0.72rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Activity List - clean simple rows */
.dash-activity-list {
  background: var(--bg-card); border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}
.dash-activity-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  font-size: 0.85rem;
  transition: var(--transition);
}
.dash-activity-row:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.dash-activity-row:hover { background: rgba(255,255,255,0.02); }
.dash-activity-row-icon { font-size: 0.95rem; flex-shrink: 0; width: 24px; text-align: center; }
.dash-activity-row-text { flex: 1; color: var(--text-white); font-weight: 500; }
.dash-activity-row-user { color: var(--text-secondary); font-size: 0.78rem; font-weight: 600; }
.dash-activity-row-time { color: var(--text-muted); font-size: 0.72rem; opacity: 0.7; min-width: 70px; text-align: right; }

/* Dashboard Responsive */
@media (max-width: 1024px) {
  .dash-top-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .dash-top-stats { grid-template-columns: 1fr; }
  .dash-activity-row-user { display: none; }
}

/* ============ CLIENT TAGS ============ */

.user-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; vertical-align: middle; }
.user-tag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 12px; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.user-tag-remove { background: none; border: none; cursor: pointer; font-size: 0.8rem; opacity: 0.6; color: inherit; padding: 0; }
.user-tag-remove:hover { opacity: 1; }
.tag-VIP { background: rgba(201,168,76,0.15); color: #c9a84c; }
.tag-Acheteur { background: rgba(74,222,128,0.15); color: #4ade80; }
.tag-Vendeur { background: rgba(96,165,250,0.15); color: #60a5fa; }
.tag-Investisseur { background: rgba(167,139,250,0.15); color: #a78bfa; }
.tag-Locataire { background: rgba(251,191,36,0.15); color: #fbbf24; }
.tag-Premium { background: rgba(244,114,182,0.15); color: #f472b6; }

.tag-add-select { padding: 4px 8px; font-size: 0.75rem; border-radius: 8px; background: var(--bg-surface); border: 1px solid var(--border); color: var(--text); cursor: pointer; }

/* ============ ACTIVITY TIMELINE ============ */

.activity-timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 24px; }
.activity-timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.activity-item { position: relative; padding: 12px 0; }
.activity-dot { position: absolute; left: -21px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg-card); z-index: 1; }
.activity-content { padding-left: 4px; }

/* ============ NOTIFICATION BELL ============ */

.notif-bell { position: relative; background: none; border: none; color: var(--text-secondary); cursor: pointer; padding: 8px; border-radius: 50%; transition: var(--transition); }
.notif-bell:hover { color: var(--text-white); background: var(--bg-card); }
.notif-badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; border-radius: 10px; background: var(--danger); color: white; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.notif-badge.hidden { display: none; }

.notif-dropdown { position: absolute; top: 100%; right: 0; width: 360px; max-height: 420px; overflow-y: auto; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0,0,0,0.5); z-index: 2000; }
.notif-dropdown.hidden { display: none; }
.notif-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notif-header h4 { font-size: 0.9rem; color: var(--text-white); }
.notif-mark-all { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 0.78rem; }
.notif-mark-all:hover { text-decoration: underline; }
.notif-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.notif-item:hover { background: var(--bg-card); }
.notif-item.unread { background: rgba(201,168,76,0.04); }
.notif-item.unread::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 8px; }
.notif-item-content { flex: 1; min-width: 0; }
.notif-item-title { font-size: 0.85rem; font-weight: 600; color: var(--text-white); margin-bottom: 2px; }
.notif-item-msg { font-size: 0.8rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item-time { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }
.notif-empty { padding: 32px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* ============ PROFILE PAGE ============ */

.profile-page { animation: fadeInUp 0.4s var(--ease); }

.profile-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; background: var(--bg-card); border: 1px solid var(--border); }
.profile-banner-bg { height: 160px; background: linear-gradient(135deg, rgba(201,168,76,0.25) 0%, rgba(201,168,76,0.05) 40%, rgba(96,165,250,0.12) 70%, rgba(167,139,250,0.1) 100%); border-bottom: 1px solid var(--border); position: relative; }
.profile-banner-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(201,168,76,0.08) 1px, transparent 1px); background-size: 20px 20px; }
.profile-banner-content { display: flex; align-items: center; gap: 22px; padding: 0 28px 24px; margin-top: -50px; position: relative; z-index: 1; }
.profile-big-avatar { width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 4px solid var(--bg-card); box-shadow: 0 8px 32px rgba(0,0,0,0.35); flex-shrink: 0; }
.profile-name { font-size: 1.5rem; font-weight: 700; color: var(--text-white); margin-bottom: 0; }
.profile-banner-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); display: inline-block; box-shadow: 0 0 8px rgba(74,222,128,0.5); animation: statusPulse 2s ease-in-out infinite; }
@keyframes statusPulse { 0%, 100% { box-shadow: 0 0 8px rgba(74,222,128,0.5); } 50% { box-shadow: 0 0 16px rgba(74,222,128,0.8); } }
.profile-role-badge { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.profile-role-admin { background: rgba(201,168,76,0.15); color: var(--accent); border: 1px solid rgba(201,168,76,0.25); }
.profile-role-agent { background: rgba(96,165,250,0.15); color: var(--info); border: 1px solid rgba(96,165,250,0.25); }
.profile-role-player { background: rgba(74,222,128,0.15); color: var(--success); border: 1px solid rgba(74,222,128,0.25); }
.profile-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.profile-meta-login { font-size: 0.75rem; opacity: 0.7; }
.profile-banner-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* Account Overview */
.profile-overview-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; transition: var(--transition); }
.profile-overview-card:hover { border-color: var(--border-hover); }
.profile-overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.profile-overview-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-surface); border-radius: var(--radius-sm); transition: var(--transition); }
.profile-overview-item:hover { background: var(--bg-hover); }
.profile-overview-item svg { color: var(--text-muted); flex-shrink: 0; }
.profile-overview-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; }
.profile-overview-value { display: block; font-size: 0.88rem; color: var(--text-white); font-weight: 500; }
.profile-active-indicator { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin-right: 6px; box-shadow: 0 0 6px rgba(74,222,128,0.4); }

/* Stats */
.profile-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.profile-stat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 14px; background: var(--bg-surface); border-radius: var(--radius-sm); text-align: center; transition: var(--transition); }
.profile-stat-item:hover { background: var(--bg-hover); transform: translateY(-2px); }
.profile-stat-icon-mini { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-stat-number { font-size: 1.6rem; font-weight: 700; color: var(--text-white); line-height: 1; }
.profile-stat-desc { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* Grid & Cards */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-section-full { grid-column: 1 / -1; }
.profile-section-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: var(--transition); }
.profile-section-card:hover { border-color: var(--border-hover); }
.profile-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.profile-section-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.profile-section-header h3 { font-size: 1rem; font-weight: 600; color: var(--text-white); }

/* Forms */
.profile-form { display: flex; flex-direction: column; gap: 16px; }
.profile-field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-field-group-3 { grid-template-columns: 1fr 1fr 1fr; }
.profile-field { display: flex; flex-direction: column; gap: 6px; }
.profile-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-secondary); }
.profile-input-icon { position: relative; }
.profile-save-btn { align-self: flex-start; display: flex; align-items: center; gap: 8px; margin-top: 4px; }

.btn-danger-outline { background: transparent; border: 1px solid var(--danger); color: var(--danger); padding: 10px 20px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.85rem; font-weight: 500; transition: var(--transition); }
.btn-danger-outline:hover { background: var(--danger-bg); }

/* Info grid */
.profile-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.profile-info-item { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--bg-surface); border-radius: var(--radius-sm); }
.profile-info-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; }
.profile-info-value { font-size: 0.95rem; color: var(--text-white); font-weight: 500; }

/* Security section */
.profile-security-info { margin-bottom: 20px; }
.profile-security-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile-security-item { padding: 14px; background: var(--bg-surface); border-radius: var(--radius-sm); }
.profile-security-divider { height: 1px; background: var(--border); margin: 20px 0; }
.profile-sub-header { font-size: 0.9rem; font-weight: 600; color: var(--text-white); margin-bottom: 16px; }

/* Tags */
.profile-tags-display { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.profile-tags-display .user-tag { padding: 4px 14px; font-size: 0.78rem; }
.profile-tags-hint { font-size: 0.75rem; color: var(--text-muted); font-style: italic; margin-top: 8px; }

/* Preferences */
.profile-pref-list { display: flex; flex-direction: column; gap: 0; }
.profile-pref-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.profile-pref-item:last-child { border-bottom: none; }
.profile-pref-info { display: flex; flex-direction: column; gap: 2px; }
.profile-pref-title { font-size: 0.9rem; font-weight: 600; color: var(--text-white); }
.profile-pref-desc { font-size: 0.75rem; color: var(--text-muted); }
.profile-pref-select { max-width: 180px; font-size: 0.82rem; padding: 6px 12px; }

/* Toggle switch */
.profile-toggle { position: relative; display: inline-block; width: 46px; height: 24px; flex-shrink: 0; }
.profile-toggle input { opacity: 0; width: 0; height: 0; }
.profile-toggle-slider { position: absolute; cursor: pointer; inset: 0; background-color: var(--bg-surface); border: 1px solid var(--border); transition: 0.3s; border-radius: 24px; }
.profile-toggle-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 2px; bottom: 2px; background-color: var(--text-muted); transition: 0.3s; border-radius: 50%; }
.profile-toggle input:checked + .profile-toggle-slider { background-color: rgba(74,222,128,0.2); border-color: var(--success); }
.profile-toggle input:checked + .profile-toggle-slider::before { transform: translateX(22px); background-color: var(--success); }

/* Danger zone */
.profile-danger-zone { border-color: rgba(248,113,113,0.3) !important; }
.profile-danger-zone:hover { border-color: rgba(248,113,113,0.5) !important; }
.profile-danger-text { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }
.profile-delete-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--danger); color: var(--danger); padding: 10px 24px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.profile-delete-btn:hover { background: rgba(248,113,113,0.1); border-color: #f87171; color: #f87171; }

@media (max-width: 768px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-field-group, .profile-field-group-3 { grid-template-columns: 1fr; }
  .profile-info-grid { grid-template-columns: 1fr 1fr; }
  .profile-banner-content { flex-direction: column; text-align: center; padding: 0 16px 20px; }
  .profile-overview-grid { grid-template-columns: 1fr 1fr; }
  .profile-security-row { grid-template-columns: 1fr; }
  .profile-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-banner-name-row { justify-content: center; }
  .profile-banner-tags { justify-content: center; }
}

/* ============ ANIMATIONS ============ */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(10px) scale(0.95); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.fade-in { animation: fadeInUp 0.5s var(--ease) both; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
.fade-in-delay-5 { animation-delay: 0.5s; }

.stagger-grid > * { animation: fadeInUp 0.4s var(--ease) both; }
.stagger-grid > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-grid > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-grid > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-grid > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-grid > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-grid > *:nth-child(6) { animation-delay: 0.3s; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.page-transition { position: fixed; inset: 0; background: var(--bg); z-index: 5000; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.page-transition.active { opacity: 1; }
.page-enter { animation: fadeInUp 0.4s var(--ease) both; }

/* ============ SCROLLBAR ============ */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.12); }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.06) transparent; }

/* ============ UTILITIES ============ */

.hidden { display: none !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; } .mb-4 { margin-bottom: 40px; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 28px; }
.flex { display: flex; } .flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { display: flex; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.w-full { width: 100%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.no-select { user-select: none; }

.empty-state { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 20px; opacity: 0.25; }
.empty-state h3 { font-size: 1.3rem; color: var(--text-secondary); margin-bottom: 10px; }
.empty-state p { font-size: 0.9rem; max-width: 400px; margin: 0 auto; line-height: 1.7; }
.empty-state .btn { margin-top: 24px; }

.loading-spinner { display: flex; justify-content: center; padding: 48px; }
.spinner { width: 32px; height: 32px; border: 2px solid rgba(255,255,255,0.06); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; }
.spinner-sm { width: 18px; height: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-elevated) 50%, var(--bg-surface) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text-secondary); border-radius: 1px; transition: var(--transition); }
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ CONTACT ============ */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item:hover .contact-info-icon { background: rgba(201,168,76,0.15); transform: scale(1.05); }
.contact-info-text h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 3px; }
.contact-info-text p { color: var(--text-secondary); font-size: 0.85rem; }

/* ============ ABOUT PAGE ============ */

/* Hero Banner */
/* ============ ABOUT PAGE ============ */

/* Hero */
.about-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, transparent 40%, rgba(201,168,76,0.02) 100%);
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,168,76,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(201,168,76,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.about-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  animation: aboutParticleFloat 8s ease-in-out infinite;
}
.about-particle-1 {
  width: 6px; height: 6px;
  top: 20%; left: 15%;
  animation-delay: 0s;
}
.about-particle-2 {
  width: 4px; height: 4px;
  top: 60%; right: 20%;
  animation-delay: 2.5s;
}
.about-particle-3 {
  width: 8px; height: 8px;
  bottom: 25%; left: 60%;
  animation-delay: 5s;
  background: rgba(201,168,76,0.1);
}
@keyframes aboutParticleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-30px) scale(1.3); opacity: 0.8; }
}

.about-hero-content { position: relative; z-index: 1; }
.about-hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  padding: 10px 24px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50px;
  margin-bottom: 40px;
  background: rgba(201,168,76,0.06);
}
.about-hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text-white);
}
.about-hero-title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #e8d5a0 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: aboutGoldShimmer 4s ease-in-out infinite;
}
@keyframes aboutGoldShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}
.about-hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.9;
  max-width: 620px;
  margin: 0 auto;
}
.about-hero-scroll {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.about-hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: aboutScrollPulse 2s ease-in-out infinite;
}
@keyframes aboutScrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* Separator */
.about-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}
.about-separator-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}
.about-separator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(201,168,76,0.4);
}

/* Sections */
.about-section {
  padding: 100px 0;
  position: relative;
}
.about-section-alt {
  background: rgba(255,255,255,0.012);
}
.about-section-header {
  text-align: center;
  margin-bottom: 64px;
}
.about-section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-section-header-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* Notre Histoire */
.about-story {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.about-story-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.about-story-label-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(201,168,76,0.3));
  border-radius: 2px;
}
.about-story-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 32px;
}
.about-story-text {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(201,168,76,0.15);
}
.about-story-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-story-text p:last-child { margin-bottom: 0; }
.about-story-text p strong {
  color: var(--accent-light);
  font-weight: 600;
}
.about-story-visual {
  display: flex;
  justify-content: center;
}
.about-story-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 100%);
  overflow: hidden;
  position: relative;
}
.about-story-image-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.about-story-image-border {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(201,168,76,0.15);
  pointer-events: none;
}
.about-story-image-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.about-story-image-inner span {
  font-size: 5rem;
  filter: drop-shadow(0 4px 20px rgba(201,168,76,0.2));
}
.about-story-image-inner p {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Nos Valeurs */
.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-value-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 40px 28px 36px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}
.about-value-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.5s ease;
  opacity: 0;
}
.about-value-card:hover .about-value-card-glow {
  opacity: 1;
  width: 200px;
  height: 200px;
}
.about-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(201,168,76,0.05);
  background: rgba(255,255,255,0.05);
}
.about-value-card-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.about-value-card:hover .about-value-card-line {
  width: 60%;
}
.about-value-icon {
  font-size: 2.2rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.1);
  margin-left: auto;
  margin-right: auto;
  transition: all 0.4s ease;
}
.about-value-card:hover .about-value-icon {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.2);
  transform: scale(1.08);
}
.about-value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--text-white);
  font-weight: 600;
}
.about-value-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* Call to Action */
.about-cta-section {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}
.about-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.about-cta {
  position: relative;
  text-align: center;
  padding: 80px 48px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 28px;
  overflow: hidden;
}
.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.about-cta-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: inline-block;
  filter: drop-shadow(0 4px 16px rgba(201,168,76,0.3));
}
.about-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-white);
}
.about-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 40px;
}
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--accent) 0%, #b8943d 100%);
  color: #0a0a0f;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}
.about-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(201,168,76,0.4);
  background: linear-gradient(135deg, #d4b85a 0%, var(--accent) 100%);
}
.about-cta-btn:active {
  transform: translateY(-1px) scale(1.01);
}
.about-cta-btn svg {
  transition: transform 0.3s ease;
}
.about-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Scroll fade-in animation */
.about-value-card {
  opacity: 0;
  transform: translateY(24px);
  animation: aboutFadeUp 0.6s var(--ease) forwards;
}
.about-value-card:nth-child(1) { animation-delay: 0.1s; }
.about-value-card:nth-child(2) { animation-delay: 0.2s; }
.about-value-card:nth-child(3) { animation-delay: 0.3s; }
.about-value-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes aboutFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px; }
.auth-card { width: 100%; max-width: 420px; padding: 40px; }
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .auth-subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.auth-switch { text-align: center; margin-top: 24px; font-size: 0.85rem; color: var(--text-muted); }
.auth-switch a { color: var(--accent-light); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.img-placeholder { background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.8rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============ PAGE LOADER ============ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeIn 0.6s var(--ease) both;
}
.loader-logo {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 24px rgba(201, 168, 76, 0.3));
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.loader-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-white);
}
.loader-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}
.loader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.loader-bar-fill {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  animation: loaderSlide 1.2s var(--ease) infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}
@keyframes loaderSlide {
  0% { transform: translateX(-160px); }
  100% { transform: translateX(400px); }
}

/* ============ 404 PAGE ============ */

.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}
.not-found-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.6s var(--ease) both;
}
.not-found-logo {
  width: 56px;
  height: 56px;
  opacity: 0.5;
  margin-bottom: 8px;
}
.not-found-code {
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.not-found-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: -4px;
}
.not-found-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.7;
}
.not-found-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 480px) {
  .not-found-code { font-size: 5rem; }
  .not-found-title { font-size: 1.3rem; }
  .not-found-actions { flex-direction: column; width: 100%; }
  .not-found-actions .btn { width: 100%; }
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .property-detail-grid { grid-template-columns: 1fr; }
  .property-sidebar-card { position: static; }
  .property-gallery { height: 340px; }
  .pd-gallery-mosaic { height: 380px; }
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
  .pd-sidebar { position: static; }
  .pd-floating-card { margin-top: -36px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .about-story { grid-template-columns: 1fr; gap: 48px; }
  .about-story-visual { order: -1; }
  .about-story-image { max-width: 400px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(9,9,15,0.98); backdrop-filter: blur(24px); flex-direction: column; padding: 24px; border-bottom: none; transform: translateY(-100%); opacity: 0; pointer-events: none; transition: var(--transition); }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-burger { display: flex; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { gap: 24px; }
  .hero-stat .stat-number { font-size: 1.6rem; }
  .properties-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .about-hero { min-height: auto; padding: calc(var(--nav-height) + 60px) 0 60px; }
  .about-hero-title { font-size: 2.4rem; }
  .about-hero-subtitle { font-size: 0.95rem; }
  .about-section { padding: 72px 0; }
  .about-cta { padding: 48px 28px; }
  .about-cta h2 { font-size: 1.5rem; }
  .about-cta-section { padding: 72px 0 80px; }
  .about-story-title { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .property-gallery { grid-template-columns: 1fr; height: auto; }
  .property-gallery-main { min-height: 240px; }
  .pd-hero { height: 45vh; min-height: 300px; }
  .pd-hero-title { font-size: 2rem; }
  .pd-hero-price { font-size: 1.7rem; }
  .pd-hero-content { padding-left: 20px; padding-right: 20px; padding-bottom: 32px; }
  .pd-hero-badges { right: 16px; top: calc(var(--nav-height) + 12px); }
  .pd-hero-back { left: 16px; top: calc(var(--nav-height) + 12px); }
  .pd-spec { padding: 10px 18px; }
  .pd-title { font-size: 1.5rem; }
  .pd-price-big { font-size: 1.8rem; }
  .pd-related .properties-grid { grid-template-columns: 1fr !important; }
  .property-gallery-side { grid-template-columns: 1fr 1fr; }
  .property-gallery-thumb { min-height: 110px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .modal { padding: 28px; }
  .toast-container { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .discord-promo { padding: 36px 24px; }
  .discord-promo-links { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-cards { grid-template-columns: 1fr; }
  .page-header { padding: calc(var(--nav-height) + 40px) 0 28px; }
  .about-values { grid-template-columns: 1fr; }
  .about-hero { min-height: auto; padding: calc(var(--nav-height) + 40px) 0 48px; }
  .about-hero-title { font-size: 1.8rem; }
  .about-hero-badge { font-size: 0.65rem; letter-spacing: 2px; padding: 8px 18px; margin-bottom: 28px; }
  .about-section { padding: 56px 0; }
  .about-cta-section { padding: 56px 0 72px; }
  .about-cta { padding: 40px 20px; }
  .about-cta h2 { font-size: 1.3rem; }
  .about-cta-btn { padding: 14px 32px; font-size: 0.88rem; }
  .about-story-title { font-size: 1.5rem; }
  .about-story-text { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ SHARE BUTTON ============ */

.btn-share {
  width: 100%;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  gap: 8px;
  margin-top: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  transition: var(--transition);
}
.btn-share:hover {
  color: var(--accent-light);
  border-color: rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.05);
}
.btn-share svg { flex-shrink: 0; }

/* ============ USER TAGS ============ */

.user-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.user-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.user-tag-remove {
  background: none; border: none; color: inherit;
  cursor: pointer; font-size: 0.85rem; line-height: 1;
  opacity: 0.6; transition: opacity 0.2s;
  padding: 0; margin-left: 2px;
}
.user-tag-remove:hover { opacity: 1; }

.tag-add-dropdown {
  position: relative; display: inline-block;
}
.tag-add-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
  background: rgba(255,255,255,0.05); border: 1px dashed rgba(255,255,255,0.1);
  color: var(--text-muted); cursor: pointer;
  transition: var(--transition);
}
.tag-add-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(201,168,76,0.05); }
.tag-dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--bg-elevated); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); padding: 4px;
  min-width: 140px; z-index: 50;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  animation: dropdownIn 0.15s var(--ease);
}
.tag-dropdown-item {
  display: block; width: 100%; padding: 6px 12px;
  border: none; background: none;
  font-size: 0.8rem; color: var(--text-secondary);
  text-align: left; cursor: pointer;
  border-radius: 6px; transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.tag-dropdown-item:hover { background: rgba(201,168,76,0.08); color: var(--text-white); }

/* ============ ANNOUNCEMENT BANNER ============ */

.announcement-banner {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  padding: 10px 48px 10px 24px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: fadeInDown 0.4s var(--ease);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.announcement-banner .announcement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.announcement-banner.type-info {
  background: rgba(96,165,250,0.18);
  color: var(--info);
  border-bottom: 1px solid rgba(96,165,250,0.35);
  border-top: 1px solid rgba(96,165,250,0.1);
}
.announcement-banner.type-warning {
  background: rgba(251,191,36,0.18);
  color: var(--warning);
  border-bottom: 1px solid rgba(251,191,36,0.35);
  border-top: 1px solid rgba(251,191,36,0.1);
}
.announcement-banner.type-success {
  background: rgba(74,222,128,0.18);
  color: var(--success);
  border-bottom: 1px solid rgba(74,222,128,0.35);
  border-top: 1px solid rgba(74,222,128,0.1);
}
.announcement-banner.type-promo {
  background: linear-gradient(135deg, rgba(201,168,76,0.25) 0%, rgba(212,168,83,0.15) 100%);
  color: var(--accent-light);
  border-bottom: 1px solid rgba(201,168,76,0.4);
  border-top: 1px solid rgba(201,168,76,0.15);
}

.announcement-text { flex: 1; min-width: 0; }

.announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: inherit; cursor: pointer;
  font-size: 1.1rem; line-height: 1;
  opacity: 0.6; transition: opacity 0.2s;
  padding: 6px;
}
.announcement-close:hover { opacity: 1; }

body.has-announcement { --announcement-height: 42px; }
body.has-announcement .hero { min-height: calc(100vh + var(--announcement-height)); padding-top: var(--announcement-height); }
body.has-announcement .page-header { padding-top: calc(var(--nav-height) + var(--announcement-height) + 56px); }
body.has-announcement .about-hero { padding-top: calc(var(--nav-height) + var(--announcement-height) + 40px); }
body.has-announcement .property-detail { padding-top: calc(var(--nav-height) + var(--announcement-height) + 24px); }
body.has-announcement .pd-hero-badges { top: calc(var(--nav-height) + var(--announcement-height) + 20px); }
body.has-announcement .pd-hero-back { top: calc(var(--nav-height) + var(--announcement-height) + 20px); }
body.has-announcement .pd-quickinfo { top: calc(var(--nav-height) + var(--announcement-height)); }
body.has-announcement .panel-layout { padding-top: calc(var(--nav-height) + var(--announcement-height) + 28px); }
body.has-announcement .panel-sidebar { top: calc(var(--nav-height) + var(--announcement-height) + 28px); }
body.has-announcement .dashboard-layout { padding-top: calc(var(--nav-height) + var(--announcement-height) + 28px); }
body.has-announcement .agency-banner { top: calc(var(--nav-height) + var(--announcement-height)); }
body.has-announcement.has-banner .hero { padding-top: calc(var(--announcement-height) + var(--banner-height)); }

/* ============ ARCHIVE TABS & UI ============ */

.archive-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  background: var(--bg-card);
  padding: 5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  width: fit-content;
}

.archive-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.archive-tab:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
}

.archive-tab.active {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(201, 168, 76, 0.1);
}

.archive-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--accent);
  color: #0a0a12;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.archived-row td {
  opacity: 0.65;
  background: rgba(255, 255, 255, 0.01) !important;
}

.archived-row:hover td {
  opacity: 0.85;
}

.panel-action-btn.warning:hover {
  color: var(--warning);
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.08);
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================================ */

/* ---------- TABLET (max-width: 1024px) enhancements ---------- */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .properties-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .testimonials-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .archive-tabs { flex-wrap: wrap; width: 100%; }
}

/* ---------- MOBILE (max-width: 768px) enhancements ---------- */

@media (max-width: 768px) {
  body { font-size: 14px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }

  /* Navbar */
  .nav-container { padding: 0 16px; }
  .nav-logo-text { font-size: 1rem; letter-spacing: 1.5px; }
  .nav-logo-accent { font-size: 0.58rem; letter-spacing: 2.5px; }
  .nav-logo-icon { height: 30px; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(9,9,15,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px 20px;
    gap: 0;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-link:hover,
  .nav-link.active {
    background: rgba(201,168,76,0.06);
  }
  .nav-link.active::after {
    bottom: auto; left: 0;
    top: 50%; transform: translateY(-50%);
    width: 3px; height: 18px;
    border-radius: 0 2px 2px 0;
  }
  .nav-burger {
    display: flex;
    padding: 10px;
    min-width: 44px; min-height: 44px;
    align-items: center; justify-content: center;
  }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-ghost { padding: 8px 14px; font-size: 0.8rem; }
  #userName { display: none; }
  .user-dropdown { right: -8px; min-width: 200px; }
  .notif-dropdown {
    position: fixed;
    top: var(--nav-height);
    left: 8px; right: 8px;
    width: auto; max-height: 70vh;
    border-radius: var(--radius);
  }

  /* Hero */
  .hero { padding: 0 20px; min-height: 90vh; }
  .hero h1 { font-size: 2rem; margin-bottom: 20px; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 36px; }
  .hero-badge { font-size: 0.65rem; padding: 6px 14px; margin-bottom: 24px; }
  .hero-stats { gap: 20px; margin-top: 48px; padding-top: 28px; flex-wrap: wrap; }
  .hero-stat .stat-number { font-size: 1.4rem; }
  .hero-stat .stat-label { font-size: 0.65rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { padding: 14px 28px; font-size: 0.88rem; min-height: 48px; }

  /* Banner */
  .agency-banner { font-size: 0.65rem; padding: 8px 0; }
  .announcement-banner { font-size: 0.75rem; padding: 8px 36px 8px 16px; }

  /* Property cards */
  .properties-grid { grid-template-columns: 1fr; gap: 16px; }
  .property-card-image { height: 200px; }
  .property-card-body { padding: 18px; }
  .property-card-price { font-size: 1.3rem; }
  .property-card-features { gap: 14px; flex-wrap: wrap; }

  /* Property detail */
  .property-detail { padding-top: calc(var(--nav-height) + 16px); padding-bottom: 60px; }
  .property-gallery { grid-template-columns: 1fr; height: auto; margin-bottom: 24px; }
  .property-gallery-main { min-height: 220px; }
  .property-gallery-side { grid-template-columns: 1fr 1fr; }
  .property-gallery-thumb { min-height: 100px; }
  .property-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .property-detail-info h1 { font-size: 1.6rem; }
  .property-detail-price { font-size: 2rem; margin-bottom: 24px; }
  .property-detail-location { font-size: 0.88rem; }
  .property-specs { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .property-spec { padding: 14px 12px; }
  .property-spec-value { font-size: 1.15rem; }
  .property-sidebar-card { position: static; padding: 24px; }
  .property-description { font-size: 0.88rem; }

  /* Property detail V2 mobile */
  .pd-hero { height: 40vh; min-height: 280px; }
  .pd-hero-title { font-size: 1.6rem; }
  .pd-hero-price { font-size: 1.5rem; }
  .pd-hero-content { padding-left: 16px; padding-right: 16px; padding-bottom: 24px; }
  .pd-hero-badges { right: 12px; top: calc(var(--nav-height) + 10px); gap: 6px; }
  .pd-hero-back { left: 12px; top: calc(var(--nav-height) + 10px); width: 38px; height: 38px; }
  .pd-badge { font-size: 0.68rem; padding: 5px 12px; }
  .pd-gallery-mosaic { height: 300px; grid-template-columns: 1fr; }
  .pd-gallery-side { grid-template-columns: repeat(4, 1fr); }
  .pd-floating-card { flex-direction: column; margin-top: -28px; padding: 20px 24px; }
  .pd-float-right { text-align: left; }
  .pd-title { font-size: 1.3rem; }
  .pd-price-big { font-size: 1.6rem; }
  .pd-layout { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 60px; }
  .pd-sidebar { position: static; }
  .pd-sidebar-card { padding: 22px; }
  .pd-desc-text { font-size: 0.88rem; }
  .pd-related { padding: 48px 0; }
  .pd-related .properties-grid { grid-template-columns: 1fr !important; }
  .pd-lightbox-nav { width: 40px; height: 40px; }
  .pd-lightbox-prev { left: 12px; }
  .pd-lightbox-next { right: 12px; }

  /* Dashboard / Admin */
  .dashboard-layout { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; gap: 16px; }
  .dashboard-sidebar { position: static; padding: 16px 10px; }
  .sidebar-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .sidebar-nav-item { margin-bottom: 0; }
  .sidebar-nav-link { padding: 8px 12px; font-size: 0.8rem; gap: 6px; }
  .sidebar-nav-link.active::before { display: none; }
  .dashboard-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .dashboard-header h2 { font-size: 1.25rem; }
  .dashboard-content { padding: 0 0 28px 0; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px; }
  .stat-card-value { font-size: 1.5rem; }
  .stat-card-icon { width: 34px; height: 34px; font-size: 0.95rem; margin-bottom: 10px; }

  /* Tables: horizontally scrollable */
  .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 0 16px; }
  .data-table { min-width: 600px; }
  .panel-table { min-width: 600px; }
  .data-table th, .data-table td { padding: 10px 14px; font-size: 0.8rem; }
  .panel-table th, .panel-table td { padding: 10px 14px; font-size: 0.8rem; }

  /* Panel layout */
  .panel-layout { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; gap: 16px; }
  .panel-sidebar { position: static; }
  .panel-nav { flex-direction: row; flex-wrap: wrap; padding: 10px; gap: 4px; }
  .panel-nav-link { padding: 8px 12px; font-size: 0.78rem; gap: 6px; }
  .panel-nav-link.active::before { display: none; }
  .panel-sidebar-header { padding: 18px 16px; }
  .panel-sidebar-footer { display: none; }
  .panel-main { padding: 0 0 28px 0; }
  .panel-grid-2 { grid-template-columns: 1fr; }
  .panel-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .panel-title { font-size: 1.3rem; }
  .panel-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .panel-stat-card { padding: 16px; gap: 12px; }
  .panel-stat-value { font-size: 1.2rem; }
  .panel-stat-icon { width: 38px; height: 38px; }
  .panel-card-header { padding: 16px 18px; }
  .panel-card-header h3 { font-size: 0.9rem; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .form-input, .form-select, .form-textarea { padding: 12px 14px; font-size: 0.88rem; min-height: 44px; }
  .custom-select-trigger { min-height: 44px; padding: 12px 14px; }
  .form-group { margin-bottom: 18px; }
  .auth-container { padding: 20px 16px; }
  .auth-card { padding: 28px 20px; }
  .auth-card h2 { font-size: 1.5rem; }

  /* Footer */
  .footer { padding: 48px 0 28px; margin-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-brand p { max-width: none; margin-left: auto; margin-right: auto; }
  .footer-discord-btn { margin: 16px auto 0; }
  .footer h4 { margin-bottom: 14px; }
  .footer-links { display: flex; flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px; }
  .service-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 18px; }

  /* About values */
  .about-values { grid-template-columns: 1fr; gap: 16px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-info-icon { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .contact-home-section { padding: 60px 0 80px; }
  .contact-home-banner { padding: 36px 20px; }
  .contact-home-banner h2 { font-size: 1.5rem; }
  .contact-home-infos { flex-direction: column; align-items: center; gap: 12px; }

  /* Profile */
  .profile-grid { grid-template-columns: 1fr; }
  .profile-field-group, .profile-field-group-3 { grid-template-columns: 1fr; }
  .profile-info-grid { grid-template-columns: 1fr 1fr; }
  .profile-banner-content { flex-direction: column; text-align: center; padding: 0 16px 20px; }
  .profile-big-avatar { width: 80px; height: 80px; font-size: 1.5rem; }
  .profile-name { font-size: 1.25rem; }
  .profile-banner-bg { height: 120px; }
  .profile-overview-grid { grid-template-columns: 1fr 1fr; }
  .profile-security-row { grid-template-columns: 1fr; }
  .profile-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-banner-name-row { justify-content: center; }
  .profile-banner-tags { justify-content: center; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 20px; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 28px; }
  .team-avatar { width: 72px; height: 72px; font-size: 1.3rem; }

  /* Modal */
  .modal-overlay { padding: 12px; }
  .modal { padding: 24px 18px; max-height: 90vh; border-radius: var(--radius-lg); }
  .modal h3 { font-size: 1.2rem; margin-bottom: 18px; padding-bottom: 14px; }
  .modal-lg { max-width: 100%; }
  .modal-footer { flex-direction: column; }
  .modal-footer .btn { width: 100%; }

  /* Discord */
  .discord-banner-inner { flex-direction: column; padding: 20px 18px; text-align: center; }
  .discord-banner-left { flex-direction: column; }
  .discord-banner-links { justify-content: center; flex-wrap: wrap; }
  .discord-logo-bg { width: 50%; opacity: 0.2; }

  /* Feature rows */
  .feature-row, .feature-row-reverse { grid-template-columns: 1fr; gap: 28px; direction: ltr; }
  .feature-text h2 { font-size: 1.5rem; }

  /* Filters */
  .filters-bar { padding: 16px; margin-bottom: 20px; }
  .filters-grid { grid-template-columns: 1fr; gap: 12px; }
  .filters-actions { flex-direction: column; width: 100%; }
  .filters-actions .btn { width: 100%; }

  /* Page header */
  .page-header { padding: calc(var(--nav-height) + 40px) 0 28px; }
  .page-header h1 { font-size: 1.8rem; }
  .page-header p { font-size: 0.9rem; }

  /* Stat charts */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-metric-grid { grid-template-columns: 1fr 1fr; }
  .stat-bar-chart { height: 120px; }

  /* Toasts */
  .toast-container { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .toast { font-size: 0.82rem; padding: 12px 14px; }

  /* Pagination */
  .pagination { gap: 6px; margin-top: 28px; }
  .pagination-btn { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }

  /* Touch-friendly buttons */
  .btn { min-height: 44px; padding: 10px 22px; }
  .btn-sm { min-height: 36px; padding: 6px 14px; }
  .btn-lg { min-height: 48px; }
  .btn-icon { width: 44px; height: 44px; }

  /* Quote cards */
  .quote-card { padding: 20px; }
  .quote-card-footer { flex-direction: column; gap: 10px; align-items: flex-start; }
  .quote-card-price { font-size: 1.1rem; }

  /* Messages */
  .message-card { padding: 16px; }

  /* Misc */
  .empty-state { padding: 48px 16px; }
  .empty-state-icon { font-size: 2.5rem; }
  .empty-state h3 { font-size: 1.1rem; }
  .refresh-btn { bottom: 16px; left: 16px; width: 44px; height: 44px; }

  /* Archive tabs */
  .archive-tabs { width: 100%; flex-wrap: wrap; }
  .archive-tab { padding: 6px 12px; font-size: 0.78rem; flex: 1; justify-content: center; min-height: 36px; }

  /* Announcement/banner offsets for mobile nav dropdown */
  body.has-announcement .nav-links { top: calc(var(--nav-height) + var(--announcement-height, 0px)); }
  body.has-banner .nav-links { top: calc(var(--nav-height) + var(--banner-height, 0px)); }
  body.has-announcement.has-banner .nav-links { top: calc(var(--nav-height) + var(--announcement-height, 0px) + var(--banner-height, 0px)); }

  /* Prevent horizontal overflow */
  #app { overflow-x: hidden; }
}

/* ---------- SMALL MOBILE (max-width: 480px) ---------- */

@media (max-width: 480px) {
  .hero { min-height: 85vh; }
  .hero h1 { font-size: 1.7rem; letter-spacing: -0.02em; }
  .hero-subtitle { font-size: 0.88rem; line-height: 1.7; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat .stat-number { font-size: 1.3rem; }

  .stat-cards { grid-template-columns: 1fr; }
  .panel-stats { grid-template-columns: 1fr; }

  .property-detail-info h1 { font-size: 1.35rem; }
  .property-detail-price { font-size: 1.7rem; }
  .property-specs { grid-template-columns: 1fr 1fr; }
  .pd-hero { height: 35vh; min-height: 250px; }
  .pd-hero-title { font-size: 1.35rem; }
  .pd-hero-price { font-size: 1.3rem; }
  .pd-features-grid { grid-template-columns: 1fr; }
  .pd-gallery-mosaic { height: auto; grid-template-columns: 1fr; }
  .pd-gallery-main { min-height: 220px; }
  .pd-gallery-side { grid-template-columns: 1fr 1fr; }
  .pd-specs-grid { grid-template-columns: 1fr 1fr; }
  .pd-sidebar-links { flex-direction: column; gap: 10px; align-items: center; }

  .profile-info-grid { grid-template-columns: 1fr; }
  .profile-big-avatar { width: 64px; height: 64px; font-size: 1.2rem; }
  .profile-name { font-size: 1.1rem; }
  .profile-overview-grid { grid-template-columns: 1fr; }
  .profile-stats-grid { grid-template-columns: 1fr 1fr; }
  .profile-pref-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .profile-pref-select { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .filters-grid { grid-template-columns: 1fr; }

  .contact-home-banner h2 { font-size: 1.3rem; }
  .contact-home-banner { padding: 28px 16px; }
  .feature-text h2 { font-size: 1.3rem; }

  .page-header { padding: calc(var(--nav-height) + 28px) 0 20px; }
  .page-header h1 { font-size: 1.5rem; }
  .about-values { grid-template-columns: 1fr; }

  /* Modal bottom sheet */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 92vh; padding: 22px 16px; }

  .auth-card { padding: 24px 16px; }
  .auth-card h2 { font-size: 1.3rem; }

  .footer { padding: 36px 0 20px; margin-top: 36px; }

  .nav-logo-text { font-size: 0.9rem; letter-spacing: 1px; }
  .nav-logo-accent { font-size: 0.52rem; }
  .nav-logo-icon { height: 26px; }
  .notif-dropdown { left: 4px; right: 4px; }

  .not-found-code { font-size: 4rem; }
  .not-found-title { font-size: 1.1rem; }
  .not-found-actions { flex-direction: column; width: 100%; }
  .not-found-actions .btn { width: 100%; }

  .stat-metric-grid { grid-template-columns: 1fr; }
  .stat-bar-chart { height: 100px; }

  .loader-logo { width: 56px; height: 56px; }
  .loader-title { font-size: 1.1rem; }
  .loader-subtitle { font-size: 0.7rem; }
  .loader-bar { width: 120px; }
}

/* ---------- LANDSCAPE PHONE ---------- */

@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 20px 40px; }
  .hero-stats { margin-top: 24px; }
  .nav-links { max-height: calc(100vh - var(--nav-height)); overflow-y: auto; }
}

/* ---------- TOUCH DEVICE HELPERS ---------- */

@media (hover: none) and (pointer: coarse) {
  .glass-card:hover { transform: none; }
  .property-card:hover { transform: none; box-shadow: none; }
  .stat-card:hover { transform: none; }
  .team-card:hover .team-avatar { transform: none; }
  .quote-card:hover { transform: none; }
  .message-card:hover { transform: none; }

  .dropdown-item { min-height: 44px; display: flex; align-items: center; }
  .sidebar-nav-link { min-height: 44px; }
  .panel-nav-link { min-height: 44px; }
  .pagination-btn { min-width: 44px; min-height: 44px; }
  .panel-action-btn { min-width: 40px; min-height: 40px; }
}

/* ============ FIVEM PLAYER BAR ============ */

.fivem-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--fivem-bar-height);
  background: #07070e;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: #b0b0c0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  letter-spacing: 0.02em;
}

.fivem-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  flex-shrink: 0;
  animation: fivemPulse 2s ease-in-out infinite;
}

.fivem-status-dot.orange {
  background: #f59e0b;
  animation: fivemPulseOrange 2s ease-in-out infinite;
}

.fivem-status-dot.red {
  background: #ef4444;
  animation: fivemPulseRed 2s ease-in-out infinite;
}

@keyframes fivemPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

@keyframes fivemPulseOrange {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); }
}

@keyframes fivemPulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
}

/* ============================================
   Property Form Sections
   ============================================ */
.pf-section {
  margin-bottom: 28px;
}
.pf-section:last-of-type {
  margin-bottom: 8px;
}
.pf-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.pf-section-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pf-section-icon svg {
  color: #c9a84c;
}
.pf-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}
.pf-price-input {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  letter-spacing: 0.5px;
}
