:root {
  --primary: #1B3A5C;
  --primary-light: #2D5F8A;
  --primary-dark: #0F2440;
  --accent: #2196F3;
  --accent-light: #64B5F6;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --success: #388E3C;
  --warning: #F57C00;
  --gradient: linear-gradient(135deg, #1B3A5C 0%, #2D5F8A 50%, #2196F3 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(15,36,64,0.08);
  --shadow-lg: 0 16px 48px rgba(15,36,64,0.18);
  --radius: 12px;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--primary);
  text-decoration: none;
}
.logo img { width: 32px; height: 32px; border-radius: 6px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none; border: none;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #1976D2; transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 10px 22px; }
.btn-outline:hover { background: var(--primary); color: white; text-decoration: none; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* Hero */
.hero {
  background: var(--gradient);
  color: white; padding: 96px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(33,150,243,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 20px; backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.15;
  margin-bottom: 24px; letter-spacing: -1px;
}
.hero h1 span { color: var(--accent-light); }
.hero p.lead {
  font-size: clamp(17px, 2vw, 21px); max-width: 760px; margin: 0 auto 36px;
  opacity: 0.92;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-primary { background: white; color: var(--primary); }
.hero-cta .btn-primary:hover { background: #f0f4f9; }
.hero-cta .btn-outline { color: white; border-color: white; }
.hero-cta .btn-outline:hover { background: white; color: var(--primary); }
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px; margin-top: 64px; max-width: 800px; margin-left: auto; margin-right: auto;
}
.stat { text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: white; }
.stat-label { font-size: 14px; opacity: 0.8; }

/* Sections */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  color: var(--primary-dark); margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-head p { font-size: 18px; color: var(--text-muted); }

/* Feature grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); }
.card p { color: var(--text-muted); font-size: 15px; }

/* Africa highlight */
.africa {
  background: var(--primary-dark); color: white;
  position: relative; overflow: hidden;
}
.africa::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(33,150,243,0.15) 0%, transparent 70%);
}
.africa .section-head h2 { color: white; }
.africa .section-head p { color: rgba(255,255,255,0.8); }
.africa-grid { position: relative; z-index: 1; }
.africa .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.africa .card h3 { color: white; }
.africa .card p { color: rgba(255,255,255,0.75); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.price-card { padding: 36px; }
.price-card.featured {
  border: 2px solid var(--accent); position: relative;
  box-shadow: var(--shadow-lg);
}
.price-card.featured::before {
  content: 'Recommandé'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
}
.price-amount { font-size: 40px; font-weight: 800; color: var(--primary-dark); margin: 16px 0 8px; }
.price-amount small { font-size: 16px; color: var(--text-muted); font-weight: 500; }
.price-list { list-style: none; margin: 24px 0; }
.price-list li { padding: 8px 0; color: var(--text); display: flex; align-items: start; gap: 8px; }
.price-list li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* CTA */
.cta-block {
  background: var(--gradient); color: white;
  border-radius: var(--radius); padding: 56px 32px; text-align: center;
  margin: 0 24px;
}
.cta-block h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; color: white; }
.cta-block p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; }
.cta-block .btn-primary { background: white; color: var(--primary); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px; margin-bottom: 12px;
}
.faq-item summary {
  font-weight: 600; font-size: 17px; cursor: pointer;
  color: var(--primary-dark); list-style: none; padding-right: 24px; position: relative;
}
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 22px; font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 14px; color: var(--text-muted); }

/* Article (SEO pages) */
.article { padding: 56px 0 80px; }
.article-head { text-align: center; margin-bottom: 48px; }
.article-head .eyebrow { background: rgba(33,150,243,0.1); color: var(--accent); border: 1px solid rgba(33,150,243,0.25); }
.article-head h1 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  color: var(--primary-dark); margin: 16px auto 16px; max-width: 900px; letter-spacing: -0.5px;
  line-height: 1.2;
}
.article-head p { font-size: 19px; color: var(--text-muted); max-width: 760px; margin: 0 auto; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 28px; font-weight: 700; color: var(--primary-dark); margin: 48px 0 16px; }
.prose h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; font-size: 17px; color: var(--text); }
.prose ul, .prose ol { margin: 18px 0 18px 24px; }
.prose li { margin-bottom: 10px; font-size: 17px; }
.prose strong { color: var(--primary-dark); }
.prose blockquote {
  border-left: 4px solid var(--accent); padding: 16px 24px;
  background: rgba(33,150,243,0.05); margin: 24px 0;
  font-style: italic; color: var(--primary-dark);
}
.related {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); margin-top: 48px;
}
.related h3 { color: var(--primary-dark); margin-bottom: 16px; }
.related ul { list-style: none; }
.related li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.related li:last-child { border-bottom: none; }
.related a { color: var(--primary); font-weight: 500; }

/* Footer */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { color: white; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { padding: 4px 0; }
.footer a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px;
}

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 64px 24px 56px; }
}
