/* ============================================================
   BSBC — Bébé Sy Business Center
   Identité premium : Bleu nuit + Bronze doré, sur fond ivoire
   Display : "Fraunces" — Corps : "Manrope" — Data : "IBM Plex Mono"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --navy-deep:#0a1a2c;
  --navy:#132c46;
  --navy-soft:#274866;
  --gold:#a9813f;
  --gold-deep:#8a6a30;
  --gold-light:#d7bd88;
  --ivory:#f8f6f1;
  --ivory-deep:#f0ecE2;
  --white:#ffffff;
  --ink:#161c24;
  --gray:#666e78;
  --gray-light:#8a909a;
  --line:rgba(10,26,44,0.11);
  --radius:8px;
  --radius-lg:12px;
  --shadow-soft:0 8px 24px -10px rgba(10,26,44,0.16);
  --shadow-lift:0 24px 48px -18px rgba(10,26,44,0.28);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Manrope',sans-serif;
  color:var(--ink);
  background:var(--ivory);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:'Fraunces',serif;
  font-weight:600;
  color:var(--navy-deep);
  margin:0 0 .5em;
  line-height:1.16;
  letter-spacing:-.01em;
}
.mono{ font-family:'IBM Plex Mono',monospace; }
.container{ width:100%; max-width:1180px; margin:0 auto; padding:0 28px; }
section{ padding:100px 0; }
.section-cream{ background:var(--ivory); }
.section-white{ background:var(--white); }
.section-navy{ background:var(--navy-deep); color:#c7d2de; }
.section-navy h2, .section-navy h3{ color:var(--white); }

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11.5px;
  color:var(--gold-deep);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:11px;
  margin-bottom:16px;
}
.eyebrow::before{
  content:'';
  width:30px; height:1px;
  background:var(--gold);
  display:inline-block;
}
.section-navy .eyebrow{ color:var(--gold-light); }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(10,26,44,0.02);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px; max-width:1180px; margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:13px; }
.brand img{ height:46px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{ font-family:'Fraunces',serif; font-size:19px; color:var(--navy-deep); letter-spacing:-.01em; }
.brand-text span{ font-family:'IBM Plex Mono',monospace; font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-deep); }
.main-nav{ display:flex; align-items:center; gap:36px; }
.main-nav a{
  font-size:14px; font-weight:600; color:var(--navy);
  position:relative; padding:6px 0; letter-spacing:.01em;
}
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:0; height:1.5px; width:0;
  background:var(--gold); transition:width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }
.main-nav a.active{ color:var(--navy-deep); }
.nav-cta{
  background:var(--navy-deep); color:var(--white) !important;
  padding:12px 24px; border-radius:6px; font-weight:700; font-size:13.5px;
}
.nav-cta::after{ display:none; }
.nav-cta:hover{ background:var(--gold-deep); }
.burger{ display:none; background:none; border:none; font-size:24px; color:var(--navy-deep); cursor:pointer; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:linear-gradient(175deg,var(--navy-deep) 0%, var(--navy) 82%, var(--navy) 100%);
  color:var(--white);
  overflow:hidden;
  padding:96px 0 0;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center;
  max-width:1180px; margin:0 auto; padding:0 28px 76px;
  position:relative; z-index:2;
}
.hero h1{ color:var(--white); font-size:clamp(33px,4.3vw,54px); letter-spacing:-.015em; font-weight:500; }
.hero h1 em{ font-style:italic; color:var(--gold-light); font-weight:500; }
.hero p.lead{ font-size:16.5px; color:#aebdcd; max-width:470px; margin-bottom:36px; }
.hero-stats{ display:flex; gap:38px; margin-top:48px; padding-top:32px; border-top:1px solid rgba(255,255,255,.12); }
.hero-stats div strong{ display:block; font-family:'Fraunces',serif; font-size:26px; color:var(--gold-light); font-weight:600; }
.hero-stats div span{ font-size:11.5px; color:#8ea0b3; text-transform:uppercase; letter-spacing:.09em; }

.hero-visual{ position:relative; }
.skyline-svg{ width:100%; height:auto; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:15px 28px; border-radius:6px; font-weight:700; font-size:13.5px;
  letter-spacing:.02em;
  cursor:pointer; border:1.5px solid transparent; transition:all .2s ease;
}
.btn-gold{ background:var(--gold); color:var(--white); }
.btn-gold:hover{ background:var(--gold-deep); transform:translateY(-1px); }
.btn-outline{ border-color:rgba(255,255,255,.3); color:var(--white); }
.btn-outline:hover{ border-color:var(--gold-light); color:var(--gold-light); }
.btn-navy{ background:var(--navy-deep); color:var(--white); }
.btn-navy:hover{ background:var(--navy); }
.btn-row{ display:flex; gap:16px; flex-wrap:wrap; }
.btn-sm{ padding:9px 18px; font-size:12.5px; }
.btn-block{ width:100%; }

/* ---------- Road divider (signature element) ---------- */
.road-divider{ position:relative; height:50px; overflow:hidden; }
.road-divider svg{ width:100%; height:100%; display:block; }

/* ---------- Category tiles ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:52px; }
.cat-card{
  background:var(--white); border-radius:var(--radius-lg); padding:36px 30px;
  border:1px solid var(--line); position:relative; overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lift); border-color:transparent; }
.cat-card .num{ font-family:'IBM Plex Mono',monospace; color:var(--gold); font-size:12.5px; font-weight:600; }
.cat-card h3{ font-size:21px; margin-top:12px; }
.cat-card p{ color:var(--gray); font-size:14px; margin-bottom:24px; }
.cat-card a{ font-weight:700; color:var(--navy-deep); font-size:13.5px; display:inline-flex; align-items:center; gap:6px; }
.cat-card a:hover{ color:var(--gold-deep); }

/* ---------- Section headers ---------- */
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:48px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(25px,3vw,36px); margin:0; max-width:560px; }
.section-head p{ color:var(--gray); max-width:420px; }

/* ---------- Listing cards ---------- */
.listing-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:28px; }
.listing-card{
  background:var(--white); border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--line); transition:transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column;
}
.listing-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lift); }
.listing-thumb{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--navy-soft); }
.listing-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.listing-card:hover .listing-thumb img{ transform:scale(1.05); }
.listing-tag{
  position:absolute; top:14px; left:14px; background:var(--navy-deep); color:var(--white);
  font-size:10.5px; font-weight:700; padding:6px 13px; border-radius:4px;
  text-transform:uppercase; letter-spacing:.06em;
}
.listing-tag.location{ background:var(--gold); color:var(--white); }
.badge-status{
  position:absolute; top:14px; right:14px; font-size:10.5px; font-weight:700;
  padding:6px 12px; border-radius:4px; text-transform:uppercase; letter-spacing:.04em;
}
.badge-dispo{ background:#eaf3ec; color:#2b6b41; }
.badge-reserve{ background:#f7f0dd; color:#93700f; }
.badge-vendu, .badge-loue{ background:#f6e7e5; color:#9c3b2f; }
.listing-body{ padding:22px 24px 26px; display:flex; flex-direction:column; gap:11px; flex:1; }
.listing-body h3{ font-size:18px; margin:0; font-weight:600; }
.listing-loc{ color:var(--gray); font-size:13px; display:flex; align-items:center; gap:6px; }
.listing-specs{ display:flex; gap:15px; flex-wrap:wrap; font-size:12.5px; color:var(--navy); font-family:'IBM Plex Mono',monospace; margin-top:2px; }
.listing-price{ margin-top:auto; padding-top:16px; border-top:1px solid var(--line); font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:17px; color:var(--navy-deep); display:flex; justify-content:space-between; align-items:center; }
.listing-price a{ font-family:'Manrope',sans-serif; font-size:12.5px; font-weight:700; color:var(--gold-deep); }
.listing-price a:hover{ color:var(--navy-deep); }

/* ---------- Filters bar ---------- */
.filters-bar{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:24px; display:flex; gap:18px; flex-wrap:wrap; align-items:end; margin-bottom:44px;
  box-shadow:var(--shadow-soft);
}
.filter-field{ display:flex; flex-direction:column; gap:7px; flex:1; min-width:150px; }
.filter-field label{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--navy); }
.filter-field select, .filter-field input{
  padding:12px 14px; border:1.5px solid var(--line); border-radius:6px;
  font-family:'Manrope',sans-serif; font-size:14px; background:var(--ivory); color:var(--ink);
}
.filter-field select:focus, .filter-field input:focus{ border-color:var(--gold); outline:none; }

/* ---------- Why / features ---------- */
.feature-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px 44px; margin-top:44px; }
.feature-item{ display:flex; gap:18px; }
.feature-icon{
  width:46px; height:46px; border-radius:8px; background:var(--navy-deep); color:var(--gold-light);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:19px;
}
.feature-item h4{ margin:0 0 6px; font-size:16px; color:var(--navy-deep); font-weight:600; }
.feature-item p{ margin:0; color:var(--gray); font-size:13.5px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg,var(--navy-deep),var(--navy-soft));
  border-radius:var(--radius-lg); padding:60px; display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap; color:var(--white);
}
.cta-banner h2{ color:var(--white); max-width:460px; margin:0; font-weight:500; }
.cta-banner p{ color:#aebdcd; margin:12px 0 0; max-width:460px; font-size:14.5px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-deep); color:#93a2b4; padding:70px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:42px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer-logo-box{ background:var(--white); border-radius:8px; padding:8px 10px; display:inline-flex; }
.footer-logo-box img{ height:34px; }
.footer-brand strong{ color:var(--white); font-family:'Fraunces',serif; font-size:18px; font-weight:600; }
.site-footer h4{ color:var(--white); font-size:13px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:20px; font-weight:700; }
.site-footer p{ font-size:13.5px; line-height:1.7; }
.site-footer ul li{ margin-bottom:11px; font-size:13.5px; }
.site-footer a:hover{ color:var(--gold-light); }
.footer-bottom{
  margin-top:54px; padding-top:28px; border-top:1px solid rgba(255,255,255,.08);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12px; color:#6f8093;
}

/* ---------- Forms (contact, admin) ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-field{ display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.form-field.full{ grid-column:1/-1; }
.form-field label{ font-size:12.5px; font-weight:700; color:var(--navy-deep); }
.form-field input, .form-field select, .form-field textarea{
  padding:13px 15px; border:1.5px solid var(--line); border-radius:6px;
  font-family:'Manrope',sans-serif; font-size:14.5px; background:var(--white); color:var(--ink); width:100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--gold); outline:none; }
.form-field textarea{ resize:vertical; min-height:120px; }
.form-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:38px; box-shadow:var(--shadow-soft); }

.flash-message{ padding:16px 20px; border-radius:6px; margin-bottom:24px; font-weight:600; font-size:14px; }
.flash-succes{ background:#eaf3ec; color:#2b6b41; border:1px solid #cbe0d0; }
.flash-erreur{ background:#f6e7e5; color:#9c3b2f; border:1px solid #ecd0cc; }

/* ---------- Detail page ---------- */
.detail-gallery{ display:grid; grid-template-columns:2fr 1fr; gap:14px; border-radius:var(--radius-lg); overflow:hidden; }
.detail-gallery img{ width:100%; height:100%; object-fit:cover; }
.detail-gallery .side{ display:grid; grid-template-rows:1fr 1fr; gap:14px; }
.detail-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; margin:38px 0 26px; }
.detail-specs{ display:flex; gap:30px; flex-wrap:wrap; padding:26px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin:28px 0; }
.detail-specs div{ display:flex; flex-direction:column; gap:5px; }
.detail-specs span{ font-size:11.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--gray); }
.detail-specs strong{ font-family:'IBM Plex Mono',monospace; font-size:16.5px; color:var(--navy-deep); font-weight:600; }
.detail-layout{ display:grid; grid-template-columns:1.6fr .9fr; gap:46px; margin-top:10px; }
.sticky-card{ position:sticky; top:100px; align-self:start; }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-size:12.5px; color:var(--gray); margin-bottom:20px; }
.breadcrumb a{ color:var(--navy); font-weight:600; }
.breadcrumb a:hover{ color:var(--gold-deep); }

/* ---------- Empty state ---------- */
.empty-state{ text-align:center; padding:72px 20px; color:var(--gray); }
.empty-state .icon{ font-size:42px; margin-bottom:16px; opacity:.6; }

/* ---------- Pagination ---------- */
.pagination{ display:flex; gap:8px; justify-content:center; margin-top:48px; }
.pagination a, .pagination span{
  width:38px; height:38px; border-radius:6px; display:flex; align-items:center; justify-content:center;
  border:1.5px solid var(--line); font-weight:700; font-size:13.5px; color:var(--navy-deep);
}
.pagination a:hover{ border-color:var(--gold); color:var(--gold-deep); }
.pagination .active{ background:var(--navy-deep); color:var(--white); border-color:var(--navy-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:320px; margin:0 auto 20px; }
  .cat-grid{ grid-template-columns:1fr; }
  .feature-list{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .detail-layout{ grid-template-columns:1fr; }
  .detail-gallery{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  section{ padding:70px 0; }
}
@media (max-width: 720px){
  .main-nav{ position:fixed; inset:70px 16px auto 16px; background:var(--white); border-radius:10px;
    flex-direction:column; align-items:flex-start; padding:20px; box-shadow:var(--shadow-lift);
    border:1px solid var(--line); display:none; gap:18px; }
  .main-nav.open{ display:flex; }
  .burger{ display:block; }
  .footer-grid{ grid-template-columns:1fr; }
  .cta-banner{ padding:38px; }
}
