/* ==================== RESET & BASE ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background-color: #FFFFFF;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

input, select, textarea { font-family: inherit; }

::selection { background: rgba(27,94,59,0.3); }

/* ==================== VARIABLES ==================== */
:root {
  --gold: #f75d07;
  --gold-light: #f75d07;
  --gold-dark: #f75d07;
  --text: #1a1a1a;
  --text-light: #6B6B6B;
  --bg: #FFFFFF;
  --bg-cream: #F8F7F4;
  --border: #E8E8E8;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.1);
}

/* ==================== UTILITIES ==================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

@media(min-width:768px){ .container { padding: 0 48px; } }
@media(min-width:1024px){ .container { padding: 0 80px; } }

.section-label {
  font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--gold); display: block; margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--gold); color: #fff; border-radius: 6px;
  transition: all 0.3s ease;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(27,94,59,0.35); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px solid var(--gold); color: var(--gold); border-radius: 6px;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.btn-secondary:hover { background: var(--gold); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(27,94,59,0.2); }
.btn-secondary:active { transform: translateY(-1px) scale(0.98); }

.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px solid #fff; color: #fff; border-radius: 6px;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.btn-outline-white:hover { background: #fff; color: var(--text); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-outline-white:active { transform: translateY(-1px) scale(0.98); }

.input-field {
  width: 100%; padding: 14px 16px; font-size: 14px;
  background: #F9F9F9; border: 1px solid #E0E0E0;
  border-radius: 8px; color: var(--text); transition: all 0.3s;
}
.input-field::placeholder { color: #999; }
.input-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(27,94,59,0.12); }

select.input-field { appearance: none; cursor: pointer; }
select.input-field:not([multiple]) {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ==================== SEARCH FORM V2 ==================== */
.search-box-v2 {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.search-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
}

.search-row .input-field,
.btn-search-green,
.btn-search-outline {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
}

.btn-search-green {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-search-green:hover { background: #1a5f3e; }

.btn-search-outline {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-search-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.check-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
  user-select: none;
}

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

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

@media (max-width: 576px) {
  .search-box-v2 { padding: 20px; }
  .search-form-v2 { display: flex; flex-direction: column; gap: 12px; }
  .search-row { display: contents; }

  /* Réordonne les champs sur mobile : champs d'abord, boutons à la fin */
  .field-loc        { order: 1; }
  .field-type       { order: 2; }
  .field-ref        { order: 3; }
  .field-chambres   { order: 4; }
  .field-budget-min { order: 5; }
  .field-budget-max { order: 6; }
  .btn-filtrer      { order: 7; }
  .btn-deposer      { order: 8; }

  .search-row-3 {
    display: flex;
    flex-direction: row;
    order: 9;
    gap: 16px;
  }
}

/* ==================== 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); }
}

.anim-fade-up { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
.anim-fade-in { animation: fadeIn 0.6s ease forwards; opacity: 0; }
.anim-scale-in { animation: scaleIn 0.6s ease forwards; opacity: 0; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }
.delay-9 { animation-delay: 0.9s; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== HEADER ==================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06); padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; font-weight: 700; color: var(--gold); }
.logo-img { height: auto;
    width: 80px;
    display: block; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 14px; font-weight: 500; color: #fff;
  position: relative; transition: color 0.3s;
}
.header.scrolled .nav a { color: var(--text); }
.nav a:hover, .nav a.active { color: #f75d07; }
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: #f75d07; transition: width 0.3s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--gold); }

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

/* Header favorites */
.header-fav { position: relative; color: #fff; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; transition: color 0.3s; }
.header.scrolled .header-fav { color: var(--text); }
.header-fav:hover { color: var(--gold); }
.header-fav-count {
  position: absolute; top: -4px; right: -6px;
  background: var(--gold); color: #fff; font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.mobile-fav-link {
  display: flex; align-items: center; gap: 8px; padding: 12px 0;
  font-size: 16px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border); text-decoration: none;
}
.mobile-fav-link svg { color: var(--gold); }

/* Currency selector */
.currency-selector { position: relative; }
.currency-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: #fff; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
}
.header.scrolled .currency-toggle { color: var(--text); border-color: var(--border); }
.currency-toggle:hover { border-color: var(--gold); }
.currency-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1); min-width: 100px;
  display: flex; flex-direction: column; padding: 6px;
  opacity: 0; pointer-events: none; transform: translateY(-6px); transition: all 0.2s;
  z-index: 101;
}
.currency-selector.open .currency-dropdown,
.currency-selector:hover .currency-dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.currency-dropdown a {
  padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text);
  border-radius: 4px; transition: all 0.2s; text-decoration: none;
}
.currency-dropdown a:hover, .currency-dropdown a.active { background: var(--bg-cream); color: var(--gold); }

/* Mobile currency */
.mobile-currency { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.mobile-currency span { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.mobile-currency-links { display: flex; gap: 8px; margin-top: 8px; }
.mobile-currency-links a {
  flex: 1; text-align: center; padding: 8px; border-radius: 6px;
  border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: all 0.2s;
}
.mobile-currency-links a.active, .mobile-currency-links a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ==================== MOBILE MENU ==================== */
.menu-toggle { display: none; padding: 8px; color: #fff; }
.header.scrolled .menu-toggle { color: var(--text); }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 101;
  width: 100%; max-width: 380px; background: #fff;
  transform: translateX(100%); transition: transform 0.4s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--border); }
.mobile-menu-header .logo { color: var(--gold); }
.mobile-menu-close { padding: 8px; color: var(--text); }
.mobile-menu-nav { display: flex; flex-direction: column; padding: 24px; gap: 4px; }
.mobile-menu-nav a {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px;
  padding: 12px 0; color: var(--text); transition: color 0.3s;
}
.mobile-menu-nav a:hover, .mobile-menu-nav a.active { color: var(--gold); }

/* ==================== HERO ==================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  padding-bottom: 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0.15) 40%, rgba(15,15,15,0.8) 100%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding-top: 140px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); color: #fff; line-height: 1.1; letter-spacing: -0.02em; }
/* .hero h1 span { color: var(--gold); } */
.hero p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 520px; margin-top: 20px; }
.leaflet-container{
  z-index: 1;
}
/* Search bar */
.search-tabs { 
  display: flex;
    gap: 10px;
    margin-bottom: 16px;
    margin-left: 15px;
 }
.search-tab {
  padding: 10px 20px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  color: #fff; border-radius: 8px; cursor: pointer; transition: all 0.3s;
}
.search-tab:hover { background: rgba(255,255,255,0.3); }
.search-tab.active { background: var(--gold); color: #fff; }
.filters-bar .search-tab { background: var(--bg-cream); color: var(--text); border: 1px solid var(--border); }
.filters-bar .search-tab:hover { background: var(--border); }
.filters-bar .search-tab.active { background: var(--gold); color: #fff; border-color: var(--gold); }

.search-box { background: #fff; border-radius: 14px; padding: 20px 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.search-grid { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; }
@media(min-width:768px){ .search-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .search-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr auto; } }

.search-field { position: relative; }
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #999; pointer-events: none; }
.search-field .input-field { padding-left: 42px; }

/* ==================== PAGE HEADER ==================== */
.page-header {
  position: relative; height: 400px; display: flex; align-items: center; overflow: hidden;
}
.page-header-bg { position: absolute; inset: 0; z-index: 0; }
.page-header-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-header-bg .overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,15,15,0.7), rgba(15,15,15,0.85)); }
.page-header-content { position: relative; z-index: 1; padding-top: 80px; width: 100%; }
.page-header h1 { font-size: clamp(40px, 5vw, 60px); color: #fff; }
.page-header p { color: rgba(255,255,255,0.8); margin-top: 12px; font-size: 18px; max-width: 520px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 16px; }
.breadcrumb a { color: #fff; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ==================== SECTIONS ==================== */
.section { padding: 80px 0; }
@media(min-width:768px){ .section { padding: 100px 0; } }

.bg-cream { background: var(--bg-cream); }
.bg-white { background: #fff; }

.section-header { margin-bottom: 48px; }
.section-header h2 { font-size: clamp(32px, 4vw, 48px); color: var(--text); line-height: 1.2; }
.section-header p { color: var(--text-light); margin-top: 12px; max-width: 600px; }
.section-header.center { text-align: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }
.section-header.flex {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
@media(min-width:768px){ .section-header.flex { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* ==================== CARDS ==================== */
.property-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.property-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }

.card-img { position: relative; height: 260px; overflow: hidden; }
.card-img img { width: 100%; height: 266px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); filter: brightness(1.03) contrast(1.02) saturate(0.95); }
.property-card:hover .card-img img { transform: scale(1.08); }

/* Uniformiser tous les rendus photos immo */
.photo-main img,
.photo-thumb img,
.gallery-area img,
.detail-slider img,
.team-img img,
.figure-block img { filter: brightness(1.03) contrast(1.02) saturate(0.95); }

.card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: #fff; font-size: 10px;
  font-weight: 700; text-transform: uppercase; padding: 7px 14px; border-radius: 20px;
  letter-spacing: 0.08em; box-shadow: 0 4px 12px rgba(27,94,59,0.25); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}
.card-fav {
  position: absolute; bottom: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
  color: #666; transition: all 0.3s; cursor: pointer;
}
.card-fav:hover { background: var(--gold); color: #fff; }
.card-fav.active { background: var(--gold); color: #fff; }
.card-img > a { display: block; width: 100%; height: 100%; }
.card-ref {
  position: absolute; top: 14px; right: 14px;
  background: #f75d07; color: #fff; font-size: 10px;
  font-weight: 700; text-transform: uppercase; padding: 7px 14px; border-radius: 20px;
  letter-spacing: 0.05em; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}

.card-body { padding: 20px 24px 24px; }
.card-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; font-weight: 600; color: var(--text); line-height: 1.3; transition: color 0.3s; }
.property-card:hover .card-title { color: var(--gold); }
.card-location { display: flex; align-items: center; gap: 6px; color: var(--text-light); font-size: 13px; margin-top: 10px; }
.card-location svg { color: var(--gold); }
.card-meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: var(--text-light); font-size: 12px; }
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-meta svg { color: var(--gold); width: 15px; height: 15px; }

.card-separator {
  height: 1px; background: var(--border); margin: 16px 0;
}

.card-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.card-price { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; }
.card-agent { font-size: 12px; color: var(--text-light); }

/* Card list variant */
.property-card.list { display: flex; flex-direction: column; }
@media(min-width:768px){ .property-card.list { flex-direction: row; } .property-card.list .card-img { width: 40%; height: auto; } .property-card.list .card-body { flex: 1; display: flex; flex-direction: column; justify-content: center; } }

/* ==================== CATEGORY CARDS ==================== */
.category-card {
  background: #fff; border-radius: 14px; padding: 32px 24px;
  text-align: center; border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-card svg { color: var(--gold); margin: 0 auto 16px; transition: transform 0.3s; }
.category-card:hover svg { transform: scale(1.1); }
.category-card h4 { font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); }
.category-card p { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ==================== SERVICE CARDS ==================== */
.service-card {
  background: #fff; border-radius: 14px; padding: 40px 32px;
  border: 1px solid var(--border); transition: all 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-icon { width: 64px; height: 64px; border-radius: 14px; background: rgba(27,94,59,0.1); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.service-card h3 { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 600; margin-top: 24px; color: var(--text); }
.service-card p { color: var(--text-light); margin-top: 12px; font-size: 15px; line-height: 1.6; }
.service-card a { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-size: 14px; font-weight: 500; margin-top: 16px; }

/* ==================== VALUE CARDS ==================== */
.value-card { background: #fff; border-radius: 14px; padding: 40px; border: 1px solid var(--border); transition: all 0.3s; }
.value-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.value-card svg { color: var(--gold); margin-bottom: 20px; }
.value-card h3 { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 600; color: var(--text); }
.value-card p { color: var(--text-light); margin-top: 12px; font-size: 15px; }

/* ==================== TEAM CARDS ==================== */
.team-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.03); transition: all 0.3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-img { height: 320px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-body { padding: 24px; }
.team-body h4 { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 600; color: var(--text); }
.team-body .role { font-size: 14px; color: var(--gold); margin-top: 4px; }
.team-body .contact { display: flex; align-items: center; gap: 8px; color: var(--text-light); font-size: 14px; margin-top: 12px; }

/* ==================== CITY CARDS ==================== */
.city-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.city-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.city-img { position: relative; height: 220px; overflow: hidden; display: block; }
.city-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.city-card:hover .city-img img { transform: scale(1.08); }
.city-badge {
  position: absolute; bottom: 14px; right: 14px;
  background: #fff; color: var(--text); font-size: 12px;
  font-weight: 700; padding: 8px 16px; border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12); letter-spacing: 0.02em;
}
.city-body { padding: 24px; }
.city-body h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-weight: 600; color: var(--text); }
.city-body p { color: var(--text-light); font-size: 14px; line-height: 1.6; margin-top: 10px; }
.btn-city {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 20px; padding: 10px 28px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px solid var(--gold); color: var(--gold); border-radius: 30px;
  transition: all 0.3s ease;
}
.btn-city:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* ==================== STATS ==================== */
.stats-section { position: relative; padding: 80px 0; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; z-index: 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-bg .overlay { position: absolute; inset: 0; background: rgba(30,30,30,0.72); }
.stats-content { position: relative; z-index: 1; }
.stat-item { text-align: center; position: relative; }
.stat-item .value { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: white; }
.stat-item .label { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.8); margin-top: 8px; }
.stat-divider { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 60px; background: rgba(255,255,255,0.2); display: none; }
@media(min-width:768px){ .stat-divider { display: block; } }

/* ==================== TESTIMONIALS ==================== */
.testimonial-slide { text-align: center; padding: 20px 0; }
.testimonial-slide .quote-icon { color: var(--gold); opacity: 0.4; margin: 0 auto 24px; }
.testimonial-slide blockquote { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(18px, 2.5vw, 24px); color: var(--text); line-height: 1.6; font-style: italic; max-width: 700px; margin: 0 auto; }
.testimonial-slide img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 24px auto 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.testimonial-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 24px auto 0; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: #fff; font-family: 'Cormorant Garamond', Georgia, serif; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.testimonial-slide .name { font-weight: 600; color: var(--text); margin-top: 16px; }
.testimonial-slide .role { font-size: 14px; color: var(--text-light); }

.testimonial-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.testimonial-dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; transition: all 0.3s; cursor: pointer; border: none; padding: 0; }
.testimonial-dot.active { background: var(--gold); width: 32px; border-radius: 5px; }

/* ==================== SLIDER NAV ==================== */
.slider-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 32px; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); transition: all 0.3s;
}
.slider-btn:hover { background: var(--gold); color: #fff; }

/* ==================== CTA SECTION ==================== */
.cta-section { position: relative; padding: 100px 0; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg .overlay { position: absolute; inset: 0; background: rgba(15,15,15,0.7); }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(32px, 4vw, 48px); color: #fff; }
.cta-content p { color: rgba(255,255,255,0.8); margin-top: 16px; font-size: 18px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
@media(min-width:640px){ .cta-buttons { flex-direction: row; justify-content: center; } }

/* ==================== GRIDS ==================== */
.grid-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media(min-width:768px){ .grid-6 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media(min-width:1024px){ .grid-6 { grid-template-columns: repeat(6, 1fr); } }

.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:640px){ .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px){ .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

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

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:768px){ .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

.grid-65-35 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width:1024px){ .grid-65-35 { grid-template-columns: 1fr 380px; gap: 48px; } }

.grid-40-60 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width:1024px){ .grid-40-60 { grid-template-columns: 1fr 1.5fr; gap: 48px; } }

/* ==================== FILTERS BAR ==================== */
.filters-bar {
  top: 56px; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.filters-inner { padding: 16px 0; }
.filters-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media(min-width:768px){ .filters-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 10px; } }

.filter-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.filter-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; font-size: 12px; color: var(--gold); background: rgba(27,94,59,0.08); border: 1px solid var(--gold); border-radius: 20px; }
.filter-tag button { color: var(--gold); line-height: 1; }

.view-toggle { display: flex; align-items: center; gap: 6px; padding-bottom: 25px; }
.view-btn { width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); transition: all 0.3s; }
.view-btn.active, .view-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ==================== PAGINATION ==================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination ul { padding: 0; margin: 0; display: flex; align-items: center; gap: 8px; }
.pagination .page-item { list-style: none; }
.pagination .page-link {
  min-width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: var(--text); transition: all 0.3s;
  text-decoration: none; padding: 0 8px; background: #fff;
}
.pagination .page-link:hover { border-color: var(--gold); background: #fff; color: var(--gold); }
.pagination .page-item.active .page-link { background: var(--gold); border-color: var(--gold); color: #fff; }
.pagination .page-item.disabled .page-link { color: var(--text-light); opacity: 0.6; cursor: not-allowed; }

/* ==================== NEWSLETTER ==================== */
.newsletter { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); padding: 60px 0; }
.newsletter h3 { font-size: clamp(24px, 3vw, 32px); color: #fff; }
.newsletter p { color: rgba(255,255,255,0.85); margin-top: 8px; }
.newsletter-form { display: flex; gap: 12px; width: 100%; }
@media(min-width:768px){ .newsletter-form { width: auto; } }
.newsletter-form input { flex: 1; padding: 14px 20px; border-radius: 8px; border: none; font-size: 14px; min-width: 0; }
.newsletter-form button { padding: 14px 24px; background: var(--text); color: #fff; border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: all 0.3s; }
.newsletter-form button:hover { background: #333; }

/* ==================== PROPERTY DETAIL ==================== */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 2px; height: 50vh; }
@media(min-width:768px){ .gallery-grid { grid-template-columns: 3fr 2fr; height: 65vh; } }
.gallery-main { position: relative; overflow: hidden; cursor: pointer; }
.gallery-main img, .gallery-side img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-main:hover img, .gallery-side-item:hover img { transform: scale(1.02); }
.gallery-badge { position: absolute; top: 20px; left: 20px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 600; text-transform: uppercase; padding: 8px 20px; border-radius: 4px; z-index: 2; }
.gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; }
.gallery-side-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-view-all {
  position: absolute; bottom: 16px; right: 16px; z-index: 2;
  background: rgba(255,255,255,0.95); color: var(--text);
  padding: 10px 18px; border-radius: 8px; font-size: 14px;
  display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.gallery-view-all:hover { background: #fff; }

.quick-stats { display: flex; flex-wrap: wrap; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.quick-stat { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.quick-stat svg { color: var(--gold); }
.quick-stat strong { font-weight: 600; }

.amenities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media(min-width:768px){ .amenities-grid { grid-template-columns: repeat(3, 1fr); } }
.amenity-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light); }
.amenity-item svg { color: var(--gold); flex-shrink: 0; }

/* Floor plans */
.floor-plan-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--bg-cream); border-radius: 10px; border: 1px solid var(--border); font-size: 15px; font-weight: 500; color: var(--text); transition: background 0.3s; }
.floor-plan-toggle:hover { background: #f0efe9; }
.floor-plan-toggle svg { transition: transform 0.3s; color: var(--text-light); }
.floor-plan-toggle.open svg { transform: rotate(180deg); }
.floor-plan-content { display: none; margin-top: 8px; background: var(--bg-cream); border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.floor-plan-content.open { display: block; }
.floor-plan-content table { width: 100%; }
.floor-plan-content th { text-align: left; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.floor-plan-content td { text-align: left; padding: 10px 20px; font-size: 14px; color: var(--text-light); border-bottom: 1px solid var(--border); }
.floor-plan-content tr:last-child td { border-bottom: none; }

/* Sidebar */
.sidebar-card { background: #fff; border-radius: 14px; padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.sidebar-sticky { position: sticky; top: 80px; }

.agent-card { text-align: center; }
.agent-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.agent-card h4 { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 600; margin-top: 16px; color: var(--text); }
.agent-card .role { font-size: 14px; color: var(--gold); }
.agent-card .verified { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 4px 12px; background: rgba(34,197,94,0.1); color: #16a34a; font-size: 12px; border-radius: 20px; }
.agent-contact { margin-top: 16px; text-align: left; }
.agent-contact div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); padding: 6px 0; }
.agent-contact svg { color: var(--gold); width: 16px; height: 16px; }

.tabs { display: flex; margin-bottom: 20px; }
.tab-btn { flex: 1; padding: 12px; font-size: 14px; font-weight: 500; border-radius: 0; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; transition: all 0.3s; }
.tab-btn:first-child { border-radius: 8px 0 0 8px; border-right: none; }
.tab-btn:last-child { border-radius: 0 8px 8px 0; }
.tab-btn.active { background: var(--gold); color: #fff; border-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-stack .btn-primary { margin-top: 8px; }
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text-light); }
.form-check input { margin-top: 2px; }

.mortgage-result { margin-top: 16px; padding: 20px; background: var(--bg-cream); border-radius: 10px; text-align: center; border: 1px solid var(--border); }
.mortgage-result .label { font-size: 12px; color: var(--text-light); }
.mortgage-result .amount { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 700; color: var(--gold); margin-top: 4px; }

/* Map */
.map-container { height: 400px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.map-container iframe { width: 100%; height: 100%; border: 0; filter: grayscale(30%); }

/* ==================== FANCYBOX ==================== */
.fancybox { position: fixed; inset: 0; z-index: 1000; display: none; }
.fancybox.open { display: flex; }
.fancybox-backdrop { position: absolute; inset: 0; background: rgba(255,255,255,0.97); }
.fancybox-close { position: absolute; top: 20px; right: 20px; z-index: 10; width: 48px; height: 48px; border-radius: 50%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.3s; }
.fancybox-close:hover { background: var(--gold); color: #fff; }
.fancybox-main { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 80px 100px 140px; }
.fancybox-main img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.fancybox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.3s; z-index: 10; }
.fancybox-nav:hover { background: var(--gold); color: #fff; }
.fancybox-nav.prev { left: 24px; }
.fancybox-nav.next { right: 24px; }
.fancybox-bottom { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; text-align: center; }
.fancybox-counter { font-size: 14px; color: var(--text); margin-bottom: 12px; }
.fancybox-counter span { color: var(--text-light); }
.fancybox-thumbs { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.fancybox-thumb { width: 64px; height: 48px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.5; transition: all 0.3s; flex-shrink: 0; }
.fancybox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fancybox-thumb.active { border-color: var(--gold); opacity: 1; }
.fancybox-thumb:hover { opacity: 0.8; }

/* ==================== FAQ ==================== */
.faq-item { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.3s; }
.faq-item.active { border-left: 3px solid var(--gold); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; text-align: left; font-size: 16px; font-weight: 500; color: var(--text); transition: background 0.3s; }
.faq-question:hover { background: #fafafa; }
.faq-question svg { color: var(--text-light); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* ==================== CONTACT INFO ==================== */
.info-row { display: flex; align-items: flex-start; gap: 16px; padding: 8px 0; }
.info-row svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.info-row strong { display: block; color: var(--text); font-weight: 600; }
.info-row span { color: var(--text-light); font-size: 15px; }

/* ==================== SOCIAL ICONS ==================== */
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); transition: all 0.3s;
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ==================== MAP CARD ==================== */
.map-card {
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
  background: #fff; border-radius: 14px; padding: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1); max-width: 280px; border: 1px solid var(--border);
}
.map-card h4 { font-family: 'Manrope', sans-serif; font-weight: 600; color: var(--text); }
.map-card p { font-size: 14px; color: var(--text-light); margin-top: 4px; }
.map-card a { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-size: 14px; margin-top: 12px; }

/* ==================== FOOTER ==================== */
.footer { background: #1a1a1a; border-top: 1px solid rgba(27,94,59,0.15); color: #fff; padding-top: 50px;}
.footer-inner { padding: 80px 15 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media(min-width:768px){ .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px){ .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; } }
.footer-logo { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; font-weight: 700; color: var(--gold); }
.footer-desc { color: #fff; font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #444; display: flex; align-items: center; justify-content: center; color: #aaa; transition: all 0.3s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.footer h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #fff; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom { padding: 24px 0; border-top: 1px solid #333; display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media(min-width:768px){ .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { color: #fff; font-size: 13px; }
.footer-bottom a { color: #fff; font-size: 13px; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold); }

/* ==================== RESPONSIVE ==================== */
@media(max-width:1023px){
  .nav { display: none; }
  .header .btn-secondary { display: none; }
  .menu-toggle { display: block; }
  .sidebar-sticky { position: static !important; }
}

@media(max-width:767px){
  .hero { min-height: auto; padding-bottom: 60px; padding-top: 100px; }
  .hero h1 { font-size: 36px; }
  .page-header { height: 320px; }
  .page-header h1 { font-size: 36px; }
  .gallery-grid { height: auto; }
  .gallery-main { height: 300px; }
  .gallery-side { height: 200px; }
  .fancybox-main { padding: 80px 60px 140px; }
  .fancybox-nav { width: 40px; height: 40px; }
  .fancybox-nav.prev { left: 12px; }
  .fancybox-nav.next { right: 12px; }
  .map-card { position: static; transform: none; margin: 16px; max-width: none; }
  .stat-divider { display: none !important; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ==================== MODAL MANDAT DE RECHERCHE ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.modal-drawer.active {
  transform: translateX(0);
}

.modal-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.modal-drawer-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.modal-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #666;
  transition: color 0.2s;
  line-height: 1;
}
.modal-drawer-close:hover { color: var(--gold); }

.modal-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.modal-drawer-body .form-group {
  margin-bottom: 14px;
}
.modal-drawer-body .form-group .input-field {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  background: #F9F9F9;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  color: var(--text);
  transition: all 0.3s;
  font-family: 'Manrope', sans-serif;
}
.modal-drawer-body .form-group .input-field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(27,94,59,0.12);
}
.modal-drawer-body select.input-field[multiple] {
  min-height: 120px;
  padding: 8px;
  overflow-y: auto;
}
.modal-drawer-body select.input-field option {
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background 0.15s;
}
.modal-drawer-body select.input-field option:hover {
  background: #f0f0f0;
}
.modal-drawer-body select.input-field option:checked {
  background: var(--gold);
  color: #fff;
}
.modal-drawer-body select.input-field option.hidden {
  display: none;
}
.modal-drawer-body select.input-field optgroup {
  font-weight: 600;
  color: var(--text);
  padding: 6px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.modal-drawer-body select.input-field optgroup option {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.form-inline-check {
  display: flex;
  gap: 20px;
  align-items: center;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
}
.check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.demande-message {
  margin-top: 12px;
  font-size: 14px;
  min-height: 24px;
}
.demande-message.success {
  color: #1b5e3b;
  background: #e8f5e9;
  padding: 10px 14px;
  border-radius: 8px;
}
.demande-message.error {
  color: #c62828;
  background: #ffebee;
  padding: 10px 14px;
  border-radius: 8px;
}

@media (max-width: 480px) {
  .modal-drawer { max-width: 100%; }
}

/* ==================== BOUTON FLOTTANT CONTACT ==================== */
/* Contact flottant - 3 icônes visibles */
.fab-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.fab-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  transform: scale(1);
  opacity: 1;
}

.fab-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.fab-whatsapp { background: #25D366; }
.fab-whatsapp:hover { background: #1ebe57; }

.fab-phone { background: #007bff; }
.fab-phone:hover { background: #0056b3; }

.fab-email { background: #dc3545; }
.fab-email:hover { background: #b02a37; }

/* Supprimer le bouton toggle et les icônes d'ouverture/fermeture */
.fab-main,
.fab-icon-open,
.fab-icon-close {
  display: none !important;
}
/* ==================== PAGE ESTIMATION ==================== */
.estimation-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.estimation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.estimation-form .field-error {
  color: #c62828;
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 0;
}
.alert-success {
  background: #e8f5e9;
  color: #1b5e3b;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
}
.alert-error {
  background: #ffebee;
  color: #c62828;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .estimation-grid { grid-template-columns: 1fr; }
}
