/* =============================================
   HAZINDJEMA SARL — Charte graphique officielle
   Bleu #1A73E8 · Or #FBBC04 · Vert #1D9E75
   ============================================= */

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

:root {
  --blue:   #1A73E8;   /* Bleu logo Hazindjema */
  --blue-d: #0d47a1;
  --gold:   #FBBC04;   /* Or logo Hazindjema */
  --green:  #1D9E75;
  --green-d:#085041;
  --amber-d:#c47f00;
  --white:  #ffffff;
  --bg:     #f8f9fa;
  --border: #e5e7eb;
  --text:   #111827;
  --muted:  #6b7280;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── NAVIGATION ─── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px; background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 38px; height: 38px; background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
}
.nav-logo-name { font-size: 19px; font-weight: 700; color: var(--blue); }
.nav-logo-sub { font-size: 10px; color: var(--muted); display: block; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-cta {
  background: var(--blue); color: #fff; border: none;
  border-radius: 8px; padding: 11px 22px; font-size: 14px;
  font-weight: 600; cursor: pointer; transition: opacity .2s;
}
.nav-cta:hover { opacity: .88; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--text); }

/* ─── HERO ─── */
.hero {
  padding: 100px 48px 80px; text-align: center;
  background: linear-gradient(180deg, #EBF3FF 0%, #fff 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #dbeafe; color: var(--blue);
  font-size: 12px; font-weight: 600; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 18px;
}
.hero-ar { font-size: 13px; color: var(--muted); margin-bottom: 6px; font-style: italic; }
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero h1 .gold { color: #FBBC04; }
.hero-tagline { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 auto 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary { background: var(--blue); color: #fff; border: none; border-radius: 10px; padding: 16px 34px; font-size: 17px; font-weight: 600; cursor: pointer; transition: opacity .2s; }
.btn-primary:hover { opacity: .88; }
.btn-secondary { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 10px; padding: 15px 32px; font-size: 17px; font-weight: 500; cursor: pointer; transition: background .2s; }
.btn-secondary:hover { background: #EBF3FF; }

/* MARKET BAR */
.market-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 640px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; background: #fff; box-shadow: var(--shadow);
}
.market-stat { padding: 20px 12px; text-align: center; border-right: 1px solid var(--border); }
.market-stat:last-child { border-right: none; }
.market-num { font-size: 26px; font-weight: 800; color: var(--blue); }
.market-num.green { color: var(--green); }
.market-num.gold { color: #FBBC04; }
.market-lbl { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.market-new { font-size: 9px; font-weight: 700; color: var(--green); background: #d1fae5; padding: 2px 6px; border-radius: 10px; display: inline-block; margin-top: 4px; }
.market-source { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ─── SECTIONS ─── */
.section { padding: 88px 48px; }
.section.alt { background: var(--bg); padding: 88px 48px; }
.section-label { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px; }
.section-label.green { color: var(--green); }
.section-label.gold { color: var(--amber-d); }
.section h2 { font-size: 34px; font-weight: 700; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 540px; line-height: 1.7; }

/* ─── CARDS ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.09); }
.card.featured { border: 2px solid var(--blue); }
.card.featured-green { border: 2px solid var(--green); }
.card.featured-gold { border: 2px solid var(--gold); }
.card-icon { font-size: 26px; margin-bottom: 12px; }
.card-icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.card-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 14px;
}
.card-badge.blue { background: var(--blue); color: #fff; }
.card-badge.green { background: var(--green); color: #fff; }
.card-feat { font-size: 13px; color: var(--muted); margin-top: 6px; }
.card-feat::before { content: "✓ "; color: var(--blue); font-weight: 700; }
.card-feat.green::before { color: var(--green); }
.card-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--blue); font-weight: 600; }
.card-link:hover { text-decoration: underline; }

/* ─── STAT BOX ─── */
.stat-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 14px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--blue); }
.stat-num.gold { color: #FBBC04; }
.stat-num.green { color: var(--green); }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.4; }

/* ─── CHIPS ─── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 9px 18px; font-size: 13px; color: var(--muted); font-weight: 500; }

/* ─── ROADMAP ─── */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; position: relative; }
.roadmap::before { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; height: 2px; background: var(--border); }
.rm-step { text-align: center; padding: 0 10px; }
.rm-dot { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-weight: 800; font-size: 12px; position: relative; z-index: 1; }
.rm-dot.active { background: var(--blue); color: #fff; }
.rm-dot.future { background: #fff; color: var(--muted); border: 2px solid var(--border); }
.rm-year { font-size: 12px; color: #FBBC04; font-weight: 700; margin-bottom: 4px; }
.rm-title { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.rm-items { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ─── CTA BLOCK ─── */
.cta-block {
  background: var(--blue); border-radius: 20px;
  padding: 60px 40px; text-align: center;
  margin: 0 40px 72px;
}
.cta-block h2 { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-block p { font-size: 17px; color: rgba(255,255,255,.82); margin-bottom: 28px; line-height: 1.65; }
.btn-white { background: #fff; border: none; border-radius: 10px; padding: 13px 28px; font-size: 15px; font-weight: 700; cursor: pointer; margin-right: 12px; transition: opacity .2s; }
.btn-white:hover { opacity: .9; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); border-radius: 10px; padding: 12px 26px; font-size: 14px; cursor: pointer; }
.cta-contact { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.65); }

/* ─── PAGE HERO (produits) ─── */
.page-hero { display: flex; align-items: center; gap: 48px; padding: 64px 40px; }
.page-hero-left { flex: 1; }
.page-hero-right { flex: 1; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: 11px; font-weight: 600; padding: 4px 13px;
  border-radius: 20px; margin-bottom: 18px;
}
.page-hero h1 { font-size: 42px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 26px; max-width: 420px; }
.btn-white-colored { background: #fff; border: none; border-radius: 10px; padding: 12px 24px; font-size: 14px; font-weight: 700; cursor: pointer; margin-right: 10px; }
.btn-ghost-sm { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); border-radius: 10px; padding: 11px 22px; font-size: 13px; cursor: pointer; }

/* MOCKAPP */
.mockapp { background: rgba(255,255,255,.1); border-radius: 14px; border: 1px solid rgba(255,255,255,.2); overflow: hidden; }
.mockapp-bar { background: rgba(0,0,0,.15); padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.mockapp-dot { width: 7px; height: 7px; background: rgba(255,255,255,.3); border-radius: 50%; }
.mockapp-title { color: rgba(255,255,255,.8); font-size: 12px; font-weight: 500; }
.mockapp-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-row { background: #fff; border-radius: 8px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.mock-l { font-size: 12px; font-weight: 600; color: #111; }
.mock-s { font-size: 10px; color: #666; margin-top: 2px; }
.badge { font-size: 10px; padding: 3px 8px; border-radius: 12px; font-weight: 600; white-space: nowrap; }
.b-green { background: #d1fae5; color: #065f46; }
.b-amber { background: #fef3c7; color: #92400e; }
.b-blue  { background: #dbeafe; color: #1e40af; }

/* DEVIS CARD */
.devis-card { border-radius: 16px; padding: 36px 32px; max-width: 520px; margin: 36px auto 0; text-align: center; border: 2px solid var(--blue); background: #fff; }
.devis-card.green { border-color: var(--green); }
.devis-card.gold { border-color: var(--amber-d); }
.devis-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); margin-bottom: 10px; }
.devis-label.green { color: var(--green); }
.devis-label.gold { color: var(--amber-d); }
.devis-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.devis-sub { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.devis-btn { border: none; border-radius: 10px; padding: 13px 32px; font-size: 15px; font-weight: 700; cursor: pointer; width: 100%; background: var(--blue); color: #fff; }
.devis-btn.green { background: var(--green); }
.devis-btn.gold { background: var(--amber-d); }
.devis-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* INVEST BANNER */
.invest-bar {
  display: flex; align-items: center; gap: 16px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 14px; padding: 18px 22px;
  max-width: 620px; margin: 16px auto 0;
}
.invest-icon { font-size: 28px; flex-shrink: 0; }
.invest-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.invest-desc { font-size: 12px; color: var(--muted); line-height: 1.55; }
.invest-badge { display: inline-block; background: #dbeafe; color: var(--blue); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-top: 6px; }

/* SOON BAR */
.soon-bar { margin-top: 20px; padding: 14px 18px; background: var(--bg); border-radius: 10px; font-size: 13px; color: var(--muted); border: 1px solid var(--border); }

/* PARTNER CHIPS */
.partner-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.partner-chip { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 600; }

/* ─── CONTACT FORM ─── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 40px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  background: #fff; transition: border-color .2s; color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { background: var(--blue); color: #fff; border: none; border-radius: 10px; padding: 13px 32px; font-size: 15px; font-weight: 700; cursor: pointer; width: 100%; }
.contact-info-card { background: var(--bg); border-radius: var(--radius); padding: 28px 24px; }
.contact-info-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.contact-item-icon { font-size: 18px; flex-shrink: 0; }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border); padding: 32px 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-size: 15px; font-weight: 700; color: var(--blue); }
.footer-logo span { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--blue); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ─── CLIENT BANNER ─── */
.client-banner { padding: 13px 40px; font-size: 13px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid; }
.client-banner.blue { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }
.client-banner.green { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; margin-top: 40px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.founder-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.founder-title { font-size: 13px; color: var(--muted); line-height: 1.6; }
.founder-links { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.founder-link { font-size: 13px; color: var(--blue); }

/* ─── MENTIONS ─── */
.ml-section { margin-bottom: 32px; }
.ml-h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.ml-p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 8px; }
.ml-item { font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.ml-item strong { color: var(--text); }


/* ─── OR HAZINDJEMA — accent signature ─── */
.gold-accent { color: #FBBC04; }
.section-label { border-left: 3px solid #FBBC04; padding-left: 8px; }
.nav-cta { background: #1A73E8; border-bottom: 2px solid #FBBC04; }
.card.featured { border-color: #1A73E8; border-top: 3px solid #FBBC04; }
.stat-num { color: #1A73E8; }
.hero-badge { border: 1px solid #FBBC04; }
.rm-dot.active { background: #1A73E8; box-shadow: 0 0 0 3px #FBBC04; }
.rm-year { color: #FBBC04; font-weight: 700; }
.cta-block { background: linear-gradient(135deg, #1A73E8 80%, #0d47a1 100%); border-top: 4px solid #FBBC04; }
.btn-primary { border-bottom: 2px solid #0d47a1; }
.nav-logo-name { color: #1A73E8; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .hero h1 { font-size: 34px; }
  .hero { padding: 52px 20px 40px; }
  .section { padding: 48px 20px; }
  .grid-3, .grid-4, .grid-6, .roadmap { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .market-bar { flex-direction: column; }
  .market-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .market-stat:last-child { border-bottom: none; }
  .page-hero { flex-direction: column; padding: 40px 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .cta-block { margin: 0 20px 48px; padding: 40px 24px; }
  .cta-block h2 { font-size: 22px; }
  .footer { flex-direction: column; text-align: center; padding: 24px 20px; }
  .nav { padding: 14px 20px; }
  .client-banner { padding: 12px 20px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .btn-white, .btn-ghost { display: block; width: 100%; margin: 6px 0; text-align: center; }
  .btn-white-colored, .btn-ghost-sm { display: block; width: 100%; margin: 6px 0; }
}
