/* Liban Viager — shared stylesheet (static, no build step) */
:root{
  --navy:#0E2340; --navy-2:#173654; --steel:#2C5C86; --steel-light:#EAF1F8;
  --terracotta:#C1653D; --terracotta-dark:#9C4C2C;
  --status-green:#1E824C; --status-green-bg:#E7F4EC;
  --status-amber:#9C6B0B; --status-amber-bg:#FBF0DA;
  --status-red:#B4342D; --status-red-bg:#FAEAE8;
  --gold:#B8922E; --bg:#F5F6F8; --white:#FFFFFF; --line:#E2E5EA;
  --text-dark:#141B24; --text-muted:#5B6472;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Manrope',sans-serif; color:var(--text-dark); background:var(--bg); line-height:1.6; font-size:15px;}
h1,h2,h3,h4{font-family:'Manrope',sans-serif; font-weight:800; line-height:1.2; color:var(--navy);}
.serif{font-family:'Space Grotesk',sans-serif; font-weight:700;}
img,svg{display:block;}
a{text-decoration:none; color:inherit;}
button{font-family:inherit; cursor:pointer;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
.eyebrow{font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--steel); font-weight:700;}
.btn{display:inline-flex; align-items:center; gap:8px; padding:12px 22px; border-radius:8px; font-weight:700; font-size:14px; cursor:pointer; border:1px solid transparent; background:none;}
.btn-primary{background:var(--terracotta); color:var(--white);}
.btn-primary:hover{background:var(--terracotta-dark);}
.btn-navy{background:var(--navy); color:var(--white);}
.btn-outline{border-color:var(--line); color:var(--navy); background:var(--white);}
.btn-outline:hover{border-color:var(--steel);}
section{padding:72px 0;}
.badge{display:inline-flex; align-items:center; gap:6px; background:var(--steel-light); color:var(--steel); font-size:12.5px; font-weight:700; padding:5px 12px; border-radius:6px;}
.section-head{max-width:640px; margin-bottom:8px;}
.section-head h2{font-size:32px; margin:10px 0 12px;}
.section-head p{color:var(--text-muted); font-size:15.5px;}

/* SITE HEADER / NAV */
.site-header{position:sticky; top:0; z-index:50; background:var(--white); border-bottom:1px solid var(--line);}
.site-nav{max-width:1180px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:16px 32px;}
.logo{display:flex; align-items:center; gap:9px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:18px; letter-spacing:0.01em; color:var(--navy);}
.logo svg{width:26px; height:26px; flex-shrink:0; display:block;}
.nav-links{display:flex; gap:26px; font-size:14px; font-weight:700; color:var(--text-muted); align-items:center;}
.nav-links a.active{color:var(--navy);}
.nav-links a:hover{color:var(--navy);}
.nav-cta{display:flex; gap:10px; align-items:center;}
.lang-switch{font-size:12px; font-weight:700; color:var(--text-muted); display:flex; gap:7px; margin-right:6px;}
.lang-switch button{background:none; border:none; padding:2px 4px; font-weight:700; font-size:12px; color:var(--text-muted); font-family:inherit;}
.lang-switch button.on{color:var(--navy);}
.nav-toggle{display:none; background:none; border:1px solid var(--line); border-radius:8px; padding:8px 10px; font-size:16px; color:var(--navy);}

/* HOMEPAGE HERO */
.hero{padding:56px 0 48px; background:var(--white);}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center;}
.hero h1{font-size:38px; letter-spacing:-.01em; margin:14px 0 16px;}
.hero p.lead{font-size:16px; color:var(--text-muted); max-width:460px; margin-bottom:22px;}
.search-bar{display:flex; gap:8px; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:8px; margin-bottom:26px; flex-wrap:wrap;}
.search-bar select, .search-bar input{border:none; background:transparent; font-family:inherit; font-size:13.5px; color:var(--text-dark); padding:8px 10px; font-weight:600;}
.search-bar .btn-primary{padding:10px 20px;}
.hero-stats{display:flex; gap:30px;}
.hero-stats .stat b{display:block; font-size:22px; color:var(--navy); font-weight:800;}
.hero-stats .stat span{font-size:12.5px; color:var(--text-muted);}
.hero-card{background:var(--white); border-radius:14px; padding:24px; box-shadow:0 20px 44px -26px rgba(14,35,64,0.3); border:1px solid var(--line);}
.hero-card .row{display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--line);}
.hero-card .row:last-child{border-bottom:none;}
.hero-card .row .label{font-size:12.5px; color:var(--text-muted);}
.hero-card .row .value{font-size:15px; color:var(--navy); font-weight:800;}
.hero-card .headline{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:16px;}
.pill-status{background:var(--status-green-bg); color:var(--status-green); font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:6px;}
.hero-property{width:100%; height:120px; border-radius:10px; margin-bottom:16px; background:linear-gradient(135deg,#123252,#2C5C86); position:relative;}
.hero-property .cap{position:absolute; left:14px; bottom:12px; color:var(--white); font-size:12.5px; font-weight:700;}

/* TRUST STRIP */
.trust{padding:24px 0; border-bottom:1px solid var(--line); background:var(--bg);}
.trust-row{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;}
.trust-item{display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; color:var(--navy);}
.trust-item .dot{width:6px; height:6px; border-radius:50%; background:var(--terracotta);}

/* HOW IT WORKS */
.inner-section{padding:56px 0;}
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:32px;}
.step-card{background:var(--white); border-radius:10px; padding:22px 20px; border:1px solid var(--line);}
.step-num{font-size:13px; color:var(--terracotta); font-weight:800; margin-bottom:10px;}
.step-card h4{font-size:15.5px; margin-bottom:8px;}
.step-card p{font-size:13px; color:var(--text-muted);}

/* COMPARISON */
.compare-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:32px;}
.compare-card{background:var(--white); border:1px solid var(--line); border-radius:10px; padding:26px;}
.compare-card.featured{border-color:var(--steel); background:var(--steel-light);}
.compare-card h3{font-size:18px; margin-bottom:4px;}
.compare-card .tag{font-size:12px; color:var(--steel); font-weight:700; margin-bottom:14px; display:block;}
.compare-list{list-style:none; margin-top:14px;}
.compare-list li{display:flex; gap:9px; font-size:13.5px; color:var(--text-dark); padding:7px 0; border-top:1px solid var(--line);}
.compare-list li:first-child{border-top:none;}
.check{color:var(--steel); font-weight:800;}

/* INSURANCE BANNER */
.assurance{border:1px solid var(--line); border-radius:10px; padding:32px; display:flex; justify-content:space-between; align-items:center; gap:32px; background:var(--white); flex-wrap:wrap;}
.assurance h3{font-size:19px; max-width:460px;}
.assurance p{color:var(--text-muted); max-width:460px; margin-top:8px; font-size:13.5px;}
.assurance-badge{background:var(--steel-light); border-radius:10px; padding:16px 22px; text-align:center; min-width:150px;}
.assurance-badge b{display:block; font-size:20px; color:var(--navy);}
.assurance-badge span{font-size:11.5px; color:var(--text-muted);}

/* LISTINGS PAGE */
.page-hero{padding:36px 0 8px; background:var(--white);}
.page-hero h1{font-size:26px;}
.page-hero p{color:var(--text-muted); font-size:14px; margin-top:6px;}
.filter-bar{display:flex; gap:8px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); flex-wrap:wrap; background:var(--white);}
.filter-bar select{border:1px solid var(--line); border-radius:8px; padding:9px 12px; font-family:inherit; font-size:13px; font-weight:600; color:var(--text-dark); background:var(--white);}
.chip-row{display:flex; gap:8px; padding:14px 0; flex-wrap:wrap; border-bottom:1px solid var(--line); background:var(--white);}
.chip{font-size:12.5px; font-weight:700; padding:7px 14px; border-radius:999px; border:1px solid var(--line); color:var(--text-muted); background:var(--white);}
.chip.active{background:var(--navy); color:var(--white); border-color:var(--navy);}
.results-head{display:flex; justify-content:space-between; align-items:center; padding:18px 0 0; flex-wrap:wrap; gap:10px;}
.results-head h4{font-size:15px; font-weight:800; color:var(--navy);}
.results-head .sort{font-size:12.5px; color:var(--text-muted); font-weight:700;}
.listing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; padding:18px 0 28px;}
.listing-card{border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--white);}
.listing-photo{height:120px; background:linear-gradient(135deg,#123252,#2C5C86); position:relative;}
.listing-photo .type-badge{position:absolute; top:10px; left:10px; background:var(--white); color:var(--navy); font-size:11px; font-weight:800; padding:4px 9px; border-radius:6px;}
.listing-photo .save{position:absolute; top:10px; right:10px; width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,0.9); display:flex; align-items:center; justify-content:center; font-size:13px; color:var(--navy); border:none;}
.listing-photo .save.saved{color:var(--terracotta);}
.listing-body{padding:14px 16px;}
.listing-price{display:flex; justify-content:space-between; margin-bottom:8px;}
.listing-price b{font-size:15px; color:var(--navy); font-weight:800;}
.listing-price span{font-size:11px; color:var(--text-muted); display:block; font-weight:500;}
.listing-loc{font-size:12.5px; color:var(--text-muted); margin-bottom:4px;}
.listing-specs{font-size:12px; color:var(--text-muted); border-top:1px solid var(--line); margin-top:10px; padding-top:10px; display:flex; justify-content:space-between;}
.listing-specs a{color:var(--steel); font-weight:700;}
.pagination{display:flex; gap:6px; justify-content:center; padding:8px 0 28px;}
.pagination span{width:30px; height:30px; border-radius:6px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:700; color:var(--text-muted);}
.pagination span.on{background:var(--navy); color:var(--white); border-color:var(--navy);}

/* MA RECHERCHE PAGE */
.search-header{display:flex; justify-content:space-between; align-items:center; padding:32px 0 16px; flex-wrap:wrap; gap:10px;}
.search-header h2{font-size:22px;}
.criteria-row{display:flex; gap:8px; padding:0 0 16px; flex-wrap:wrap;}
.criteria-chip{font-size:12.5px; font-weight:700; padding:7px 13px; border-radius:999px; background:var(--steel-light); color:var(--steel);}
.alert-row{display:flex; justify-content:space-between; align-items:center; margin:0 0 20px; padding:14px 18px; background:var(--white); border:1px solid var(--line); border-radius:10px; flex-wrap:wrap; gap:10px;}
.alert-row .al{font-size:13.5px; font-weight:700; color:var(--navy);}
.alert-row .as{font-size:12px; color:var(--text-muted);}
.toggle{width:38px; height:22px; border-radius:999px; background:var(--status-green); position:relative; border:none; flex-shrink:0;}
.toggle:after{content:""; width:16px; height:16px; border-radius:50%; background:var(--white); position:absolute; right:3px; top:3px; transition:right .15s;}
.toggle.off{background:var(--line);}
.toggle.off:after{right:19px;}
.new-tag{position:absolute; top:10px; left:10px; background:var(--terracotta); color:var(--white); font-size:11px; font-weight:800; padding:4px 9px; border-radius:6px;}

/* BROKER PAGE */
.broker-header{display:flex; justify-content:space-between; align-items:center; padding:32px 0 20px; flex-wrap:wrap; gap:10px;}
.broker-header h2{font-size:22px;}
.stat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; padding:0 0 24px;}
.stat-card{border:1px solid var(--line); border-radius:10px; padding:18px; background:var(--white);}
.stat-card .sl{font-size:12px; color:var(--text-muted); font-weight:700;}
.stat-card .sv{font-size:24px; color:var(--navy); font-weight:800; margin-top:6px;}
.broker-table{margin:0 0 28px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--white);}
.bt-row{display:grid; grid-template-columns:2fr 1.2fr 1.2fr 1fr; padding:13px 18px; font-size:13px; align-items:center;}
.bt-row.head{background:var(--bg); font-weight:700; color:var(--text-muted); font-size:11.5px; text-transform:uppercase; letter-spacing:.04em;}
.bt-row:not(.head){border-top:1px solid var(--line);}
.status-pill{font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:6px; display:inline-block;}
.status-pill.signed{background:var(--status-green-bg); color:var(--status-green);}
.status-pill.progress{background:var(--status-amber-bg); color:var(--status-amber);}
.status-pill.lost{background:var(--status-red-bg); color:var(--status-red);}

/* APP SHOWCASE */
.app-section{background:var(--white); border-top:1px solid var(--line);}
.phones{display:flex; gap:26px; justify-content:center; margin-top:36px; flex-wrap:wrap;}
.phone{width:230px; background:var(--navy); border-radius:28px; padding:10px; box-shadow:0 30px 60px -34px rgba(14,35,64,0.45);}
.phone .notch{width:60px; height:14px; background:var(--navy); border-radius:0 0 10px 10px; margin:0 auto 6px;}
.screen{background:var(--bg); border-radius:18px; overflow:hidden; min-height:430px; display:flex; flex-direction:column;}
.screen-top{background:var(--white); padding:14px 14px 10px; border-bottom:1px solid var(--line);}
.screen-top .g{font-size:10.5px; color:var(--text-muted); font-weight:700;}
.screen-top .t{font-size:15.5px; color:var(--navy); margin-top:2px; font-weight:800;}
.screen-body{padding:12px 14px; flex:1; display:flex; flex-direction:column; gap:9px;}
.mini-card{background:var(--white); border-radius:10px; padding:12px 13px; border:1px solid var(--line);}
.mini-card .mc-label{font-size:10.5px; color:var(--text-muted); font-weight:700;}
.mini-card .mc-val{font-size:16.5px; color:var(--navy); margin-top:2px; font-weight:800;}
.mini-row{display:flex; justify-content:space-between; align-items:center; font-size:12px; padding:7px 0; border-top:1px solid var(--line);}
.mini-row:first-child{border-top:none;}
.mini-tag{font-size:10px; font-weight:700; padding:3px 8px; border-radius:6px; background:var(--status-green-bg); color:var(--status-green);}
.mini-tag.amber{background:var(--status-amber-bg); color:var(--status-amber);}
.role-pick{display:flex; flex-direction:column; gap:8px; margin-top:6px;}
.role-opt{border:1px solid var(--line); border-radius:8px; padding:12px; font-size:12.5px; font-weight:700; color:var(--navy); background:var(--white); text-align:left; width:100%;}
.role-opt.sel{border-color:var(--terracotta); background:#FBEFE9;}
.bottom-nav{display:flex; justify-content:space-around; padding:11px 0 6px; background:var(--white); border-top:1px solid var(--line); font-size:10px; color:var(--text-muted); font-weight:700;}
.bottom-nav .on{color:var(--terracotta);}
.phone-caption{text-align:center; margin-top:14px; font-size:13px; font-weight:700; color:var(--navy);}

footer{background:var(--white); border-top:1px solid var(--line); padding:48px 0 26px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; margin-bottom:32px;}
.foot-grid h5{font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--navy); margin-bottom:12px;}
.foot-grid ul{list-style:none; display:flex; flex-direction:column; gap:8px;}
.foot-grid ul a{font-size:13.5px; color:var(--text-muted);}
.foot-grid ul a:hover{color:var(--navy);}
.foot-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:20px; border-top:1px solid var(--line); font-size:12.5px; color:var(--text-muted); flex-wrap:wrap; gap:8px;}

.notice-strip{background:var(--steel-light); color:var(--steel); font-size:12.5px; font-weight:600; text-align:center; padding:8px 16px;}

@media(max-width:900px){
  .hero-grid, .compare-grid{grid-template-columns:1fr;}
  .steps, .listing-grid, .stat-grid{grid-template-columns:1fr 1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .nav-links{position:fixed; top:65px; left:0; right:0; background:var(--white); flex-direction:column; align-items:flex-start; padding:18px 24px; border-bottom:1px solid var(--line); display:none; gap:16px;}
  .nav-links.open{display:flex;}
  .nav-toggle{display:block;}
  .bt-row{grid-template-columns:1.6fr 1fr 1fr;}
}
