/* ═══════════════════════════════════════════════════════════
   AAANYIM — Site Vitrine v2.0
   Design system: Teal + Amber, dark-first, glassmorphism
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Palette basee sur #004D40 comme primaire */
  --teal-950: #001A15;
  --teal-900: #002E27;
  --teal-800: #003D34;
  --teal-700: #004D40;  /* ← Primary */
  --teal-600: #005D4E;
  --teal-500: #004D40;  /* ← boutons, CTA */
  --teal-400: #26A69A;  /* ← texte accent, hover, checkmarks */
  --teal-300: #4DB6AC;
  --teal-100: #B2DFDB;
  --teal-50:  #E0F2F1;
  --amber:    #F59E0B;
  --amber-light: #FEF3C7;
  --bg-dark:  #0A0A0A;
  --bg-card:  rgba(255,255,255,0.03);
  --border:   rgba(0,77,64,0.25);
  --text-primary: #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-badge {
  display: inline-block;
  background: rgba(0,137,123,0.12);
  color: var(--teal-400);
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 20px; text-transform: uppercase;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 18px; color: var(--text-secondary);
  max-width: 600px; line-height: 1.7;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 24px;
  color: var(--teal-500); letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-cta {
  background: var(--teal-500); color: white;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  transition: all 0.2s;
  border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--teal-400); transform: translateY(-1px); }

.nav-lang {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px; padding: 3px;
}
.nav-lang button {
  padding: 5px 10px; border: none; border-radius: 6px;
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  background: transparent; color: var(--text-muted);
}
.nav-lang button.active {
  background: var(--teal-700); color: white;
}

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-secondary); border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 72px; position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,137,123,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-title .gradient {
  background: linear-gradient(135deg, var(--teal-400), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary {
  background: var(--teal-500); color: white;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600;
  transition: all 0.25s; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--teal-400); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,137,123,0.3); }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.25s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--teal-400); color: var(--teal-400); }
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-muted);
}
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-visual lottie-player {
  filter: drop-shadow(0 20px 40px rgba(0,137,123,0.2));
  animation: float 4s ease-in-out infinite;
}

/* ── STATS ──────────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat-number {
  font-family: 'Plus Jakarta Sans'; font-size: 40px;
  font-weight: 800; color: var(--teal-400);
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--text-secondary); }

/* ── PROBLEM ────────────────────────────────────────────── */
.problem { text-align: center; }
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 60px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px; text-align: left;
  transition: all 0.3s;
}
.problem-card:hover {
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.problem-card .icon {
  font-size: 36px; margin-bottom: 20px;
  display: block;
}
.problem-card h3 {
  font-family: 'Plus Jakarta Sans'; font-size: 20px;
  font-weight: 700; margin-bottom: 12px;
}
.problem-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* ── SOLUTION / FEATURES ────────────────────────────────── */
.features { text-align: center; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 60px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px; text-align: left;
  transition: all 0.3s; position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: var(--teal-600);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,137,123,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Plus Jakarta Sans'; font-size: 20px;
  font-weight: 700; margin-bottom: 12px;
}
.feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* ── HOW IT WORKS ───────────────────────────────────────── */
.how { text-align: center; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; margin-top: 60px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 40px; left: 16%; right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-600), var(--teal-600), transparent);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans'; font-size: 28px; font-weight: 800;
  margin: 0 auto 24px; position: relative; z-index: 1;
  box-shadow: 0 8px 24px rgba(0,137,123,0.3);
}
.step h3 {
  font-family: 'Plus Jakarta Sans'; font-size: 20px;
  font-weight: 700; margin-bottom: 12px;
}
.step p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; max-width: 300px; margin: 0 auto; }

/* ── PRICING ────────────────────────────────────────────── */
.pricing { text-align: center; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 60px; align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px; text-align: left;
  transition: all 0.3s; position: relative;
}
.pricing-card.popular {
  border-color: var(--teal-500);
  box-shadow: 0 0 40px rgba(0,137,123,0.15);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--teal-500); color: white;
  font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 12px;
}
.pricing-name {
  font-family: 'Plus Jakarta Sans'; font-size: 20px;
  font-weight: 700; margin-bottom: 8px;
}
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-price {
  font-family: 'Plus Jakarta Sans';
  font-size: 48px; font-weight: 800;
  color: var(--teal-400);
  margin-bottom: 4px;
}
.pricing-price .currency { font-size: 18px; font-weight: 600; }
.pricing-price .period { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-features {
  list-style: none; margin: 32px 0;
  display: flex; flex-direction: column; gap: 14px;
}
.pricing-features li {
  font-size: 14px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before {
  content: '✓'; color: var(--teal-400); font-weight: 700;
  width: 20px; text-align: center; flex-shrink: 0;
}
.pricing-cta {
  width: 100%; padding: 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  border: 1px solid var(--border);
  background: transparent; color: var(--text-primary);
}
.pricing-card.popular .pricing-cta {
  background: var(--teal-500); border-color: var(--teal-500); color: white;
}
.pricing-cta:hover { border-color: var(--teal-400); transform: translateY(-2px); }

/* ── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  text-align: center; padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(0,137,123,0.05));
  position: relative;
}
.cta-section .section-title { max-width: 600px; margin: 0 auto 16px; }
.cta-section .section-subtitle { margin: 0 auto 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-form {
  display: flex; flex-direction: column; gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
}
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px; font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal-400);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-dark); }
.form-submit {
  padding: 14px 32px; border-radius: var(--radius-sm);
  background: var(--teal-500); color: white;
  font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.25s;
}
.form-submit:hover { background: var(--teal-400); }
.form-success {
  display: none; padding: 16px;
  background: rgba(0,137,123,0.1); border: 1px solid var(--teal-600);
  border-radius: var(--radius-sm);
  color: var(--teal-300); font-size: 14px; text-align: center;
}
.form-success.show { display: block; }

.contact-info { padding-top: 20px; }
.contact-info h3 {
  font-family: 'Plus Jakarta Sans'; font-size: 16px;
  font-weight: 700; margin-bottom: 24px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.contact-channel {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.contact-channel:hover { border-color: var(--teal-400); }
.contact-channel .ch-icon { font-size: 24px; }
.contact-channel .ch-label { font-size: 12px; color: var(--text-muted); }
.contact-channel .ch-value { font-size: 15px; font-weight: 600; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  font-family: 'Plus Jakarta Sans'; font-size: 22px;
  font-weight: 800; color: var(--teal-500);
  margin-bottom: 16px;
}
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-muted);
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 24px;
  font-size: 13px; color: var(--text-muted);
}

/* ── SECTORS ─────────────────────────────────────────────── */
.sectors { text-align: center; }
.sectors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
}
.sectors-grid .sector-card:last-child:nth-child(3n+1) {
  grid-column: 2;
}
.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.sector-card:hover {
  border-color: var(--teal-400);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,137,123,0.15);
}
.sector-card .sector-icon {
  font-size: 48px; margin-bottom: 16px;
  display: block;
  transition: transform 0.4s;
}
.sector-card:hover .sector-icon { transform: scale(1.2) rotate(-5deg); }
.sector-card h3 {
  font-family: 'Plus Jakarta Sans'; font-size: 18px;
  font-weight: 700; margin-bottom: 8px;
}
.sector-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.sector-card.more {
  border-style: dashed; border-color: var(--teal-600);
  background: rgba(0,137,123,0.03);
}
.sector-card.more:hover { border-color: var(--teal-400); background: rgba(0,137,123,0.06); }

/* ── ANIMATIONS ─────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Glow pulse for stats numbers */
@keyframes glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 20px rgba(38,166,154,0.3); }
}
.stat-number { animation: glow 3s ease-in-out infinite; }

/* Gradient text shimmer */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero-title .gradient {
  background: linear-gradient(90deg, var(--teal-400), var(--amber), var(--teal-300), var(--teal-400));
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

/* Counter animation class */
.counting { transition: none; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual lottie-player { width: 300px !important; height: 300px !important; }

  .problem-grid, .features-grid, .pricing-grid, .steps, .sectors-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .steps::before { display: none; }
  .pricing-card.popular { transform: none; }

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

  .contact .container { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
