/* ==========================================================
   Buchat — buchat.bujaonline.bi landing page
   Couleurs : Buja Online (bleu #1976D2 + orange #F57C00)
   ========================================================== */

:root {
  --primary: #1976D2;
  --primary-dark: #0D1B2A;
  --primary-light: #42A5F5;
  --accent: #F57C00;
  --accent-light: #FFB74D;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #212121;
  --text-sec: #5C6B7A;
  --border: #E3E8EF;
  --shadow: 0 4px 16px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 10px 40px rgba(13, 27, 42, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--primary-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; margin-bottom: 24px; }
h3 { font-size: 1.2rem; font-weight: 700; }

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #E86C00; }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-meta { font-size: 0.75rem; opacity: 0.85; font-weight: 400; }

/* ---------- Logo circle ---------- */
.logo-circle {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.logo-circle.small { width: 36px; height: 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.1rem; }
.brand-text span { font-size: 0.75rem; opacity: 0.7; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: #fff; opacity: 0.85; font-weight: 500; }
.nav a:hover { opacity: 1; text-decoration: none; }
.nav .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.nav .btn-outline:hover { background: #fff; color: var(--primary-dark); }

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #1976D2 100%);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.hero h1 { color: #fff; margin: 16px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0; }
}

.pill {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero-cta .btn-outline:hover { background: #fff; color: var(--primary); }

.hero-bullets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-bullets li { opacity: 0.95; font-size: 0.95rem; }

.phone-frame {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 40px;
  border: 8px solid #1A1A1A;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 390/844;
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Features ---------- */
.features { padding: 80px 0; background: var(--surface); }
.features h2 { text-align: center; margin-bottom: 48px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature {
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 2.5rem; margin-bottom: 12px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-sec); }

/* ---------- Download ---------- */
.download { padding: 80px 0; background: var(--bg); }
.download h2 { text-align: center; }
.lead-center { text-align: center; font-size: 1.1rem; color: var(--text-sec); margin-bottom: 48px; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.download-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 2px solid transparent;
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.download-card.highlight { border-color: var(--accent); }
.platform-icon { font-size: 2.8rem; margin-bottom: 8px; }
.download-card h3 { margin-bottom: 4px; }
.platform-note { color: var(--text-sec); font-size: 0.92rem; margin-bottom: 20px; }
.steps { margin: 0 0 24px 20px; color: var(--text-sec); font-size: 0.92rem; }
.steps li { margin-bottom: 6px; }
.steps code {
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
.share-icon { font-size: 1.1em; }
.download-card .btn { margin-top: auto; }

/* ---------- About ---------- */
.about { padding: 80px 0; background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about p { margin-bottom: 16px; color: var(--text-sec); font-size: 1.05rem; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  background: var(--bg);
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.stat span { font-size: 0.85rem; color: var(--text-sec); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand small { opacity: 0.7; font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #fff; opacity: 0.85; font-size: 0.92rem; }
.footer-links a:hover { opacity: 1; }
