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

:root {
  --navy: #1a2236;
  --navy-light: #2a3554;
  --gold: #c69b3d;
  --gold-light: #d9b364;
  --gold-pale: #f4e9d4;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --success: #2d9c5a;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--navy); line-height: 1.2; }

a { color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ─── HEADER / NAV ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  padding: 14px 0;
  transition: box-shadow .3s, padding .3s;
  border-bottom: 1px solid rgba(198, 155, 61, 0.15);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); padding: 10px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--white);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.logo img { height: 36px; width: auto; border-radius: 4px; background: white; padding: 2px 6px; }
.logo span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 11px; border-radius: 8px;
  font-size: .88rem; font-weight: 500;
  transition: color .2s, background .2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px; background: var(--gold);
  border-radius: 2px;
}

.header-cta {
  background: var(--gold); color: var(--navy);
  padding: 10px 20px; border-radius: 8px;
  font-weight: 600; font-size: .85rem;
  text-decoration: none; transition: background .2s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--gold-light); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-burger { display: flex; }
  /* Logo + burger restent cliquables au-dessus du panneau plein écran */
  .header .logo, .nav-burger { position: relative; z-index: 2; }
  .nav-links {
    position: fixed;
    inset: 0;
    height: 100dvh;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 22px 44px;
    gap: 13px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { display: flex; justify-content: center; }
  .nav-links a {
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 1.2rem;
    text-align: center;
  }
  .nav-links a.active::after { display: none; }
  /* Page courante : simplement le texte en or, pas de rectangle de fond */
  .nav-links a.active { background: transparent; color: var(--gold); }
  .nav-cta-mobile {
    display: inline-block !important;
    background: var(--gold);
    color: var(--navy) !important;
    text-align: center;
    margin-top: 14px;
    padding: 16px 44px !important;
    font-size: 1.15rem !important;
    border-radius: 10px;
    font-weight: 700 !important;
  }
  .header-cta { display: none; }
}
@media (min-width: 881px) {
  .nav-cta-mobile { display: none; }
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.2);
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid var(--navy);
  transition: all .2s; cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.section.alt { background: var(--gray-50); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .82rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; line-height: 1.7; }

/* ─── SUBHERO (pages secondaires) ─── */
.subhero {
  background:
    linear-gradient(180deg, rgba(26,34,54,0.78) 0%, rgba(26,34,54,0.55) 50%, rgba(26,34,54,0.78) 100%),
    url('hero-namur.webp') center 35%/cover no-repeat;
  padding: 150px 0 80px;
  text-align: center;
  border-bottom: 1px solid rgba(198, 155, 61, 0.15);
  position: relative;
}
.subhero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(26,34,54,0.4) 100%);
  pointer-events: none;
}
.subhero .container { position: relative; z-index: 1; }
.subhero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .82rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.subhero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: 14px;
}
.subhero p {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.subhero-breadcrumb {
  margin-top: 28px;
  font-size: .85rem;
  color: var(--gray-500);
}
.subhero-breadcrumb a { color: var(--gray-400); text-decoration: none; }
.subhero-breadcrumb a:hover { color: var(--gold); }
.subhero-breadcrumb span { color: var(--gold); margin: 0 8px; }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--navy);
  padding: 70px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 12px; }
.cta-band p { color: var(--gray-400); font-size: 1rem; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band .cta-buttons {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.cta-band .cta-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none;
  padding: 14px 24px; border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.18);
  font-weight: 600; transition: all .2s;
}
.cta-band .cta-phone:hover { border-color: var(--gold); color: var(--gold); }

/* ─── FOOTER ─── */
.footer {
  background: var(--gray-900);
  padding: 60px 0 28px;
  color: var(--gray-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 36px;
}
/* le footer force display:block sur tous les <a> (.footer a) ce qui neutralisait
   le flex du logo : on le repasse en inline-flex, sinon gap est ignoré */
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 0; }
.footer-brand .logo img { margin-right: 16px; }
.footer-brand p { color: var(--gray-500); font-size: .92rem; max-width: 320px; line-height: 1.7; }
.footer h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 18px; }
.footer a { display: block; color: var(--gray-500); text-decoration: none; padding: 5px 0; font-size: .9rem; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: center;
  text-align: center;
  font-size: .82rem;
  color: var(--gray-600);
}
.footer-bottom .credit { font-size: .75rem; color: rgba(255,255,255,0.4); }
.footer-bottom .credit a { display: inline; color: var(--gold); padding: 0; }
.footer-bottom .credit a:hover { color: var(--gold-light); }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ─── UTILITIES ─── */
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .8rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }

/* ─── MOBILE OPTIMIZATIONS ─── */
@media (max-width: 760px) {
  .container, .container-wide { padding: 0 18px; }
  .section { padding: 56px 0; }
  .subhero { padding: 110px 0 50px; }
  .subhero h1 { font-size: 1.8rem; }
  .subhero p { font-size: .95rem; padding: 0 8px; }
  .subhero-breadcrumb { margin-top: 22px; font-size: .8rem; }
  .section-header { margin-bottom: 38px; }
  .section-header h2 { font-size: 1.55rem; }
  .section-header p { font-size: .95rem; }
  .cta-band { padding: 50px 0; }
  .cta-band h2 { font-size: 1.4rem; }
  .cta-band p { font-size: .95rem; }
  .cta-band .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-band .cta-buttons a { justify-content: center; }
  .btn-primary, .btn-secondary, .btn-outline { padding: 13px 22px; font-size: .95rem; }
  .footer { padding: 48px 0 24px; }
  .footer-bottom { font-size: .78rem; align-items: center; text-align: center; }
  .footer-bottom .credit { font-size: .72rem; line-height: 1.5; }
  .header { padding: 10px 0; }
  .header.scrolled { padding: 8px 0; }
  .logo { font-size: 1.05rem; }
  .logo img { height: 30px; }
}

@media (max-width: 420px) {
  .subhero h1 { font-size: 1.55rem; }
  .section-header h2 { font-size: 1.35rem; }
}

/* ─── CARACTÉRISTIQUES BIENS — grille uniforme (cartes alignées) ─── */
body .bien-quick-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px 16px;
  align-items: start;
}

/* ─── LIGHTBOX GALERIE — plein écran mobile + zones de tap ─── */
@media (max-width: 760px) {
  body .lightbox { padding: 12px; }
  body .lightbox img { max-width: 100%; max-height: 82vh; }
  body .lightbox-nav { width: 44px; height: 44px; }
  body .lightbox-nav.prev { left: 8px; }
  body .lightbox-nav.next { right: 8px; }
  body .lightbox-close { top: 12px; right: 12px; }
}

/* ─── CARTE INTERACTIVE BIENS — vraie carte Google à la place du placeholder ─── */
body .map-placeholder::after { content: none; }
body .map-placeholder {
  background: var(--gray-100);
  padding: 0;
}
body .map-placeholder iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ─── FICHE TECHNIQUE BIEN — affichage propre des lignes longues (terrains) ─── */
body .spec-row { gap: 20px; }
body .spec-value { text-align: right; }

/* ─── AVIS CLIENTS — bouton « Voir plus » (avis masqués au-delà de 3) ─── */
body .testi-hidden { display: none; }
.testi-more-wrap { text-align: center; margin-top: 32px; }
.testi-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--gold);
  padding: 12px 28px; border-radius: 30px;
  border: 1.5px solid var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.testi-more-btn:hover { background: var(--gold); color: var(--navy); }
.testimonials-strip .testi-more-btn { color: var(--gold); }
.testimonials-strip .testi-more-btn:hover { background: var(--gold); color: var(--navy); }

/* ─── RÉSEAUX SOCIAUX ─── */
.social-follow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.social-follow span { font-size: .9rem; color: var(--gray-600); }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 8px;
  background: var(--navy); color: var(--white);
  font-size: .88rem; font-weight: 600; text-decoration: none;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--gold); color: var(--navy); }
.social-btn svg { width: 17px; height: 17px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07);
  border-radius: 9px;
  color: var(--gray-400);
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; }

.contact-social-card {
  background: var(--gray-50);
  padding: 24px 26px;
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  margin-top: 16px;
}
.contact-social-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-social-card p { color: var(--gray-600); font-size: .88rem; line-height: 1.6; margin-bottom: 4px; }
.contact-social-card .social-follow { margin-top: 14px; }

/* ===== Vidéo de présentation (pages biens) ===== */
.video-hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
}
.video-hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}
.video-hero-frame {
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #0e1623;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  position: relative;
}
.video-hero-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-hero-text .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
.video-hero-text h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  margin-bottom: 18px;
}
.video-hero-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 520px;
}
.video-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 11px 20px;
  border-radius: 30px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.video-hero-stat strong {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 800;
}
.video-hero-fb {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.video-hero-fb:hover { color: var(--gold); }
.video-hero-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: .82rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 820px) {
  .video-hero { padding: 50px 0; }
  .video-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .video-hero-frame {
    max-width: 300px;
    margin: 0 auto;
  }
  .video-hero-text p { margin-left: auto; margin-right: auto; }
}
