/* ==========================================================================
   KutonouTché — Site Web Promotionnel Officiel
   Charte graphique :
   - Primaire : #004B70 (Bleu Nuit Cotonou)
   - Secondaire : #96D0EE (Bleu Azur)
   - Accents Bénin : Vert #00A651 | Jaune #FDD835 | Rouge #E53935
   ========================================================================== */

:root {
  --primary: #004B70;
  --primary-dark: #002d44;
  --primary-light: #0a6699;
  --secondary: #96D0EE;
  --secondary-soft: #eaf5fc;
  
  --bj-green: #00A651;
  --bj-yellow: #FDD835;
  --bj-red: #E53935;

  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #071926;
  --card-bg: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 75, 112, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 75, 112, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 75, 112, 0.16);
  --shadow-glow: 0 8px 25px rgba(0, 75, 112, 0.28);

  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset de base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typographie & Éléments Généraux
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
}

.highlight {
  color: var(--primary);
  background: linear-gradient(135deg, #004B70, #0a6699);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text {
  background: linear-gradient(135deg, #004B70 20%, #0096c7 60%, #00A651 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(0, 75, 112, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(0, 75, 112, 0.12);
}

.section-badge.light {
  background: rgba(150, 208, 238, 0.15);
  color: var(--secondary);
  border-color: rgba(150, 208, 238, 0.3);
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title.light {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.section-subtitle.light {
  color: #cbd5e1;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 75, 112, 0.08);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 4px 8px rgba(0, 75, 112, 0.2));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  position: relative;
}

.nav-link i {
  font-size: 0.9rem;
  color: var(--primary);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 75, 112, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 75, 112, 0.35);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #f0f7fb 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.shape-1 {
  width: 480px;
  height: 480px;
  background: #96D0EE;
  top: -120px;
  right: -100px;
}

.shape-2 {
  width: 420px;
  height: 420px;
  background: rgba(0, 166, 81, 0.18);
  bottom: 80px;
  left: -150px;
}

.shape-3 {
  width: 320px;
  height: 320px;
  background: rgba(253, 216, 53, 0.25);
  top: 35%;
  left: 35%;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 75, 112, 0.08);
  border: 1px solid rgba(150, 208, 238, 0.4);
  margin-bottom: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.benin-badge {
  display: flex;
  align-items: center;
  gap: 3px;
}

.benin-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.green { background: var(--bj-green); }
.dot.yellow { background: var(--bj-yellow); }
.dot.red { background: var(--bj-red); }

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  width: fit-content;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background-color: #e2e8f0;
}

/* Boutons Stores Officiels */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: #0f172a;
  color: white;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-store:hover {
  transform: translateY(-3px);
  background: #1e293b;
  border-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(0, 75, 112, 0.35);
}

.store-icon-fa {
  font-size: 2rem;
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-text .small-text {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
}

.btn-text .main-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}

/* ==========================================================================
   Realistic Smartphone Frame (Mockup CSS Pro)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.smartphone-frame {
  width: 320px;
  height: 640px;
  background: #0f172a;
  border-radius: 48px;
  border: 10px solid #1e293b;
  box-shadow: 0 25px 60px -15px rgba(0, 75, 112, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.smartphone-frame:hover {
  transform: scale(1.02) rotate(-0.5deg);
}

.phone-dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.camera-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d2137;
  border: 1px solid #1e3a5f;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  overflow: hidden;
  position: relative;
}

/* App Mockup Header */
.app-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.app-logo-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-mockup-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.app-mockup-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.app-bell-icon {
  position: relative;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.bell-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--bj-red);
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* App Welcome Card */
.app-welcome-card {
  margin: 12px;
  padding: 14px;
  background: linear-gradient(135deg, #004B70, #0a6699);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 75, 112, 0.2);
}

.app-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: 4px;
}

.app-welcome-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.app-welcome-card p {
  font-size: 0.75rem;
  color: #e2e8f0;
  line-height: 1.3;
  margin-bottom: 10px;
}

.app-cta-btn {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Real Map Container with Blinking Beacons */
.app-map-preview.real-map-container {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  background: #e5f0f6;
  min-height: 250px;
}

.real-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Effets Clignotants & Radar Pulses (Blinking Effects) */
.blinking-pulse {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-beacon {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: block;
  animation: blink-light 1.2s infinite ease-in-out;
  position: relative;
  z-index: 2;
}

.pulse-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 119, 255, 0.85);
  animation: ripple-wave 1.8s infinite cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Variantes de couleurs clignotantes */
.beacon-gps {
  background: #0077ff;
  box-shadow: 0 0 12px #0077ff;
}
.ripple-gps {
  border-color: rgba(0, 119, 255, 0.85);
}

.beacon-market {
  background: #ff9800;
  box-shadow: 0 0 12px #ff9800;
}
.ripple-market {
  border-color: rgba(255, 152, 0, 0.85);
  animation-delay: -0.5s;
}

.beacon-health {
  background: #00C853;
  box-shadow: 0 0 12px #00C853;
}
.ripple-health {
  border-color: rgba(0, 200, 83, 0.85);
  animation-delay: -1s;
}

.beacon-police {
  background: #00bcd4;
  box-shadow: 0 0 12px #00bcd4;
}
.ripple-police {
  border-color: rgba(0, 188, 212, 0.85);
  animation-delay: -1.4s;
}

@keyframes blink-light {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1.3);
  }
  50% {
    transform: scale(0.65);
    opacity: 0.35;
    filter: brightness(0.8);
  }
}

@keyframes ripple-wave {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}

/* App Bottom Navigation */
.app-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 4px;
  background: white;
  border-top: 1px solid #e2e8f0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.65rem;
  color: #94a3b8;
  gap: 2px;
}

.nav-item i {
  font-size: 1rem;
}

.nav-item.active {
  color: var(--primary);
  font-weight: 700;
}

/* Floating Stickers on Hero */
.floating-sticker {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 30px rgba(0, 75, 112, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-anim 4s ease-in-out infinite alternate;
  z-index: 4;
}

.sticker-1 {
  top: 14%;
  left: -40px;
}

.sticker-2 {
  bottom: 15%;
  right: -30px;
  animation-delay: -2s;
}

.sticker-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.bg-green { background: #00A651; }
.bg-gold { background: #F59E0B; }
.bg-blue { background: #004B70; }
.bg-orange { background: #FF9800; }
.bg-red { background: #E53935; }
.bg-purple { background: #9C27B0; }

.sticker-content {
  display: flex;
  flex-direction: column;
}

.sticker-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.sticker-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@keyframes float-anim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

/* ==========================================================================
   Trusted Section (Cities Ticker)
   ========================================================================== */
.trusted-section {
  background-color: #f8fafc;
  padding: 36px 0;
  border-bottom: 1px solid #e2e8f0;
}

.trusted-label {
  text-align: center;
  font-size: 0.88rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.trusted-cities {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.city-sticker {
  background: white;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.city-sticker i {
  color: var(--primary);
  font-size: 0.85rem;
}

.city-sticker:hover {
  color: var(--primary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  padding: 100px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-alt);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
  background: white;
}

.feature-highlight {
  grid-column: span 3;
  background: linear-gradient(135deg, #f0f7fb 0%, #ffffff 100%);
  border: 1px solid rgba(150, 208, 238, 0.5);
}

.feature-sticker-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.icon-navy { background: linear-gradient(135deg, #004B70, #0a6699); }
.icon-purple { background: linear-gradient(135deg, #9C27B0, #7B1FA2); }
.icon-orange { background: linear-gradient(135deg, #FF9800, #F57C00); }
.icon-green { background: linear-gradient(135deg, #00A651, #2E7D32); }
.icon-gold { background: linear-gradient(135deg, #F59E0B, #D97706); }
.icon-teal { background: linear-gradient(135deg, #00BCD4, #00838F); }

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.feature-tags .tag {
  background: white;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-tags .tag i {
  color: var(--bj-green);
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.categories-section {
  padding: 100px 0;
  background: #f8fafc;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cat-card {
  background: white;
  padding: 24px 18px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition);
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.cat-sticker-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}

.cat-card:hover .cat-sticker-box {
  transform: scale(1.1);
}

.cat-admin { background: #E3F2FD; color: #1565C0; }
.cat-health { background: #FFEBEE; color: #C62828; }
.cat-edu { background: #F3E5F5; color: #6A1B9A; }
.cat-culture { background: #FCE4EC; color: #880E4F; }
.cat-commerce { background: #FFF8E1; color: #E65100; }
.cat-transport { background: #E8F5E9; color: #1B5E20; }
.cat-religion { background: #E0F7FA; color: #006064; }
.cat-security { background: #EFEBE9; color: #4E342E; }
.cat-infra { background: #F1F8E9; color: #33691E; }
.cat-social { background: #E8EAF6; color: #283593; }

.cat-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.cat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  flex-grow: 1;
}

.cat-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--secondary-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Rewards Section
   ========================================================================== */
.rewards-section {
  padding: 110px 0;
  background: linear-gradient(135deg, #002c42 0%, #004B70 60%, #055e87 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.rewards-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.point-badge {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.point-badge:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
}

.pts-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.pts-desc {
  display: flex;
  flex-direction: column;
}

.pts-desc strong {
  font-size: 0.98rem;
  color: white;
}

.pts-desc span {
  font-size: 0.8rem;
  color: #94a3b8;
}

.rewards-visual {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.levels-container, .badges-container {
  background: rgba(0, 20, 32, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(150, 208, 238, 0.25);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.levels-title, .badges-title {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: var(--secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.level-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
}

.level-row.level-active {
  background: rgba(0, 166, 81, 0.2);
  border: 1px solid rgba(0, 166, 81, 0.4);
}

.level-row.level-legend {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.level-icon {
  font-size: 1.3rem;
  color: var(--secondary);
}

.level-details {
  flex-grow: 1;
}

.level-name-pts {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.level-name-pts span {
  color: var(--secondary);
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: #00A651;
  border-radius: 3px;
}

.progress-bar.gold {
  background: #F59E0B;
}

.badges-sticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.badge-sticker {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.badge-sticker i {
  font-size: 1.4rem;
  color: var(--secondary);
}

.badge-sticker span {
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-sticker:hover {
  transform: translateY(-3px);
  background: rgba(150, 208, 238, 0.2);
  border-color: var(--secondary);
}

.badge-sticker.locked {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ==========================================================================
   Showcase Triplet Section (3 Realistic Mockup Cards)
   ========================================================================== */
.showcase-section {
  padding: 100px 0;
  background: white;
}

.showcase-triplet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mockup-card {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.mockup-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.mockup-card.highlight-card {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.mockup-header-bar {
  background: #0f172a;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-header-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
}

.mockup-header-bar .dot:nth-child(1) { background: #ef4444; }
.mockup-header-bar .dot:nth-child(2) { background: #eab308; }
.mockup-header-bar .dot:nth-child(3) { background: #22c55e; }

.mockup-screen-title {
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 6px;
}

.mockup-body {
  padding: 20px;
  min-height: 280px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mini-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
}

.mini-bell {
  color: var(--text-secondary);
}

.mini-search-box {
  background: #f1f5f9;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-cat-pills {
  display: flex;
  gap: 8px;
}

.mini-cat-pills span {
  font-size: 0.75rem;
  padding: 5px 10px;
  background: #f1f5f9;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mini-cat-pills .pill-active {
  background: var(--primary);
  color: white;
}

.mini-featured-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--secondary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.featured-info strong {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: block;
}

.featured-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.star-rating {
  font-size: 0.72rem;
  font-weight: 700;
  color: #F59E0B;
}

/* Map Screen Mockup */
.screen-map {
  background: #e2eff7;
  position: relative;
  padding: 0;
  height: 280px;
}

.map-overlay-header {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
}

.search-bubble {
  background: white;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-graphic {
  width: 100%;
  height: 100%;
  position: relative;
}

.sim-marker {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  z-index: 2;
}

.s-health { background: #E53935; }
.s-market { background: #FF9800; }
.s-edu { background: #9C27B0; }

.route-line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-popup-bottom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: white;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.popup-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.map-popup-bottom strong {
  font-size: 0.8rem;
  display: block;
}

.map-popup-bottom p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Profile Screen Mockup */
.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.profile-avatar-row strong {
  font-size: 0.95rem;
}

.profile-avatar-row p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.text-green { color: var(--bj-green); }

.profile-stat-box {
  display: flex;
  justify-content: space-around;
  background: #f8fafc;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.p-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-stat strong {
  font-size: 1rem;
  color: var(--primary);
}

.p-stat span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.profile-badges-row {
  display: flex;
  justify-content: space-around;
  margin-top: 6px;
}

.mini-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--secondary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.mockup-caption {
  padding: 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.mockup-caption h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.mockup-caption p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Impact Section
   ========================================================================== */
.impact-section {
  padding: 100px 0;
  background: #f8fafc;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.impact-box {
  background: white;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all var(--transition);
}

.impact-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.impact-sticker-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.impact-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.impact-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Download Call to Action Section
   ========================================================================== */
.download-section {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(135deg, #001f30 0%, #004B70 100%);
  color: white;
  overflow: hidden;
}

.download-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dl-shape-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(150, 208, 238, 0.15);
  border-radius: 50%;
  filter: blur(100px);
  top: -150px;
  left: -100px;
}

.dl-shape-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(0, 166, 81, 0.15);
  border-radius: 50%;
  filter: blur(100px);
  bottom: -150px;
  right: -100px;
}

.download-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.download-logo-large {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
}

.download-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 40px;
}

.download-buttons-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.store-btn {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
  transition: all var(--transition);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  color: white;
}

.store-btn i {
  font-size: 2.2rem;
}

.store-btn:hover {
  background: #1e293b;
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
}

.store-btn-labels {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-labels .sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.store-btn-labels .main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.download-guarantees {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.9rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.download-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.download-guarantees i {
  color: var(--secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #061520;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.benin-flag-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 600;
}

.flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.flag-text {
  margin-left: 4px;
}

.footer-nav-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav-col a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.tech-credit i {
  color: var(--secondary);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 75, 112, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--primary-light);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-highlight {
    grid-column: span 2;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rewards-inner {
    grid-template-columns: 1fr;
  }
  .showcase-triplet {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-stats {
    margin: 0 auto 30px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .floating-sticker {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-highlight {
    grid-column: span 1;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .points-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }
  .stat-divider {
    display: none;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-store {
    width: 100%;
    justify-content: center;
  }
  .store-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Styles Dynamiques : Typewriter, Compteurs & Simulateur Interactif
   ========================================================================== */
.typewriter-wrap {
  display: inline-block;
  min-height: 1.2em;
}

#typewriter {
  font-weight: 900;
}

.typewriter-cursor {
  color: var(--primary);
  font-weight: 300;
  animation: blink-cur 0.8s infinite;
}

@keyframes blink-cur {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Section Chiffres Dynamiques */
.stats-section {
  padding: 40px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: white;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.stat-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.bg-blue-light { background: #e0f2fe; color: #0284c7; }
.bg-green-light { background: #dcfce7; color: #16a34a; }
.bg-gold-light { background: #fef3c7; color: #d97706; }
.bg-purple-light { background: #f3e8ff; color: #9333ea; }

.stat-data {
  display: flex;
  flex-direction: column;
}

.counter-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Simulateur de Points Interactif */
.interactive-sim-box {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.interactive-sim-box h4 {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-hint {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.sim-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.sim-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.sim-btn:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sim-live-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 20, 32, 0.6);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(150, 208, 238, 0.3);
}

.sim-val-wrap small, .sim-rank-wrap small {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

.sim-val-wrap strong {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  color: #00A651;
  font-weight: 900;
}

.sim-val-wrap .pts-unit {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 700;
}

.sim-rank-wrap strong {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 800;
}

.sim-reset-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-reset-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: rotate(-180deg);
}

/* ==========================================================================
   Section Showcase : Screenshots de l'Application Réelle
   - Hauteur maîtrisée & raccourcie (plus compacte et élégante)
   - Responsivité complète (Desktop 3 colonnes, Tablette, Mobile)
   ========================================================================== */
.showcase-section {
  padding: 80px 0;
  background: #ffffff;
}

.showcase-triplet {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  max-width: 980px;
  margin: 20px auto 0;
  padding: 30px 10px;
}

.mockup-card {
  position: relative;
  width: 235px;
  max-width: 100%;
  background: #0f172a;
  border-radius: 28px;
  border: 7px solid #1e293b;
  box-shadow: 0 16px 36px rgba(0, 75, 112, 0.16);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

/* Téléphones latéraux (gauche et droite) : décalés vers le bas */
.showcase-triplet .mockup-card:nth-child(1),
.showcase-triplet .mockup-card:nth-child(3) {
  transform: translateY(26px) scale(0.96);
  z-index: 1;
  opacity: 0.92;
}

.showcase-triplet .mockup-card:nth-child(1):hover,
.showcase-triplet .mockup-card:nth-child(3):hover {
  transform: translateY(12px) scale(0.98);
  opacity: 1;
  border-color: var(--secondary);
  box-shadow: 0 22px 45px rgba(0, 75, 112, 0.22);
}

/* Téléphone du milieu : effet ZOOM mis en avant & surélevé */
.showcase-triplet .mockup-card.highlight-card {
  transform: translateY(-18px) scale(1.09);
  z-index: 3;
  border-color: #0284c7;
  box-shadow: 0 28px 60px rgba(0, 75, 112, 0.32);
}

.showcase-triplet .mockup-card.highlight-card:hover {
  transform: translateY(-24px) scale(1.12);
  box-shadow: 0 34px 70px rgba(0, 75, 112, 0.38);
}

.mockup-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.mockup-card:hover img {
  transform: scale(1.02);
}

/* Responsivité du Showcase */
@media (max-width: 1024px) {
  .showcase-triplet {
    gap: 20px;
  }
  .mockup-card {
    width: 210px;
  }
  .showcase-triplet .mockup-card:nth-child(1),
  .showcase-triplet .mockup-card:nth-child(3) {
    transform: translateY(18px) scale(0.95);
  }
  .showcase-triplet .mockup-card.highlight-card {
    transform: translateY(-14px) scale(1.06);
  }
}

@media (max-width: 768px) {
  .showcase-triplet {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 10px;
  }
  .mockup-card {
    width: 250px;
    border-radius: 26px;
    border-width: 6px;
  }
  .showcase-triplet .mockup-card:nth-child(1),
  .showcase-triplet .mockup-card:nth-child(3) {
    transform: none;
    opacity: 1;
  }
  .showcase-triplet .mockup-card.highlight-card {
    transform: scale(1.04);
  }
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(160deg, #f0f7ff 0%, #e8f4fb 50%, #f5fff8 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(0, 150, 199, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(0, 166, 81, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow:
    0 4px 6px rgba(0, 75, 112, 0.06),
    0 10px 30px rgba(0, 75, 112, 0.08);
  border: 1px solid rgba(0, 150, 199, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px rgba(0, 75, 112, 0.1),
    0 20px 48px rgba(0, 75, 112, 0.12);
}

/* Icon wrapper */
.stat-icon-wrap {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

/* Icon color variants */
.bg-blue-light {
  background: rgba(0, 150, 199, 0.12);
  color: #0096c7;
}

.bg-green-light {
  background: rgba(0, 166, 81, 0.12);
  color: #00A651;
}

.bg-gold-light {
  background: rgba(255, 170, 0, 0.12);
  color: #e09600;
}

.bg-purple-light {
  background: rgba(120, 60, 200, 0.1);
  color: #7c3aed;
}

/* Stat data */
.stat-data {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.counter-val {
  font-size: 2rem;
  font-weight: 800;
  color: #004B70;
  line-height: 1.1;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  letter-spacing: -0.5px;
}

.stat-name {
  font-size: 0.82rem;
  color: #6b7a8d;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* ===== STATS RESPONSIVE ===== */

/* Tablette paysage : 2 colonnes */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-card {
    padding: 28px 20px;
  }
}

/* Tablette portrait / grand mobile */
@media (max-width: 640px) {
  .stats-section {
    padding: 56px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
    gap: 14px;
    border-radius: 16px;
  }

  .stat-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1.3rem;
    border-radius: 12px;
  }

  .counter-val {
    font-size: 1.65rem;
  }

  .stat-name {
    font-size: 0.78rem;
  }
}

/* Petit mobile : 1 colonne */
@media (max-width: 400px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    flex-direction: row;
    align-items: center;
    padding: 18px 16px;
    gap: 16px;
  }

  .counter-val {
    font-size: 1.5rem;
  }
}


/* ===== IMPACT SECTION ===== */
.impact-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.impact-box {
  background: #f8fbff;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(0, 150, 199, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.impact-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 75, 112, 0.12);
  border-color: rgba(0, 150, 199, 0.25);
}

/* Icône sticker */
.impact-sticker-icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.impact-box:hover .impact-sticker-icon {
  transform: scale(1.12) rotate(-6deg);
}

/* Variantes de couleur */
.impact-sticker-icon.bg-blue {
  background: rgba(0, 150, 199, 0.13);
  color: #0096c7;
}

.impact-sticker-icon.bg-green {
  background: rgba(0, 166, 81, 0.13);
  color: #00A651;
}

.impact-sticker-icon.bg-gold {
  background: rgba(255, 170, 0, 0.13);
  color: #e09600;
}

.impact-sticker-icon.bg-purple {
  background: rgba(120, 60, 200, 0.1);
  color: #7c3aed;
}

.impact-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #004B70;
  margin: 0;
  line-height: 1.3;
}

.impact-box p {
  font-size: 0.9rem;
  color: #5a6a7a;
  line-height: 1.65;
  margin: 0;
}

/* ===== IMPACT RESPONSIVE ===== */

/* Tablette paysage → 2 par ligne */
@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .impact-box {
    padding: 30px 22px;
  }
}

/* Mobile → 2 par ligne (compact) */
@media (max-width: 640px) {
  .impact-section {
    padding: 60px 0;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 32px;
  }

  .impact-box {
    padding: 22px 16px;
    gap: 12px;
    border-radius: 16px;
  }

  .impact-sticker-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    border-radius: 12px;
  }

  .impact-box h3 {
    font-size: 0.95rem;
  }

  .impact-box p {
    font-size: 0.82rem;
    line-height: 1.55;
  }
}

/* Très petit mobile → 1 par ligne */
@media (max-width: 360px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .impact-box {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 16px;
  }

  .impact-sticker-icon {
    margin-top: 2px;
  }
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  padding: 90px 0;
  background: linear-gradient(160deg, #f5fff8 0%, #f0f7ff 100%);
  position: relative;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.cat-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border: 1px solid rgba(0, 150, 199, 0.09);
  box-shadow: 0 3px 14px rgba(0, 75, 112, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.cat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 40px rgba(0, 75, 112, 0.13);
}

.cat-sticker-box {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.cat-card:hover .cat-sticker-box {
  transform: scale(1.12) rotate(-5deg);
}

/* Couleurs par catégorie */
.cat-admin     { background: rgba(0, 150, 199, 0.12); color: #0096c7; }
.cat-health    { background: rgba(220, 38,  38,  0.10); color: #dc2626; }
.cat-edu       { background: rgba(234, 120,   0,  0.12); color: #ea7800; }
.cat-culture   { background: rgba(120,  60, 200,  0.10); color: #7c3aed; }
.cat-commerce  { background: rgba(0,  166,  81,  0.12); color: #00A651; }
.cat-transport { background: rgba(30,  80, 180,  0.10); color: #1e50b4; }
.cat-religion  { background: rgba(255, 170,   0,  0.12); color: #e09600; }
.cat-security  { background: rgba(220,  38,  38,  0.10); color: #b91c1c; }
.cat-infra     { background: rgba(2,  132, 199,  0.10); color: #0284c7; }
.cat-social    { background: rgba(5,  150, 105,  0.10); color: #059669; }

.cat-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #004B70;
  margin: 0;
  line-height: 1.3;
}

.cat-card p {
  font-size: 0.78rem;
  color: #6b7a8d;
  margin: 0;
  line-height: 1.5;
}

/* ===== CATEGORIES RESPONSIVE ===== */

/* Tablette paysage → 4 colonnes */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablette portrait → 3 colonnes */
@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Mobile → 3 par ligne (compact) */
@media (max-width: 640px) {
  .categories-section {
    padding: 60px 0;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 32px;
  }

  .cat-card {
    padding: 18px 10px 16px;
    gap: 9px;
    border-radius: 14px;
  }

  .cat-sticker-box {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    border-radius: 11px;
  }

  .cat-card h4 {
    font-size: 0.78rem;
  }

  .cat-card p {
    font-size: 0.70rem;
    line-height: 1.4;
  }
}

/* Très petit mobile → 3 colonnes ultra-compact */
@media (max-width: 380px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .cat-card {
    padding: 14px 8px 12px;
  }

  .cat-sticker-box {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .cat-card h4 {
    font-size: 0.72rem;
  }

  .cat-card p {
    display: none; /* masqué pour garder l'affichage propre sur très petits écrans */
  }
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Carte vedette (1ere) prend toute la largeur */
.feature-card.feature-highlight {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 40px 48px;
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid rgba(0, 75, 112, 0.12);
  box-shadow: 0 10px 30px rgba(0, 75, 112, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card.feature-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 75, 112, 0.12);
}

.feature-card.feature-highlight .feature-sticker-icon {
  width: 66px;
  height: 66px;
  min-width: 66px;
  border-radius: 18px;
  background: linear-gradient(135deg, #004B70 0%, #006b99 100%);
  color: #ffffff;
  font-size: 1.65rem;
  box-shadow: 0 8px 22px rgba(0, 75, 112, 0.28);
  margin-bottom: 4px;
}

.feature-card.feature-highlight .feature-highlight-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.feature-card.feature-highlight h3 {
  color: #0a192f;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.3px;
}

.feature-card.feature-highlight p {
  color: #556980;
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
  max-width: 950px;
}

.feature-card.feature-highlight .feature-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  width: 100%;
}

.feature-card.feature-highlight .tag {
  background: #ffffff;
  color: #004B70;
  border: 1.5px solid #d5e2ed;
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 2px 8px rgba(0, 75, 112, 0.04);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.feature-card.feature-highlight .tag:hover {
  border-color: #004B70;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 75, 112, 0.08);
}

.feature-card.feature-highlight .tag i {
  color: #00A651;
  font-weight: 900;
  font-size: 0.85rem;
}

/* Cartes normales */
.feature-card {
  background: #f8fbff;
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(0, 150, 199, 0.1);
  box-shadow: 0 3px 14px rgba(0, 75, 112, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.feature-card:not(.feature-highlight):hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 40px rgba(0, 75, 112, 0.12);
}

/* Icones */
.feature-sticker-icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-sticker-icon {
  transform: scale(1.1) rotate(-5deg);
}

.icon-navy   { background: rgba(0,  75, 112, 0.12); color: #004B70; }
.icon-purple { background: rgba(120, 60, 200, 0.10); color: #7c3aed; }
.icon-orange { background: rgba(234,120,   0, 0.12); color: #ea7800; }
.icon-green  { background: rgba(0,  166,  81, 0.12); color: #00A651; }
.icon-gold   { background: rgba(255,170,   0, 0.12); color: #e09600; }
.icon-teal   { background: rgba(13, 148, 136, 0.12); color: #0d9488; }


.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #004B70;
  margin: 0;
  line-height: 1.35;
}

.feature-card p {
  font-size: 0.88rem;
  color: #5a6a7a;
  margin: 0;
  line-height: 1.65;
}

/* ===== FEATURES RESPONSIVE ===== */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card.feature-highlight {
    grid-column: 1 / -1;
  }
}

/* Mobile -> 3 par ligne */
@media (max-width: 640px) {
  .features-section { padding: 60px 0; }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 32px;
  }

  .feature-card.feature-highlight {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
    border-radius: 18px;
  }

  .feature-card.feature-highlight .feature-sticker-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1.4rem;
    border-radius: 14px;
  }

  .feature-card.feature-highlight h3 { font-size: 1rem; }
  .feature-card.feature-highlight p  { font-size: 0.83rem; }
  .feature-card.feature-highlight .feature-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .feature-card.feature-highlight .tag { font-size: 0.72rem; padding: 5px 12px; }

  .feature-card:not(.feature-highlight) {
    padding: 18px 12px 16px;
    gap: 10px;
    border-radius: 14px;
    align-items: center;
    text-align: center;
  }

  .feature-sticker-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    border-radius: 12px;
  }

  .feature-card h3 { font-size: 0.78rem; }
  .feature-card:not(.feature-highlight) p { display: none; }
}

@media (max-width: 380px) {
  .features-grid { gap: 8px; }
  .feature-card:not(.feature-highlight) { padding: 14px 8px 12px; }
  .feature-sticker-icon { width: 38px; height: 38px; font-size: 1rem; }
  .feature-card h3 { font-size: 0.72rem; }
}
