/* ============================================================
   AGEPI — Design Premium Final
   Cormorant Garamond + DM Sans | Navy #0B2545 | Gold #C9933A
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0B2545;
  --navy-mid:   #1A3A5C;
  --navy-light: #1A6B9A;
  --gold:       #2385c4;
  --gold-light: #d0d0d0;
  --gold-pale:  #d5e5ee;
  --gray-bg:    #F4F6F9;
  --white:      #FFFFFF;
  --border:     rgba(0,0,0,0.09);
  --text:       #1C2833;
  --text-muted: #6B7A8D;
  --radius:     6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --shadow-sm:  0 1px 4px rgba(11,37,69,0.08);
  --shadow-md:  0 6px 24px rgba(11,37,69,0.11);
  --shadow-lg:  0 16px 56px rgba(11,37,69,0.15);
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --dur:        0.28s;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--navy-light); text-decoration: none; transition: color var(--dur) var(--ease); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container  { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 88px 0; }
.section-sm { padding: 52px 0; }
.section-alt { background: var(--gray-bg); }

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; display: block;
  width: 24px; height: 1px;
  background: var(--gold); opacity: 0.55;
}
.section-header p {
  max-width: 540px; margin: 0 auto;
  color: var(--text-muted); font-size: 1.02rem; font-weight: 300;
}
.gold-line {
  width: 44px; height: 2px;
  background: var(--gold); border-radius: 2px;
  margin: 14px auto 0;
}

/* ═══════════════════════════════════════
   NAVBAR — floating pill glassmorphism
   ═══════════════════════════════════════ */
/* La navbar occupe toute la largeur avec fond blanc — lisible partout */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(11,37,69,0.1);
  box-shadow: 0 2px 16px rgba(11,37,69,0.08);
  transition: box-shadow var(--dur) var(--ease);
  width: 100%;
}
.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(11,37,69,0.13);
}
/* Suppression de la pill — le nav lui-même fait le fond */
.navbar-pill {
  /* wrapper conservé dans le HTML mais sans style visuel */
}
.navbar-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 80px; padding: 0 28px;
  max-width: 1180px; margin: 0 auto;
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--navy); letter-spacing: 0.04em;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-logo img { height: 45px; width: auto; }

.navbar-nav {
  display: flex; align-items: center;
  gap: 2px; list-style: none;
}
.navbar-nav a {
  display: block;
  padding: 6px 13px;
  font-size: 0.99rem; font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
  transition: all var(--dur) var(--ease);
  position: relative; text-decoration: none;
}
.navbar-nav a::after {
  content: '';
  position: absolute; bottom: 3px;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.navbar-nav a:hover { color: var(--navy); background: var(--gray-bg); }
.navbar-nav a.active { color: var(--navy); }
.navbar-nav a:hover::after,
.navbar-nav a.active::after { transform: scaleX(1); }

.navbar-actions {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.lang-switcher {
  display: flex; gap: 2px;
  background: var(--gray-bg);
  padding: 3px; border-radius: 8px;
  flex-shrink: 0;
}
.lang-switcher a {
  font-size: 0.72rem; font-weight: 700;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--navy);
  color: var(--white);
}
/* Bouton "Nous contacter" dans la navbar */
.navbar-cta { flex-shrink: 0; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 8px; flex-shrink: 0;
  border-radius: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all var(--dur) var(--ease);
}

/* ═══════════════════════════════════
   BUTTONS
   ═══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.87rem; font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.btn-primary {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 3px 12px rgba(11,37,69,0.22);
}
.btn-primary:hover {
  background: var(--navy-mid); border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,37,69,0.28);
  color: var(--white);
}
.btn-gold {
  background: var(--gold); color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 3px 12px rgba(201,147,58,0.3);
}
.btn-gold:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,147,58,0.38);
  color: var(--white);
}
.btn-outline {
  background: transparent; color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-sm  { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg  { padding: 14px 34px; font-size: 0.94rem; }

/* ═══════════════════════════════════
   HERO — cinematic dark
   ═══════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #040E1C 0%, #0B2545 45%, #1A3A5C 100%);
}
/* Overlay sombre global pour lisibilité */
.hero-img-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(4,14,28,0.97) 0%,
    rgba(11,37,69,0.92) 38%,
    rgba(11,37,69,0.55) 62%,
    rgba(11,37,69,0.1) 100%
  );
}

/* Layout split 50/50 */
.hero-split {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Panneau texte gauche */
.hero-panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 56px 90px 48px;
  max-width: 640px;
}
.hero-panel-stats {
  display: flex; gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-panel-stat .num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.hero-panel-stat .lbl {
  display: block;
  font-size: 0.68rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 3px;
}

/* Panneau visuel droit — grande photo */
.hero-visual {
  position: relative; overflow: hidden;
}
.hero-visual-img {
  position: absolute; inset: 0;
  background:
    url('../images/hero-property.jpg') center center / cover no-repeat,
    linear-gradient(160deg, #1A3A5C 0%, #0B2545 100%);
}
/* Fallback SVG si pas d'image — grille architecturale décorative */
.hero-visual-img::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(201,147,58,0.03) 60px, rgba(201,147,58,0.03) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(201,147,58,0.03) 60px, rgba(201,147,58,0.03) 61px);
}
.hero-visual-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(11,37,69,0.6) 0%,
    rgba(11,37,69,0.1) 50%,
    transparent 100%
  );
}
/* Badge flottant sur la photo */
.hero-visual-badge {
  position: absolute; bottom: 44px; left: 32px;
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--white);
}
.hero-visual-badge svg { flex-shrink: 0; stroke: var(--gold); }
.hero-visual-badge strong {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--white);
}
.hero-visual-badge span {
  display: block; font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 1px;
}

/* cercles décoratifs sur le panneau gauche */
.hero-bg::before {
  content: '';
  position: absolute; top: -120px; left: 30%;
  width: 520px; height: 520px;
  border: 1px solid rgba(201,147,58,0.06);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.hero-bg::after {
  content: '';
  position: absolute; bottom: -80px; left: 20%;
  width: 340px; height: 340px;
  border: 1px solid rgba(201,147,58,0.04);
  border-radius: 50%;
  animation: spin 20s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(201,147,58,0.12);
  border: 0.5px solid rgba(201,147,58,0.28);
  border-radius: 40px;
  padding: 5px 14px 5px 8px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
  animation: pulse-dot 2.2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,147,58,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(201,147,58,0); }
}
.hero-badge span {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-light);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1; margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal; color: var(--gold);
}
.hero-lead {
  font-size: 1.07rem; color: rgba(255,255,255,0.65);
  max-width: 520px; margin-bottom: 36px;
  line-height: 1.8; font-weight: 300;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats bar */
/* .hero-stats-bar remplacé par .hero-panel-stats */
.hero-stat .lbl {
  font-size: 0.68rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ═══════════════════════════════════
   EXPERTISE CARDS
   ═══════════════════════════════════ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.expertise-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.expertise-card::after {
  content: '';
  position: absolute; bottom: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px 2px 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.expertise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(201,147,58,0.2);
}
.expertise-card:hover::after { transform: scaleX(1); }
.expertise-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
}
.expertise-card.featured::after { background: var(--gold); }
.exp-icon-wrap {
  width: 44px; height: 44px;
  background: var(--gold-pale); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background var(--dur) var(--ease);
}
.exp-icon-wrap svg { width: 22px; height: 22px; color: var(--gold); stroke-width: 1.7; }
.featured .exp-icon-wrap { background: rgba(255,255,255,0.1); }
.featured .exp-icon-wrap svg { color: var(--gold-light); }
.expertise-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--navy); margin-bottom: 9px;
  transition: color var(--dur);
}
.expertise-card p {
  font-size: 0.87rem; color: var(--text-muted);
  line-height: 1.68; margin: 0;
  transition: color var(--dur);
}
.featured h3 { color: var(--white); }
.featured p  { color: rgba(255,255,255,0.62); }

/* ═══════════════════════════════════
   PROPERTY CARDS
   ═══════════════════════════════════ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}
.prop-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--gray-bg);
}
/* Film sombre sur chaque image de carte */
.prop-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,37,69,0.08) 0%,
    rgba(11,37,69,0.45) 100%
  );
  z-index: 1;
  transition: opacity var(--dur) var(--ease);
}
.property-card:hover .prop-img::after {
  opacity: 0.7;
}
.prop-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.property-card:hover .prop-img img { transform: scale(1.06); }
/* Badges au-dessus du film */
.prop-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 5px;
  z-index: 2;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 4px;
}
.badge-vente    { background: var(--navy);  color: var(--white); }
.badge-location { background: var(--gold);  color: var(--white); }
.badge-cat      { background: rgba(0,0,0,0.52); color: var(--white); backdrop-filter: blur(4px); }
.prop-body      { padding: 18px 20px 20px; }
.prop-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px; line-height: 1.35;
}
.prop-meta {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 14px;
}
.prop-meta svg { flex-shrink: 0; }
.prop-excerpt {
  font-size: 0.82rem; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 14px;
}

/* ═══════════════════════════════════
   WHY / FEATURES
   ═══════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.why-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 0.5px solid transparent;
  transition: all var(--dur) var(--ease); cursor: default;
}
.why-feature:hover {
  background: var(--gold-pale);
  border-color: rgba(201,147,58,0.18);
}
.wf-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--gold-pale); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease);
}
.why-feature:hover .wf-icon { background: var(--gold); }
.wf-icon svg { width: 18px; height: 18px; stroke: var(--gold); stroke-width: 1.8; transition: stroke var(--dur); }
.why-feature:hover .wf-icon svg { stroke: var(--white); }
.wf-text h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 600;
  color: var(--navy); margin-bottom: 2px;
}
.wf-text p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

.why-visual {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl); padding: 44px;
  overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.why-visual::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(201,147,58,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.why-stat-large {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5.5rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.why-visual > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.93rem; font-weight: 300; margin: 0 0 28px;
}
.why-mini-stats { display: flex; flex-direction: column; gap: 0; }
.why-mini-stat {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.why-mini-stat .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--gold); min-width: 56px;
}
.why-mini-stat .l {
  font-size: 0.82rem; color: rgba(255,255,255,0.48); font-weight: 300;
}

/* ═══════════════════════════════════
   CTA BAND
   ═══════════════════════════════════ */
.cta-band {
  position: relative; overflow: hidden; padding: 80px 0;
  background: linear-gradient(135deg, #040E1C 0%, var(--navy) 55%, #103968 100%);
}
.cta-band::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(201,147,58,0.08) 0%, transparent 65%);
}
.cta-band-inner { position: relative; z-index: 1; text-align: center; }
.cta-band h2  { color: var(--white); margin-bottom: 14px; }
.cta-band p   { color: rgba(255,255,255,0.62); max-width: 480px; margin: 0 auto 32px; font-weight: 300; font-size: 1.02rem; }
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════
   PAGE HERO — inner pages
   ═══════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 100px 0 64px; text-align: center;
  background: linear-gradient(135deg, #040E1C 0%, var(--navy) 60%, #103968 100%);
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 56px; background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1  { color: var(--white); margin-bottom: 12px; }
.page-hero p   { color: rgba(255,255,255,0.62); font-size: 1.03rem; max-width: 500px; margin: 0 auto; font-weight: 300; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 18px; font-size: 0.78rem; color: rgba(255,255,255,0.4);
}
.breadcrumb a { color: rgba(255,255,255,0.58); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: 0.3; }
.page-hero .section-alt { background: var(--gray-bg) !important; }

/* ═══════════════════════════════════
   FILTERS BAR
   ═══════════════════════════════════ */
.filters-bar {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 22px 26px; margin-bottom: 36px;
  box-shadow: var(--shadow-md);
  display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end;
  border: 0.5px solid var(--border);
}
.filter-group { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 150px; }
.filter-group label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.filter-group select,
.filter-group input[type=text] {
  padding: 9px 12px;
  font-family: 'DM Sans', sans-serif; font-size: 0.87rem;
  color: var(--text);
  background: var(--gray-bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md); outline: none;
  transition: all var(--dur) var(--ease);
}
.filter-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7A8D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px;
  cursor: pointer;
}
.filter-group select:focus,
.filter-group input[type=text]:focus {
  border-color: var(--navy-light); background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,107,154,0.08);
}

/* ═══════════════════════════════════
   FORMS
   ═══════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 11px 15px;
  font-family: 'DM Sans', sans-serif; font-size: 0.93rem;
  color: var(--text); background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease); outline: none;
}
.form-control:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(26,107,154,0.08);
}
textarea.form-control { resize: vertical; min-height: 128px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ═══════════════════════════════════
   CONTACT INFO
   ═══════════════════════════════════ */
.contact-item { display: flex; gap: 14px; margin-bottom: 26px; }
.contact-item-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--gold-pale); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.contact-item:hover .contact-item-icon { background: var(--gold); }
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--gold); stroke-width: 1.7; transition: stroke var(--dur); }
.contact-item:hover .contact-item-icon svg { stroke: var(--white); }
.contact-item h4 { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 600; margin-bottom: 3px; }
.contact-item p  { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* ═══════════════════════════════════
   ANNONCE DETAIL
   ═══════════════════════════════════ */
.gallery-main { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-lg); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.gallery-thumb {
  width: 78px; height: 56px; object-fit: cover;
  border-radius: 7px; cursor: pointer;
  border: 2px solid transparent; opacity: 0.68;
  transition: all var(--dur) var(--ease);
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--gold); opacity: 1; }
.annonce-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gray-bg); border-radius: 7px;
  padding: 5px 12px; font-size: 0.8rem; color: var(--text);
}
.sidebar-cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg); padding: 26px; color: var(--white);
}
.sidebar-cta-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.sidebar-cta-card p  { color: rgba(255,255,255,0.6); font-size: 0.86rem; margin-bottom: 22px; }

/* ═══════════════════════════════════
   PAGINATION
   ═══════════════════════════════════ */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; margin-top: 52px;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius);
  font-size: 0.86rem; font-weight: 600;
  border: 0.5px solid var(--border); color: var(--text);
  transition: all var(--dur) var(--ease);
}
.pagination a:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--navy); }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.footer { background: #060F1E; color: rgba(255,255,255,0.55); padding: 68px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px; margin-bottom: 52px;
}
.footer-brand img {
  height: 44px; margin-bottom: 14px;
  filter: brightness(0) invert(1) opacity(0.85);
}
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.38); line-height: 1.8; max-width: 270px; }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 0.84rem; color: rgba(255,255,255,0.38);
  transition: color var(--dur) var(--ease);
  display: inline-flex; align-items: center; gap: 5px;
}
.footer-col ul li a::before {
  content: '→'; font-size: 0.68rem; color: var(--gold);
  opacity: 0; transform: translateX(-4px);
  transition: all var(--dur) var(--ease);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.78); }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }
.footer-divider { border: none; border-top: 0.5px solid rgba(255,255,255,0.07); margin: 0; }
.footer-bottom {
  padding: 18px 0; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.24);
}

/* ═══════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ═══════════════════════════════════
   GRIDS
   ═══════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .expertise-grid  { grid-template-columns: repeat(2,1fr); }
  .grid-4          { grid-template-columns: repeat(2,1fr); }
  .why-grid        { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  /* Sections */
  .section         { padding: 60px 0; }
  .properties-grid,
  .expertise-grid,
  .grid-3,
  .grid-2          { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }

  /* Hero split → colonne sur mobile */
  .hero-split      { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual     { height: 260px; }
  .hero-panel      { padding: 80px 20px 40px; }
  .hero-panel-stats{ gap: 18px; flex-wrap: wrap; }
  .hero-visual-badge { bottom: 16px; left: 16px; }

  /* Navbar mobile — barre pleine largeur, compacte */
  .navbar          { padding: 0; }
  .navbar-inner    { height: 56px; padding: 0 16px; }

  /* Cacher le menu desktop et le bouton "Nous contacter" */
  .navbar-nav      { display: none; }
  .navbar-cta      { display: none; }

  /* Menu ouvert */
  .navbar-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%;
    left: 0; right: 0; width: 100%;
    background: #FFFFFF;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 12px;
    box-shadow: 0 8px 24px rgba(11,37,69,0.12);
    gap: 2px;
  }
  .navbar-nav.open a {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  /* Hamburger — toujours visible, barres navy */
  .hamburger       { display: flex; }
  .hamburger span  { background: var(--navy); width: 22px; height: 2px; }

  /* Bloquer tout débordement horizontal */
  .footer-grid     { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom   { flex-direction: column; gap: 6px; text-align: center; }
  .filters-bar     { flex-direction: column; }
  .filter-group    { min-width: 100%; }

  /* Pages internes : corriger le décalage du page-hero */
  .page-hero       { padding: 90px 0 60px; }
  .page-hero::after { display: none; } /* supprimer le clip-path qui déborde sur mobile */

  /* Annonce detail : grid -> colonne */
  .annonce-detail-grid { grid-template-columns: 1fr !important; }
}


/* Annonce detail grid */
.annonce-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px; align-items: start;
}
@media (max-width: 900px) {
  .annonce-detail-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Corrections décalages mobile pages internes ── */
.why-grid,
.annonce-detail-grid,
.why-visual { max-width: 100%; overflow: hidden; }

/* Empêcher les pseudo-éléments circulaires de déborder */
.hero-bg::before,
.hero-bg::after,
.why-visual::before,
.cta-band::before { pointer-events: none; }

/* S'assurer que page-hero ne génère pas de scrollbar H */
.page-hero { overflow: hidden; }

/* Section contact : grid responsive */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px; align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid     { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .grid-4            { grid-template-columns: 1fr; }
  .hero-actions      { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats-inner  { flex-wrap: wrap; }
  .hero-stat         { min-width: 50%; }
  .cta-band-actions  { flex-direction: column; align-items: center; }
  .why-grid          { gap: 28px; }
  .container         { padding: 0 16px; }
}
