/* BET NOMA BTP — Nouveau Design Premium */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #D4A82A;
  --gold-light: #EDD06E;
  --gold-dark: #A07E1A;
  --steel: #1C2B50;
  --steel-mid: #2D4075;
  --steel-light: #4A62A0;
  --concrete: #EEF0F5;
  --concrete-dark: #C8CEDD;
  --white: #F7F8FB;
  --text-dark: #131E38;
  --text-mid: #2D4075;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text-dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* NAV */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 1rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(28,43,80,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,168,42,0.25);
  transition: padding 0.3s;
}
#navbar.scrolled { padding: 0.7rem 4rem; }
#nav-logo-img { height: 52px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: rgba(247,248,251,0.75);
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--gold);
  color: var(--steel) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: 0.3s; }

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--steel);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 9rem 4rem 5rem;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,168,42,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,42,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-accent {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px;
  border: 1px solid rgba(212,168,42,0.18); border-radius: 50%;
}
.hero-accent::before {
  content: ''; position: absolute; inset: 40px;
  border: 1px solid rgba(212,168,42,0.1); border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(212,168,42,0.4);
  color: var(--gold);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900; color: var(--white);
  line-height: 1.05; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero p { font-size: 1.05rem; color: rgba(247,248,251,0.65); line-height: 1.8; max-width: 520px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary {
  padding: 0.9rem 2rem;
  background: var(--gold); color: var(--steel);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.05em;
  border: none; cursor: pointer; display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  padding: 0.9rem 2rem; background: transparent; color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid rgba(247,248,251,0.3); cursor: pointer; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-submit { width: 100%; text-align: center; font-size: 1rem; padding: 1rem; }

/* STATS BAR */
.stats-bar {
  background: var(--gold);
  padding: 1.5rem 4rem;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem;
}
.stat-item { text-align: center; padding: 0.5rem 2rem; border-right: 1px solid rgba(26,35,50,0.2); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900; color: var(--steel);
}
.stat-suffix { font-size: 1.2rem; font-weight: 900; color: var(--steel); }
.stat-label { font-size: 0.78rem; font-weight: 600; color: var(--steel-mid); letter-spacing: 0.08em; text-transform: uppercase; }

/* SECTIONS */
section { padding: 5rem 4rem; }
.section-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--text-dark); margin-bottom: 1rem; }
.section-subtitle { font-size: 1rem; color: var(--text-mid); line-height: 1.75; max-width: 560px; }

/* SERVICES */
.services { background: var(--concrete); }
.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-header .section-subtitle { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; }
.service-card {
  background: var(--white); padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s; cursor: default;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--gold);
  transition: width 0.4s ease;
}
.service-card:hover::before { width: 100%; }
.service-card:hover { transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px; background: var(--steel);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.service-num { position: absolute; top: 1.5rem; right: 1.75rem; font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 900; color: rgba(212,168,42,0.12); line-height: 1; }

/* PROJECTS */
.projects { background: var(--white); }
.projects-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.projects-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 200px; gap: 1px; }
.project-card { background: var(--steel-mid); position: relative; overflow: hidden; cursor: pointer; }
.project-card.large { grid-row: 1 / 3; }
.project-bg { position: absolute; inset: 0; transition: transform 0.6s ease; }
.project-card:hover .project-bg { transform: scale(1.05); }
.p1 .project-bg { background: linear-gradient(135deg,#1A2332,#2D3F55); }
.p2 .project-bg { background: linear-gradient(135deg,#2A1810,#4A2E1A); }
.p3 .project-bg { background: linear-gradient(135deg,#0A2018,#1A3828); }
.p4 .project-bg { background: linear-gradient(135deg,#1A1A2E,#2D2D4F); }
.p5 .project-bg { background: linear-gradient(135deg,#1E1208,#3D2B12); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,22,0.9) 30%, transparent);
  padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.project-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.project-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); }
.large .project-name { font-size: 1.6rem; }
.project-loc { font-size: 0.8rem; color: rgba(247,248,251,0.5); margin-top: 0.25rem; }
.project-arrow {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  border: 1px solid rgba(212,168,42,0);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.project-card:hover .project-arrow { background: var(--gold); border-color: var(--gold); }
.project-arrow svg { width: 16px; stroke: var(--white); fill: none; stroke-width: 2; }

/* SAWADOGO SLIDER */
.sawadogo-card { overflow: hidden; }
.sawadogo-slider { position: absolute; inset: 0; }
.sawadogo-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.03);
  cursor: zoom-in;
}
.sawadogo-slide.active { opacity: 1; transform: scale(1); }
.sawadogo-dots {
  position: absolute; top: 1.2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.sdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: background 0.3s, transform 0.3s; padding: 0;
}
.sdot.active { background: var(--gold); transform: scale(1.3); }

/* FACADE SLIDER */
.facade-card { overflow: hidden; }
.facade-slider { position: absolute; inset: 0; }
.facade-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.03);
}
.facade-slide.active { opacity: 1; transform: scale(1); }

/* VILLA SLIDER */
.villa-card { overflow: hidden; }
.villa-slider { position: absolute; inset: 0; }
.villa-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.03);
}
.villa-slide.active { opacity: 1; transform: scale(1); }

/* HORS-PROJET SLIDER */
.horsproj-card { overflow: hidden; }
.horsproj-slider { position: absolute; inset: 0; }
.horsproj-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.03);
}
.horsproj-slide.active { opacity: 1; transform: scale(1); }

/* ETUDE BUTTON */
.etude-btn {
  margin-top: 10px;
  padding: 7px 16px;
  background: rgba(212,168,42,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 2px;
}
.etude-btn:hover { background: var(--gold); color: var(--steel); }

/* SLIDE BADGES */
.slide-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 5px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  z-index: 5;
}
.slide-badge.retained {
  background: var(--gold);
  color: var(--steel);
}
.slide-badge.not-retained {
  background: rgba(30, 30, 30, 0.75);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: line-through;
}

/* WHY */
.why { background: var(--steel); display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.why-text { padding: 5rem; display: flex; flex-direction: column; justify-content: center; }
.why-text .section-title { color: var(--white); }
.why-text .section-subtitle { color: rgba(247,248,251,0.6); margin-bottom: 2.5rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; color: rgba(247,248,251,0.85); font-size: 0.95rem; line-height: 1.6; }
.why-list li::before { content: ''; min-width: 20px; height: 20px; background: var(--gold); clip-path: polygon(0 50%,40% 0,40% 35%,100% 35%,100% 65%,40% 65%,40% 100%); margin-top: 2px; }
.why-visual { background: var(--steel-mid); position: relative; overflow: hidden; min-height: 500px; }
.why-pattern { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg,transparent,transparent 30px,rgba(212,168,42,0.05) 30px,rgba(212,168,42,0.05) 32px); }
.why-archi { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-55%); width: 280px; }
.why-badge { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); background: var(--gold); padding: 1.5rem 2.5rem; text-align: center; white-space: nowrap; }
.why-badge-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--steel); display: block; }
.why-badge-text { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-mid); }

/* CONTACT */
.contact { background: var(--concrete); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--concrete-dark);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; color: var(--text-dark);
  transition: border-color 0.2s; outline: none;
  -webkit-appearance: none; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; min-width: 44px; background: var(--steel); display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.contact-item-text strong { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.2rem; }
.contact-item-text span, .contact-item-text a { font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; }
.contact-item-text a:hover { color: var(--gold); }
.whatsapp-btn {
  display: flex; align-items: center; gap: 12px;
  background: #25D366; color: #fff;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  padding: 14px 24px; transition: 0.2s; justify-content: center;
}
.whatsapp-btn:hover { background: #1fb855; transform: translateY(-2px); }
.form-success { display: none; text-align: center; color: #25a244; font-weight: 600; padding: 12px; background: rgba(37,162,68,0.08); margin-top: 4px; }
.form-success.show { display: block; }
.form-error { display: none; text-align: center; color: #c0392b; font-weight: 600; padding: 12px; background: rgba(192,57,43,0.08); margin-top: 4px; }
.form-error.show { display: block; }

/* FOOTER */
footer { background: var(--text-dark); padding: 2.5rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.8rem; color: rgba(247,248,251,0.35); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.8rem; color: rgba(247,248,251,0.45); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* LIGHTBOX */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94);
  align-items: center; justify-content: center;
  animation: lbFade 0.25s ease;
}
.lightbox.open { display: flex; }
@keyframes lbFade { from{opacity:0} to{opacity:1} }
.lb-inner {
  position: relative; max-width: 92vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
#lb-img {
  max-width: 92vw; max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(212,168,42,0.2);
}
.lb-caption {
  margin-top: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 20px;
  border-radius: 2px;
}
.lb-caption.retained { background: var(--gold); color: var(--steel); }
.lb-caption.not-retained { background: rgba(50,50,50,0.9); color: rgba(255,255,255,0.6); text-decoration: line-through; }
.lb-caption.etude { background: var(--steel); color: var(--gold); border: 1px solid var(--gold); }
.lb-close {
  position: fixed; top: 24px; right: 32px;
  background: none; border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1.3rem; width: 44px; height: 44px;
  cursor: pointer; transition: 0.2s; border-radius: 2px;
}
.lb-close:hover { background: var(--gold); border-color: var(--gold); color: var(--steel); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.6rem; width: 52px; height: 52px;
  cursor: pointer; transition: 0.2s; border-radius: 2px;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover { background: var(--gold); border-color: var(--gold); color: var(--steel); }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  transition: transform 0.3s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.12); }
@keyframes wa-pulse { 0%,100%{box-shadow:0 4px 24px rgba(37,211,102,0.5)} 50%{box-shadow:0 4px 40px rgba(37,211,102,0.8),0 0 0 12px rgba(37,211,102,0.08)} }

/* ANIMATIONS */
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.hero-content > * { animation: fadeUp 0.7s ease both; }
.hero-content > *:nth-child(1){animation-delay:0.1s}
.hero-content > *:nth-child(2){animation-delay:0.25s}
.hero-content > *:nth-child(3){animation-delay:0.4s}
.hero-content > *:nth-child(4){animation-delay:0.55s}
@keyframes spin { to{transform:rotate(360deg)} }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  #navbar, section, .stats-bar, footer { padding-left: 2rem; padding-right: 2rem; }
  .hero { padding-left: 2rem; padding-right: 2rem; }
  .why { grid-template-columns: 1fr; }
  .why-visual { min-height: 300px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .project-card.large { grid-row: auto; grid-column: 1 / -1; height: 280px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(28,43,80,0.98); flex-direction: column; padding: 1.5rem 2rem; gap: 0.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-card { height: 220px; }
  .stat-item { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .why-text { padding: 3rem 2rem; }
  footer { flex-direction: column; text-align: center; }
}
