:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#5a6473;
  --card:#ffffff;
  --line:#e9eef5;
  --brand:#0ea5e9; /* sky-500 */
  --brand-2:#f59e0b; /* amber-500 */
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --maxw:1200px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji"}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.8);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:36px;height:36px;border-radius:10px;background:conic-gradient(from 210deg at 50% 50%, var(--brand), var(--brand-2), var(--brand));box-shadow:0 4px 16px rgba(2,6,23,.12)}
.brand h1{font-size:18px;margin:0;font-weight:800;letter-spacing:.4px}
.nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.nav a{padding:10px 12px;border-radius:12px;color:var(--text)}
.nav a:hover{background:#f5f7fb;text-decoration:none}
.nav-cta{padding:10px 14px;background:linear-gradient(135deg, var(--brand), var(--brand-2));border:0;border-radius:12px;color:#ffffff;font-weight:800;box-shadow:var(--shadow)}
.lang-toggle{border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:#fff;color:var(--text)}
.menu-btn{display:none}
@media (max-width: 900px){
  .menu-btn{display:block;border:1px solid var(--line);background:#fff;color:var(--text);border-radius:12px;padding:8px 10px}
  .nav ul{display:none;position:fixed;top:72px;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:14px}
  .nav ul.open{display:flex;flex-direction:column}
  .nav .right{display:flex;gap:10px;align-items:center}
}
.hero{padding:70px 0}
.hero .wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:36px;align-items:center}
.tag{display:inline-flex;align-items:center;gap:10px;background:#e8f6fe;border:1px solid #cdeafe;padding:6px 10px;border-radius:999px;color:#0767a8;font-weight:700}
.tag .dot{width:7px;height:7px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 6px rgba(14,165,233,.18)}
.h1{font-size:44px;line-height:1.1;margin:16px 0 12px}
.h2{font-size:20px;color:var(--muted);font-weight:500;margin:0 0 24px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;border:1px solid var(--line);color:var(--text);background:#fff;font-weight:700}
.btn.primary{border:0;background:linear-gradient(135deg, var(--brand), var(--brand-2));color:#fff}
.btn:hover{transform:translateY(-1px)}
.visual{position:relative;border-radius:18px;background:#f7fafc;border:1px solid var(--line);box-shadow:var(--shadow);padding:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tile{border-radius:16px;background:radial-gradient(120% 100% at 0% 0%, rgba(14,165,233,.12), rgba(245,158,11,.08) 50%, rgba(2,6,23,.02) 100%);border:1px solid var(--line);height:130px;display:flex;align-items:center;justify-content:center;font-weight:800;color:#0b1220}
section{padding:70px 0;border-top:1px solid var(--line);background:#fff}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px}
.section-head h3{margin:0;font-size:26px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:18px}
.card h4{margin:8px 0 6px}
.muted{color:var(--muted)}
@media (max-width: 900px){
  .hero .wrap{grid-template-columns:1fr}
  .grid-3, .cards{grid-template-columns:1fr}
}
.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.project{position:relative;overflow:hidden;border-radius:16px;background:#fff;border:1px solid var(--line);cursor:pointer;box-shadow:var(--shadow)}
.project img{display:block;width:100%;height:200px;object-fit:cover;filter:saturate(1.05) contrast(1.01)}
.project .label{position:absolute;left:10px;bottom:10px;background:rgba(255,255,255,.85);backdrop-filter:blur(4px);padding:6px 10px;border-radius:12px;border:1px solid var(--line);font-weight:800}
.modal{position:fixed;inset:0;background:rgba(2,6,23,.45);display:none;align-items:center;justify-content:center;padding:20px}
.modal.open{display:flex}
.modal-card{background:#ffffff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);max-width:980px;width:100%;padding:16px}
.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.modal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.modal-grid img{width:100%;height:200px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
@media (max-width: 900px){
  .modal-grid{grid-template-columns:1fr}
  .modal-grid img{height:180px}
}
form{display:grid;gap:14px}
input, textarea, select{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--text)}
textarea{min-height:120px;resize:vertical}
.status{margin-top:8px;font-size:14px}
footer{padding:28px 0;border-top:1px solid var(--line);color:var(--muted);background:#fff}
.col-3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}
@media (max-width: 900px){
  .col-3{grid-template-columns:1fr}
}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;text-align:center;box-shadow:var(--shadow)}
.breadcrumbs{font-size:14px;color:var(--muted);margin-top:6px}

/* === BUILD INNOV Brand Overrides (from charte) === */
:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#5E5E5E;         /* Gris foncé charte */
  --muted-2:#797979;       /* Gris moyen charte */
  --card:#ffffff;
  --line:#e9eef5;
  --brand-red:#941202;     /* Rouge principal */
  --brand-blue:#254159;    /* Bleu profond */
  --brand:#254159;         /* Use blue as primary */
  --brand-2:#941202;       /* Use red as secondary */
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --maxw:1200px;
}

/* Typography per charte (web-safe fallbacks) */
:root{
  --font-heading: Didot, "Bodoni Moda", "Playfair Display", Georgia, serif;
  --font-body: Nexa, Arial, "Helvetica Neue", Helvetica, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading); color:var(--brand-blue)}
body{font-family:var(--font-body);}

/* Buttons & accents to brand */
.nav a:hover{background:#f5f7fb;text-decoration:none}
.nav-cta{background:linear-gradient(135deg, var(--brand), var(--brand-2));}
.btn.primary{background:linear-gradient(135deg, var(--brand), var(--brand-2));}
a{color:var(--brand);}
.tile{color:#0b1220;border-color:#e7edf5;background:radial-gradient(120% 100% at 0% 0%, rgba(37,65,89,.10), rgba(148,18,2,.06) 50%, rgba(2,6,23,.02) 100%);}
.muted{color:var(--muted)}

/* Header border subtle */
header{border-bottom:1px solid var(--line)}

/* Project label contrast on white imagery */
.project .label{background:rgba(255,255,255,.9);border:1px solid var(--line)}

.brand img{vertical-align:middle}


/* Floating WhatsApp button */
.wa-float{
  position:fixed;
  right:20px;
  bottom:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  border:0;
  z-index:60;
}
.wa-float:hover{transform:translateY(-1px)}


/* === Corporate Blue Footer === */
.footer-blue{background:#254159;color:#ffffff;padding:36px 0;border-top:1px solid rgba(255,255,255,.08)}
.footer-blue .muted{color:rgba(255,255,255,.8)}
.footer-blue a{color:#ffffff}
.footer-blue a:hover{text-decoration:underline}
.footer-blue h4{color:#ffffff;margin:0 0 10px}
.footer-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:24px}
@media (max-width: 900px){.footer-cols{grid-template-columns:1fr}}
.footer-brand{display:flex;align-items:center;gap:14px}
.footer-brand img{height:34px;width:auto;display:block}
.footer-legal{margin-top:8px;font-size:14px;color:rgba(255,255,255,.8)}

/* Baobab Bleu Promo Button (corporate) */
.promo-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:14px}
.promo-title{font-weight:800;margin:0 0 6px}
.promo-text{margin:0 0 10px;color:rgba(255,255,255,.85)}
.promo-btn{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.3);color:#0b1220;background:#ffffff;font-weight:800}
.promo-btn:hover{transform:translateY(-1px)}


/* --- Subtle logo-inspired background motif on white --- */
body{
  background-color:#ffffff;
  background-image:
    radial-gradient(120% 60% at 100% -10%, rgba(37,65,89,.06), rgba(255,255,255,0) 60%),
    radial-gradient(120% 60% at -10% 110%, rgba(148,18,2,.04), rgba(255,255,255,0) 55%),
    url('motif-bi.svg');
  background-size: auto, auto, 160px 160px;
  background-repeat: no-repeat, no-repeat, repeat;
}
/* Increase opacity a touch on hero only for depth */
.hero::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(100% 40% at 0% 0%, rgba(37,65,89,.04), transparent 60%);
}
.hero{ position:relative; }
@media (max-width: 900px){
  body{ background-size: auto, auto, 120px 120px; }
}
@media print{
  body{ background-image:none; }
}


/* ISO certification badges */
.cert-badges{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:10px}
.cert-badges img{height:28px;width:auto;display:inline-block;border-radius:6px;border:1px solid var(--line);background:#fff}
@media (max-width:900px){.cert-badges img{height:24px}}
.footer-certs{margin-top:10px;display:flex;align-items:center;gap:10px}
.footer-certs img{height:24px;width:auto;border-radius:4px;border:1px solid rgba(255,255,255,.2);background:#fff}


/* Baobab Bleu one-page styles */
.bb-hero-visual{padding:30px 0;background:#fff;border-top:1px solid var(--line)}
.bb-hero-card{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:stretch}
.bb-hero-img{border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow);min-height:280px;background:url('https://images.unsplash.com/photo-1499951360447-b19be8fe80f5?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat}
.bb-hero-copy{border-radius:18px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);padding:18px}
.bb-feats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
.bb-feats>div{border:1px solid var(--line);border-radius:12px;padding:10px;background:#f9fbfe}
.bb-feats strong{display:block;color:var(--brand)}
.bb-img{width:100%;height:160px;object-fit:cover;border-radius:12px;border:1px solid var(--line);margin-bottom:10px}
.bb-list{margin:8px 0 12px;padding-left:18px}
.bb-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.bb-gallery img{width:100%;height:180px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.bb-map iframe{border-radius:12px;border:1px solid var(--line)}
/* Tabs */
.tabs{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow);padding:10px}
.tabs-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.tabs-nav button{padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff}
.tabs-nav button.active{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;border:0}
.tab-panel{display:none}
.tab-panel.active{display:block}
@media (max-width:900px){
  .bb-hero-card{grid-template-columns:1fr}
  .bb-feats{grid-template-columns:repeat(2,1fr)}
  .bb-gallery{grid-template-columns:1fr}
}


/* === Baobab Bleu palette & components (VEFA page) === */
:root{
  --bb-blue:#123a5a;      /* bleu Baobab */
  --bb-blue-2:#0b5ea8;    /* accent bleu */
  --bb-green:#1d9443;     /* Disponible */
  --bb-orange:#ff8b2a;    /* En option */
  --bb-red:#d94848;       /* Vendu */
}
.bb-hero-visual .bb-hero-copy h3{color:var(--bb-blue)}
.bb-feats>div{background:linear-gradient(180deg,#f7fbff,#ffffff);}
.bb-feats svg{width:18px;height:18px;margin-right:8px;color:var(--bb-blue)}

.bb-status{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;font-weight:800;font-size:13px;border:1px solid var(--line);background:#fff}
.bb-status svg{width:16px;height:16px}
.bb-status.available{color:var(--bb-green);border-color:rgba(29,148,67,.35)}
.bb-status.available svg{color:var(--bb-green)}
.bb-status.option{color:var(--bb-orange);border-color:rgba(255,139,42,.35)}
.bb-status.option svg{color:var(--bb-orange)}
.bb-status.sold{color:var(--bb-red);border-color:rgba(217,72,72,.35)}
.bb-status.sold svg{color:var(--bb-red)}

.bb-metre{display:inline-flex;align-items:center;gap:8px}
.bb-metre svg{width:18px;height:18px;color:var(--bb-blue)}

.card .bb-meta{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
.card .bb-meta .price{font-weight:800;color:var(--bb-blue)}

.btn.bb-primary{background:linear-gradient(135deg,var(--bb-blue),var(--bb-blue-2));color:#fff;border:0}

/* minor tune for cards images if added later */
.card .bb-img{border:1px solid var(--line)}

