/* ============================================================
   DESIGN SYSTEM — SIAKA WEST | KANI
   Style : Épuré · Moderne · Professionnel
   Mobile-First
   ============================================================ */

:root {
  --blue:         #1a4faf;
  --blue-dark:    #0d2458;
  --blue-light:   #2563eb;
  --green:        #16a34a;
  --white:        #ffffff;
  --gray-50:      #f8fafc;
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-400:     #94a3b8;
  --gray-600:     #475569;
  --gray-800:     #1e293b;
  --text:         #1e293b;
  --text-light:   #64748b;
  --border:       #e2e8f0;
  --radius:       8px;
  --radius-lg:    14px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.05);
  --shadow:       0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  --transition:   0.25s ease;
  --font:         'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-w:        1120px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-light); line-height: 1.75; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(13, 36, 88, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  border-bottom-color: rgba(255,255,255,0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo .logo-badge {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: white;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.nav-logo .logo-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  line-height: 1.3;
}
.nav-logo .logo-text span {
  color: rgba(255,255,255,0.5);
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.1rem;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: white; }

.nav-cta {
  background: var(--green) !important;
  color: white !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  padding: 0.4rem 1rem !important;
  margin-left: 0.4rem;
}
.nav-cta:hover { background: #15803d !important; }

.hamburger {
  background: none; border: none; cursor: pointer;
  padding: 8px; display: flex; flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--blue-dark);
  padding: 1rem 1.5rem 1.5rem;
  display: none; flex-direction: column; gap: 0.2rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem; font-weight: 500;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.mobile-menu a:hover { background: rgba(255,255,255,0.07); color: white; }
.mobile-menu .mobile-cta {
  background: var(--green); color: white;
  text-align: center; margin-top: 0.5rem; font-weight: 600;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary  { background: var(--blue-light); color: white; }
.btn-primary:hover  { background: var(--blue); }

.btn-green    { background: var(--green); color: white; }
.btn-green:hover    { background: #15803d; }

.btn-outline  { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover  { border-color: white; background: rgba(255,255,255,0.08); }

.btn-white    { background: white; color: var(--blue-dark); }
.btn-white:hover    { background: var(--gray-100); }

.btn-whatsapp { background: #25d366; color: white; }
.btn-whatsapp:hover { background: #1ebe5c; }

.btn-ghost { background: transparent; color: var(--blue-light); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue-light); background: #eff6ff; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; }
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--blue-dark); }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.65); }

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { max-width: 540px; margin: 0.75rem auto 0; }
.section-header p { margin-top: 0.6rem; }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.section-dark .label { color: rgba(255,255,255,0.5); }

/* GRILLES */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-body { padding: 1.75rem; }

/* ============================================================
   PAGE HERO (pages internes)
   ============================================================ */
.page-hero {
  padding-top: 64px;
  min-height: 36vh;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
}
.page-hero-content {
  padding: 4rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 520px; }

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-light);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 40px; height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 1rem 0;
}
.centered .divider { margin: 1rem auto; }

/* ============================================================
   CITATION
   ============================================================ */
.citation-section {
  background: var(--blue-dark);
  padding: 5rem 1.5rem;
  text-align: center;
}
.citation-text {
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 600;
  color: white;
  max-width: 760px;
  margin: 0 auto 1rem;
  line-height: 1.55;
  font-style: italic;
  opacity: 0.95;
}
.citation-author {
  font-size: 0.88rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--gray-800);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.footer-logo .badge {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 0.82rem;
}
.footer-brand { font-weight: 600; font-size: 1rem; color: white; }
.footer-brand small { display: block; font-weight: 400; font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.footer-slogan {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.35); }

.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ============================================================
   WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 2rem;
}
.lightbox-box {
  position: relative;
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  max-width: 480px;
  width: 100%;
}
.lightbox-box .lb-emoji { font-size: 5rem; margin-bottom: 1rem; }
.lightbox-box p { color: rgba(255,255,255,0.65); }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.1);
  border: none; color: white;
  width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 42px; height: 42px;
  background: var(--blue-dark);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 997;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(13,36,88,0.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--blue); }

/* ============================================================
   RESPONSIVE — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 6rem 2rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .section { padding: 7rem 2rem; }
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
