/* ════════════════════════════════════════════════
   Millenium Immo Conseil — Feuille de style partagée
   (mêmes couleurs / typographie que la page d'accueil)
   ════════════════════════════════════════════════ */

/* ── ROOT ───────────────────────────────── */
:root {
  --gold:       #C9A96E;
  --gold-light: #DFC08A;
  --dark:       #111111;
  --gray:       #666;
  --light-bg:   #F3F2EF;
  --navy:       #15213A;
  --cream:      #EDE5D5;
  --white:      #FFFFFF;
  --font:       'Raleway', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

/* ── HEADER ─────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.header-inner {
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav drawer */
.main-nav {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(255,255,255,0.99);
  padding: 24px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  flex-direction: column;
  gap: 18px;
  z-index: 290;
}
.main-nav.open { display: flex; }

.main-nav a {
  color: var(--dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }

@media (min-width: 1024px) {
  .header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 70px;
  }
  .logo img { height: 44px; }
  .nav-toggle { display: none; }
  .main-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    gap: 20px;
    padding: 0;
    background: none;
    border: none;
  }
  .main-nav a { font-size: 0.7rem; }
}

/* ── BOUTONS ────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: #111;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-ghost {
  background: rgba(0,0,0,0.30);
  color: var(--white);
  padding: 11px 22px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: #fff; background: rgba(0,0,0,0.50); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.65);
  padding: 12px 26px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline-dark:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* bouton or sur fond clair */
.btn-cta-gold {
  background: var(--gold);
  color: #111;
  padding: 13px 22px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-cta-gold:hover { background: var(--gold-light); }

.btn-cta-dark {
  background: transparent;
  color: var(--navy);
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.btn-cta-dark:hover { background: rgba(21,25,58,0.06); }

/* ── HERO DE PAGE (bandeau navy) ────────── */
.page-hero {
  position: relative;
  background: var(--navy);
  padding: 120px 20px 56px;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span.sep { color: rgba(255,255,255,0.25); }
.breadcrumb span.current { color: var(--gold); }

.page-hero .eyebrow {
  display: block;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 760px;
}
.page-hero h1 .gold { color: var(--gold); }

.page-hero p.lead {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 18px;
  max-width: 600px;
}

@media (min-width: 768px) {
  .page-hero { padding: 150px 32px 72px; }
  .page-hero h1 { font-size: 2.8rem; }
}
@media (min-width: 1024px) {
  .page-hero { padding: 160px 40px 80px; }
  .page-hero h1 { font-size: 3.2rem; }
}

/* ── HERO DE PAGE AVEC VISUEL ───────────── */
.page-hero-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.page-hero-copy { min-width: 0; }
.page-hero-media { position: relative; min-width: 0; }
.page-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.38);
}
.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,169,110,0.55);
  border-radius: 3px;
  transform: translate(14px, 14px);
  pointer-events: none;
}
@media (min-width: 900px) {
  .page-hero-split { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .page-hero-media { margin-right: 14px; }
  .page-hero-media img { aspect-ratio: 5/4; max-height: 420px; }
}

/* ── SECTIONS GÉNÉRIQUES ────────────────── */
.section { padding: 56px 20px; }
.section.alt { background: var(--light-bg); }
.section.cream { background: var(--cream); }
.container { max-width: 1140px; margin: 0 auto; }
.container-narrow { max-width: 820px; margin: 0 auto; }

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 18px;
}
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .section-h2 { margin-bottom: 0; }
.section-head p { color: var(--gray); font-size: 0.88rem; max-width: 620px; margin: 14px auto 0; line-height: 1.75; }

.lead-text { color: var(--gray); font-size: 0.92rem; line-height: 1.85; }
.lead-text p { margin-bottom: 16px; }
.lead-text p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .section { padding: 72px 32px; }
  .section-h2 { font-size: 1.9rem; }
}
@media (min-width: 1024px) {
  .section { padding: 96px 40px; }
  .section-h2 { font-size: 2.1rem; }
}

/* ── GRILLE DE CARTES SERVICES ──────────── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 4px;
  padding: 30px 26px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.section.alt .feature-card,
.section.cream .feature-card { background: var(--white); }
.feature-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.09); transform: translateY(-3px); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.feature-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.7; }

@media (min-width: 640px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ── LISTE À PUCES OR ───────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list li strong { color: var(--dark); font-weight: 700; }

/* ── DEUX COLONNES (texte + visuel) ─────── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.split-media {
  border-radius: 4px;
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse .split-media { order: 2; }
}

/* ── ÉTAPES / PROCESS ───────────────────── */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 4px;
  padding: 28px 24px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px; left: 24px;
  width: 38px; height: 38px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 0.95rem; font-weight: 700; margin: 10px 0 8px; }
.step p { font-size: 0.8rem; color: var(--gray); line-height: 1.65; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── STATS ──────────────────────────────── */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat .label { font-size: 0.74rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }
.section.navy { background: var(--navy); }
.section.navy .section-h2 { color: var(--white); }
.section.navy .lead-text { color: rgba(255,255,255,0.7); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ── TARIFS / HONORAIRES ────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.price-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 1.5px solid var(--gold);
  box-shadow: 0 16px 44px rgba(201,169,110,0.18);
  position: relative;
}
.price-card.featured::before {
  content: 'Le plus demandé';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: #111;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-card h3 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.price-card .price { font-size: 2.4rem; font-weight: 800; color: var(--dark); line-height: 1; }
.price-card .price small { font-size: 0.85rem; font-weight: 600; color: var(--gray); }
.price-card .price-sub { font-size: 0.78rem; color: var(--gray); margin: 8px 0 22px; }
.price-card .check-list { margin-bottom: 26px; }
.price-card .check-list li { font-size: 0.82rem; }
.price-card .btn-cta-gold, .price-card .btn-cta-dark { justify-content: center; margin-top: auto; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.fee-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.fee-table th, .fee-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.08); }
.fee-table thead th { background: var(--navy); color: var(--white); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; }
.fee-table tbody tr:hover { background: var(--light-bg); }
.fee-table td:last-child { font-weight: 700; color: var(--gold); white-space: nowrap; }
.fee-table-wrap { overflow-x: auto; border: 1px solid rgba(0,0,0,0.08); border-radius: 6px; }
.fee-table td:last-child { vertical-align: top; }
.fee-table .fee-note {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0;
  white-space: normal;
}
.note { font-size: 0.74rem; color: var(--gray); margin-top: 14px; line-height: 1.6; }

/* ── ÉQUIPE / À PROPOS ──────────────────── */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.team-card { text-align: center; }
.team-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(155deg, var(--navy) 0%, #2a3a5c 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 2rem; font-weight: 800;
  border: 3px solid var(--gold);
}
.team-card h3 { font-size: 1rem; font-weight: 700; }
.team-card .role { font-size: 0.72rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; margin: 4px 0 10px; }
.team-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.65; max-width: 280px; margin: 0 auto; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ── CONTACT ────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }

.contact-info-card { display: flex; flex-direction: column; gap: 22px; }
.contact-info-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-row .ci-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-info-row h4 { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.contact-info-row p, .contact-info-row a { font-size: 0.92rem; color: var(--dark); text-decoration: none; line-height: 1.5; }
.contact-info-row a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 4px;
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.74rem; color: var(--gray); line-height: 1.5; }
.form-consent input { margin-top: 3px; accent-color: var(--gold); }
.form-feedback { font-size: 0.82rem; color: var(--gold); font-weight: 600; display: none; }
.form-feedback.show { display: block; }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: 6px; margin-top: 8px; }

/* ── BANDEAU CTA (réutilisable) ─────────── */
.cta-band {
  background: var(--cream);
  padding: 48px 24px;
  text-align: center;
}
.cta-band h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.cta-band h2 .gold { color: var(--gold); }
.cta-band p { color: var(--gray); font-size: 0.88rem; max-width: 520px; margin: 0 auto 24px; line-height: 1.7; }
.cta-band .cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 768px) { .cta-band { padding: 64px 32px; } .cta-band h2 { font-size: 2.2rem; } }

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--navy);
  padding: 48px 20px 24px;
}
.footer-wrap { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 22px;
}
.f-logo-link { display: inline-block; margin-bottom: 16px; }
.f-logo {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}
.f-brand-desc { color: rgba(255,255,255,0.4); font-size: 0.78rem; line-height: 1.8; max-width: 230px; }
.f-col-title { color: var(--white); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 16px; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.f-links a { color: rgba(255,255,255,0.42); text-decoration: none; font-size: 0.78rem; transition: color 0.18s; }
.f-links a:hover { color: var(--gold); }
.f-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,0.42); font-size: 0.78rem; line-height: 1.55; }
.f-contact-row svg { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; font-size: 0.68rem; color: rgba(255,255,255,0.2); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom a { color: rgba(255,255,255,0.24); text-decoration: none; transition: color 0.18s; }
.footer-bottom a:hover { color: var(--gold); }

@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1024px) {
  footer { padding: 64px 40px 28px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 56px; padding-bottom: 48px; margin-bottom: 26px; }
}

/* ── CATALOGUE (biens) ──────────────────── */
.catalogue-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.filter-btn {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 20px;
  padding: 9px 18px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--dark); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.listing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .listing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .listing-grid { grid-template-columns: repeat(3, 1fr); } }

.listing-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.25s, transform 0.25s;
}
.listing-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.12); transform: translateY(-3px); }
.listing-card-photo { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--light-bg); }
.listing-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; color: var(--white);
}
.listing-badge.disponible     { background: #2E7D4F; }
.listing-badge.sous_compromis { background: var(--gold); color: #111; }
.listing-badge.vendu          { background: var(--gray); }
.listing-card-body { padding: 20px 20px 22px; }
.listing-card-body .listing-type { color: var(--gold); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.listing-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.listing-card-body .listing-price { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.76rem; color: var(--gray); }
.catalogue-empty, .catalogue-loading { text-align: center; color: var(--gray); font-size: 0.9rem; padding: 40px 20px; }

/* ── FICHE BIEN ─────────────────────────── */
.listing-detail { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .listing-detail { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.listing-gallery-main { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 4px; background-color: var(--light-bg); box-shadow: 0 12px 40px rgba(0,0,0,0.14); }
.listing-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.listing-gallery-thumbs .thumb { width: 64px; height: 64px; border-radius: 3px; background-size: cover; background-position: center; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; border: none; padding: 0; }
.listing-gallery-thumbs .thumb:hover, .listing-gallery-thumbs .thumb.active { opacity: 1; }
.listing-detail-info .listing-price { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 10px 0 18px; }
.listing-detail-info .listing-meta { margin-bottom: 22px; font-size: 0.85rem; gap: 18px; }
.listing-detail-info .cta-block { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(0,0,0,0.08); }
.listing-detail-info .cta-block p { font-size: 0.9rem; color: var(--dark); font-weight: 600; margin-bottom: 14px; }
.listing-detail-info .cta-block .cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── ADMIN ──────────────────────────────── */
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-toolbar .admin-user { font-size: 0.8rem; color: var(--gray); }
.admin-table-wrap { overflow-x: auto; border: 1px solid rgba(0,0,0,0.08); border-radius: 6px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.08); vertical-align: middle; }
.admin-table thead th { background: var(--navy); color: var(--white); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-table tbody tr:hover { background: var(--light-bg); }
.admin-thumb { width: 56px; height: 42px; border-radius: 3px; background-size: cover; background-position: center; background-color: var(--light-bg); }
.admin-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.publie-pill { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.06em; display: inline-block; }
.publie-pill.oui { background: rgba(46,125,79,0.12); color: #2E7D4F; }
.publie-pill.non { background: rgba(0,0,0,0.06); color: var(--gray); }
.btn-danger {
  background: transparent;
  border: 1.5px solid #B23A2E;
  color: #B23A2E;
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-danger:hover { background: #B23A2E; color: var(--white); }
.btn-small { padding: 8px 14px; font-size: 0.66rem; }
.photo-dropzone {
  border: 1.5px dashed rgba(0,0,0,0.2);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  color: var(--gray);
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--light-bg);
}
.photo-dropzone:hover { border-color: var(--gold); color: var(--dark); }
.photo-preview-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.photo-preview-grid .p-thumb { position: relative; width: 90px; height: 90px; border-radius: 4px; overflow: hidden; background-size: cover; background-position: center; background-color: var(--light-bg); }
.photo-preview-grid .p-thumb button {
  position: absolute; top: 3px; right: 3px;
  background: rgba(0,0,0,0.6); color: #fff; border: none;
  border-radius: 50%; width: 20px; height: 20px; cursor: pointer;
  font-size: 0.7rem; line-height: 1;
}
.admin-panel { background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: 6px; padding: 28px 24px; margin-bottom: 28px; }
.admin-panel h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.form-feedback.error { color: #B23A2E; }
.hidden { display: none !important; }

/* ── Réseaux sociaux (footer) ── */
.f-socials { display: flex; gap: 10px; margin-top: 18px; }
.f-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.55);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.f-socials a:hover {
  color: #111;
  background: var(--gold);
  border-color: var(--gold);
}
.f-socials svg { width: 16px; height: 16px; }

/* ── Réalisations (vendus / à la vente) ── */
.reals-block + .reals-block { margin-top: 48px; }
.reals-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 18px; text-align: center; }
.reals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; max-width: 820px; margin: 0 auto; }
.real-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(21,33,58,0.08); }
.real-photo { position: relative; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.real-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,33,58,0.45), rgba(21,33,58,0) 55%); }
.real-badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--gold); color: var(--navy); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; padding: 5px 12px; border-radius: 3px; }
.real-badge.sale { background: var(--navy); color: var(--white); }
.real-logo { position: absolute; right: 12px; bottom: 12px; z-index: 1; height: 28px; width: auto; opacity: 0.95; }
.real-body { padding: 16px 20px 20px; }
.real-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.real-body p { font-size: 0.85rem; color: #6b7280; margin-top: 2px; }
.reals-more { text-align: center; margin-top: 24px; }
.reals-grid.wide { max-width: 1100px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.real-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.real-loc { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6d2f; margin: 0 0 4px; }
.real-detail { font-size: 0.88rem; color: #4b5563; margin-top: 6px; }
.real-price { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-top: 12px; }
