/* ============================================================
   DROUOT PROPRIETES — Design System
   "Du mobilier a l'immobilier"
   Luxury real estate PWA — CSS Theme
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --drouot-red: #B22222;
  --drouot-red-dark: #8B1A1A;
  --drouot-red-light: #D4423F;
  --drouot-gold: #C5A258;
  --drouot-gold-light: #D4B96A;
  --drouot-gold-dark: #A68942;
  --drouot-offwhite: #F5F5F0;
  --drouot-charcoal: #1A1A1A;
  --drouot-gray: #95A5A6;
  --drouot-gray-light: #E8E8E4;
  --drouot-gray-medium: #6B7B7C;
  --drouot-cream: #FAF9F6;
  --drouot-black: #0D0D0D;
  --drouot-white: #FFFFFF;

  /* Functional Colors */
  --color-success: #2D7D46;
  --color-warning: #D4A017;
  --color-danger: #C0392B;
  --color-info: #2E6B9E;

  /* DPE Colors */
  --dpe-a: #319834;
  --dpe-b: #55A037;
  --dpe-c: #8CBF3A;
  --dpe-d: #F2E500;
  --dpe-e: #F0B400;
  --dpe-f: #EB6B0A;
  --dpe-g: #E3001B;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes — Fluid Scale */
  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --fs-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  --fs-lg: clamp(1.15rem, 1rem + 0.75vw, 1.4rem);
  --fs-xl: clamp(1.4rem, 1.1rem + 1.5vw, 2rem);
  --fs-2xl: clamp(1.8rem, 1.3rem + 2.5vw, 2.8rem);
  --fs-3xl: clamp(2.2rem, 1.5rem + 3.5vw, 3.6rem);
  --fs-hero: clamp(2.6rem, 1.8rem + 4vw, 4.5rem);

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;

  /* Shadows — Luxury/Subtle */
  --shadow-subtle: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 20px rgba(197,162,88,0.15);
  --shadow-red: 0 4px 20px rgba(178,34,34,0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-luxury: 600ms cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --header-height: 80px;

  /* Borders */
  --border-light: 1px solid rgba(0,0,0,0.06);
  --border-medium: 1px solid rgba(0,0,0,0.12);
  --border-gold: 1px solid var(--drouot-gold);
  --border-red: 1px solid var(--drouot-red);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--drouot-charcoal);
  background-color: var(--drouot-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--drouot-charcoal);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p {
  margin-bottom: var(--space-md);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.section--lg {
  padding: var(--space-5xl) 0;
}

.section--cream {
  background: var(--drouot-cream);
}

.section--dark {
  background: var(--drouot-charcoal);
  color: var(--drouot-offwhite);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--drouot-offwhite);
}

.text-center { text-align: center; }
.text-gold { color: var(--drouot-gold); }
.text-red { color: var(--drouot-red); }
.text-gray { color: var(--drouot-gray); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

.fw-light { font-weight: var(--fw-light); }
.fw-medium { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold { font-weight: var(--fw-bold); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* --- Section Title --- */
.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--drouot-gold);
}

.section-title p {
  margin-top: var(--space-md);
  font-size: var(--fs-md);
  color: var(--drouot-gray-medium);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Decorative Line --- */
.gold-line {
  width: 60px;
  height: 2px;
  background: var(--drouot-gold);
  margin: var(--space-lg) auto;
}

.gold-line--left {
  margin-left: 0;
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-light);
  z-index: var(--z-sticky);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--drouot-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header__logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--drouot-charcoal);
  letter-spacing: 0.02em;
}

.header__logo-tagline {
  font-size: 0.65rem;
  color: var(--drouot-gold);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--drouot-charcoal);
  letter-spacing: 0.02em;
  position: relative;
  padding: var(--space-xs) 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--drouot-red);
  transition: width var(--transition-base);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__nav a:hover {
  color: var(--drouot-red);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-lg);
  background: var(--drouot-red);
  color: white !important;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base), transform var(--transition-fast);
  letter-spacing: 0.02em;
}

.header__cta::after {
  display: none !important;
}

.header__cta:hover {
  background: var(--drouot-red-dark);
  color: white !important;
  transform: translateY(-1px);
}

/* Mobile menu button */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.header__burger span {
  width: 24px;
  height: 2px;
  background: var(--drouot-charcoal);
  transition: all var(--transition-base);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  z-index: var(--z-overlay);
  padding: var(--space-2xl);
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  padding: var(--space-sm) 0;
  border-bottom: var(--border-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn--primary {
  background: var(--drouot-red);
  color: white;
}

.btn--primary:hover {
  background: var(--drouot-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

.btn--secondary {
  background: transparent;
  color: var(--drouot-red);
  border: 1.5px solid var(--drouot-red);
}

.btn--secondary:hover {
  background: var(--drouot-red);
  color: white;
}

.btn--gold {
  background: var(--drouot-gold);
  color: white;
}

.btn--gold:hover {
  background: var(--drouot-gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn--ghost {
  background: transparent;
  color: var(--drouot-charcoal);
  border: 1.5px solid var(--drouot-gray-light);
}

.btn--ghost:hover {
  border-color: var(--drouot-charcoal);
}

.btn--dark {
  background: var(--drouot-charcoal);
  color: white;
}

.btn--dark:hover {
  background: var(--drouot-black);
  transform: translateY(-1px);
}

.btn--lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--fs-base);
}

.btn--sm {
  padding: var(--space-2xs) var(--space-md);
  font-size: var(--fs-xs);
}

.btn--full {
  width: 100%;
}

.btn--icon {
  padding: var(--space-sm);
  border-radius: var(--radius-full);
}

/* --- Cards --- */
.card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-luxury), box-shadow var(--transition-luxury);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Property Card */
.property-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-luxury), box-shadow var(--transition-luxury);
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.property-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-card__image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-luxury);
}

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

/* Placeholder gradient for demo */
.property-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.6);
}

.property-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-2xs) var(--space-sm);
  background: var(--drouot-red);
  color: white;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.property-card__badge--gold {
  background: var(--drouot-gold);
}

.property-card__favorite {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.property-card__favorite:hover {
  background: white;
  transform: scale(1.1);
}

.property-card__favorite.active {
  color: var(--drouot-red);
}

.property-card__content {
  padding: var(--space-lg);
}

.property-card__price {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--drouot-charcoal);
  margin-bottom: var(--space-2xs);
}

.property-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--drouot-charcoal);
  margin-bottom: var(--space-2xs);
}

.property-card__location {
  font-size: var(--fs-sm);
  color: var(--drouot-gray-medium);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.property-card__features {
  display: flex;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: var(--border-light);
  font-size: var(--fs-sm);
  color: var(--drouot-gray-medium);
}

.property-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.property-card__ref {
  font-size: var(--fs-xs);
  color: var(--drouot-gray);
  margin-top: var(--space-sm);
  letter-spacing: 0.05em;
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--drouot-charcoal);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-base);
  color: var(--drouot-charcoal);
  background: white;
  border: 1.5px solid var(--drouot-gray-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--drouot-red);
  box-shadow: 0 0 0 3px rgba(178,34,34,0.1);
}

.form-input::placeholder {
  color: var(--drouot-gray);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2395A5A6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--drouot-red);
  cursor: pointer;
}

/* Range slider */
.form-range {
  width: 100%;
  accent-color: var(--drouot-red);
}

/* --- Search Bar (Hero) --- */
.search-bar {
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.search-bar__input {
  flex: 1;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--fs-md);
  border: none;
  background: transparent;
  outline: none;
}

.search-bar__input::placeholder {
  color: var(--drouot-gray);
  font-style: italic;
}

.search-bar__btn {
  padding: var(--space-md) var(--space-xl);
  background: var(--drouot-red);
  color: white;
  border: none;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background var(--transition-base);
  white-space: nowrap;
}

.search-bar__btn:hover {
  background: var(--drouot-red-dark);
}

/* --- Property Grid --- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-luxury);
  border: var(--border-light);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--drouot-gold);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--drouot-red), var(--drouot-red-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: transform var(--transition-base);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--drouot-gray-medium);
  line-height: 1.6;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.team-card {
  text-align: center;
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-md);
  overflow: hidden;
  border: 3px solid var(--drouot-gold);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.team-card:hover .team-card__photo {
  transform: scale(1.05);
}

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2xs);
}

.team-card__role {
  font-size: var(--fs-xs);
  color: var(--drouot-gold);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Footer --- */
.footer {
  background: var(--drouot-charcoal);
  color: var(--drouot-gray-light);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: white;
  margin-bottom: var(--space-xs);
}

.footer__brand-tagline {
  font-size: var(--fs-sm);
  color: var(--drouot-gold);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  color: white;
  margin-bottom: var(--space-md);
  font-weight: var(--fw-semibold);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--fs-sm);
  color: var(--drouot-gray);
  transition: color var(--transition-base);
}

.footer__links a:hover {
  color: var(--drouot-gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--drouot-gray);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.55) 0%,
    rgba(26,26,26,0.35) 50%,
    rgba(26,26,26,0.65) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: var(--space-2xl);
}

.hero__label {
  display: inline-block;
  padding: var(--space-2xs) var(--space-md);
  background: rgba(197,162,88,0.2);
  border: 1px solid rgba(197,162,88,0.4);
  color: var(--drouot-gold-light);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- DPE Badge --- */
.dpe-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: white;
}

.dpe-badge--A { background: var(--dpe-a); }
.dpe-badge--B { background: var(--dpe-b); }
.dpe-badge--C { background: var(--dpe-c); color: var(--drouot-charcoal); }
.dpe-badge--D { background: var(--dpe-d); color: var(--drouot-charcoal); }
.dpe-badge--E { background: var(--dpe-e); color: var(--drouot-charcoal); }
.dpe-badge--F { background: var(--dpe-f); }
.dpe-badge--G { background: var(--dpe-g); }

/* DPE Scale Display */
.dpe-scale {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 280px;
}

.dpe-scale__row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.dpe-scale__bar {
  height: 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  transition: transform var(--transition-base);
}

.dpe-scale__bar.active {
  transform: scaleX(1.05);
  box-shadow: var(--shadow-md);
}

.dpe-scale__bar.active::after {
  content: '\25C0';
  margin-left: var(--space-xs);
  font-size: 0.7rem;
}

/* --- Tags --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-2xs) var(--space-sm);
  background: var(--drouot-gray-light);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--drouot-charcoal);
}

.tag--gold {
  background: rgba(197,162,88,0.15);
  color: var(--drouot-gold-dark);
}

.tag--red {
  background: rgba(178,34,34,0.1);
  color: var(--drouot-red);
}

/* --- Auction Card --- */
.auction-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: var(--border-light);
  transition: all var(--transition-luxury);
}

.auction-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.auction-card__timer {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  padding: var(--space-md);
  background: var(--drouot-charcoal);
  color: white;
}

.auction-card__timer-unit {
  text-align: center;
}

.auction-card__timer-value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--drouot-gold);
}

.auction-card__timer-label {
  font-size: var(--fs-xs);
  color: var(--drouot-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Estimation Result --- */
.estimation-result {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--drouot-gold);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-luxury);
}

.estimation-result.visible {
  opacity: 1;
  transform: translateY(0);
}

.estimation-result__price {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--drouot-red);
}

.estimation-result__range {
  font-size: var(--fs-sm);
  color: var(--drouot-gray-medium);
  margin-top: var(--space-xs);
}

/* --- Loading Skeleton --- */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--drouot-gray-light) 25%, #f0f0ec 50%, var(--drouot-gray-light) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.5s ease forwards;
}

/* Staggered children */
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 80ms; }
.stagger > *:nth-child(3) { animation-delay: 160ms; }
.stagger > *:nth-child(4) { animation-delay: 240ms; }
.stagger > *:nth-child(5) { animation-delay: 320ms; }
.stagger > *:nth-child(6) { animation-delay: 400ms; }
.stagger > *:nth-child(7) { animation-delay: 480ms; }
.stagger > *:nth-child(8) { animation-delay: 560ms; }
.stagger > *:nth-child(9) { animation-delay: 640ms; }
.stagger > *:nth-child(10) { animation-delay: 720ms; }
.stagger > *:nth-child(11) { animation-delay: 800ms; }
.stagger > *:nth-child(12) { animation-delay: 880ms; }

/* --- Filters Panel --- */
.filters-panel {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xl);
}

.filters-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.filters-panel__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-md);
}

/* --- Calculator --- */
.calculator {
  background: var(--drouot-cream);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: var(--border-light);
}

.calculator__result {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--drouot-red);
  text-align: center;
  margin: var(--space-lg) 0;
}

.calculator__detail {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: var(--border-light);
  font-size: var(--fs-sm);
}

.calculator__detail:last-child {
  border-bottom: none;
}

/* --- Map Placeholder --- */
.map-placeholder {
  background: linear-gradient(135deg, #e8e8e4 0%, #d4d4d0 50%, #e8e8e4 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: var(--drouot-gray-medium);
  font-size: var(--fs-sm);
  border: 2px dashed var(--drouot-gray-light);
}

.map-placeholder__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

/* --- Counters / Stats --- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  padding: var(--space-xl) 0;
}

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

.stat-item__value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--drouot-gold);
  line-height: 1;
}

.stat-item__label {
  font-size: var(--fs-xs);
  color: var(--drouot-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

/* --- Toast / Notifications --- */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  padding: var(--space-md) var(--space-xl);
  background: var(--drouot-charcoal);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-toast);
  transform: translateY(120%);
  transition: transform var(--transition-base);
  font-size: var(--fs-sm);
}

.toast.show {
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .property-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .stats-bar {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__content {
    padding: var(--space-lg);
  }

  .search-bar {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .search-bar__btn {
    width: 100%;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

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

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-md);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

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

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-bar {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* --- Print Styles --- */
@media print {
  .header,
  .footer,
  .search-bar,
  .btn,
  .mobile-nav {
    display: none !important;
  }

  body {
    background: white;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
  }
}
