:root{
  --txt:#f3f6fb;
  --muted:rgba(255,255,255,.78);
  --glass:rgba(0,0,0,.36);
  --glass2:rgba(0,0,0,.26);
  --stroke:rgba(255,255,255,.10);
  --cta:#ff8a00;          /* orange bouton WhatsApp */
  --mint:#3ee7c3;         /* bouton "Demander un devis" en haut */
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 20px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--txt);
  background:#000; /* la vraie image est sur .page-bg */
}

.page-bg{
  position:fixed; inset:0;
  background: url('/assets/template.png') center center / cover no-repeat fixed;
  transform: translateZ(0);
  z-index:-3;
}
.page-bg::after{
  content:"";
  position:absolute; inset:0;
  /* voile sombre léger + un peu de contraste en bas (comme ton modèle) */
  background:
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 35%, rgba(0,0,0,.55) 100%);
}

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* Topbar (sur l'image, style "posé") */
.topbar{
  position:sticky; top:0;
  z-index:50;
  padding:14px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(0,0,0,.22);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--txt);
  min-width: 260px;
}
.brand-mark{
  width:48px; height:48px;
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
}
.brand-logo{width:100%; height:100%; object-fit:cover; display:block}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-sub{font-size:12px; opacity:.85}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
  flex:1;
  justify-content:center;
}
.nav-link{
  color:rgba(255,255,255,.88);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  padding:10px 10px;
  border-radius: 12px;
}
.nav-link:hover{ background: rgba(0,0,0,.22) }
.nav-link.active{
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.10);
}

.topbar-cta{
  display:flex;
  align-items:center;
  gap:12px;
}
.pill{
  text-decoration:none;
  color:rgba(255,255,255,.92);
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
  padding:10px 14px;
  border-radius: 14px;
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  border-radius: 14px;
  padding:12px 16px;
  font-weight:900;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
}
.btn-mint{
  background: linear-gradient(135deg, rgba(62,231,195,1) 0%, rgba(26,196,198,1) 100%);
  color:#04211b;
}

/* Hero */
.hero{
  padding: 48px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items:stretch;
}
.card{
  background: rgba(0,0,0,.36);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-left{ padding: 26px; }
.hero-right{ padding: 22px; display:flex; flex-direction:column; gap:14px; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  font-weight:800;
  font-size:12px;
  width:max-content;
}
.h1{
  font-size: 54px;
  line-height: 1.02;
  margin: 12px 0 12px;
  letter-spacing: -0.8px;
  font-weight: 950;
}
.lead{
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 16px;
}
.btn-orange{
  background: linear-gradient(135deg, rgba(255,138,0,1) 0%, rgba(255,98,0,1) 100%);
  color:#1b0c00;
  border: 1px solid rgba(255,255,255,.12);
}
.btn-ghost{
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.92);
}
.small{
  margin-top: 14px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.kreyol{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  font-weight: 700;
  font-size: 13px;
}
.logo-box{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  padding: 18px;
  min-height: 260px;
}
.logo-box img{
  width:min(260px, 100%);
  height:auto;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  padding: 14px;
}

/* Services cards row */
.section-title{
  margin: 26px 0 14px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tile{
  padding:14px;
  border-radius: 18px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.tile h3{ margin:0 0 6px; font-size:14px; font-weight:900 }
.tile p{ margin:0; color: rgba(255,255,255,.82); font-size:13px; line-height:1.45 }

/* Inner pages */
.page-head{
  margin: 34px 0 14px;
}
.page-head h2{
  margin:0;
  font-size: 34px;
  font-weight: 950;
  letter-spacing:-0.4px;
}
.page-wrap{
  padding: 18px;
}
.prose{
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  font-size: 15px;
}

/* Footer */
.footer{
  margin-top: 26px;
  padding: 18px 0 30px;
  color: rgba(255,255,255,.80);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size: 13px;
}
.footer-links a{ color: rgba(255,255,255,.88); text-decoration:none }
.footer-links a:hover{ text-decoration:underline }

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .hero-grid{ grid-template-columns: 1fr; }
  .h1{ font-size: 44px; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .brand{ min-width: 0; }
  .brand-sub{ display:none; }
  .grid{ grid-template-columns: 1fr; }
  .h1{ font-size: 38px; }
}