/* ===== CSS Variables ===== */
:root {
  --primary: #2D5016;
  --primary-light: #4A7C23;
  --primary-dark: #1E3A0F;
  --secondary: #F0FDF4;
  --accent: #22C55E;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-dark: #111827;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-icon-img {
  height: 75px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
  flex-shrink: 0;
}

/* Logo responsive */
@media (max-width: 768px) {
  .logo-icon-img { height: 70px; }
}
@media (max-width: 480px) {
  .logo-icon-img { height: 70px; }
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Auth buttons inside mobile drawer — hidden on desktop */
.nav-mobile-auth {
  display: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-secondary);
}

.lang-toggle:hover {
  background: var(--secondary);
  border-color: var(--primary);
  color: var(--primary);
}

.lang-icon {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.nav-toggle:hover {
  background-color: rgba(45, 80, 22, 0.05);
}

.nav-toggle:active {
  background-color: rgba(45, 80, 22, 0.1);
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Animation du burger menu */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding-top: 64px;   /* hauteur exacte de la navbar */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 50%, #BBF7D0 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(45, 80, 22, 0.1) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title span {
  display: block;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.phone-illustration {
  max-width: 100%;
  width: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(45, 80, 22, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(45, 80, 22, 0.2);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 20px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  border-radius: 32px;
  overflow: hidden;
}

.app-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 16px 16px;
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.app-time {
  font-size: 0.875rem;
  opacity: 0.8;
}

.app-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  flex: 1;
}

.dash-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.dash-icon {
  font-size: 1.5rem;
}

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

.dash-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.dash-card.primary { border-left: 3px solid var(--primary); }
.dash-card.success { border-left: 3px solid var(--accent); }
.dash-card.warning { border-left: 3px solid #F59E0B; }
.dash-card.info { border-left: 3px solid #3B82F6; }

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

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

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--secondary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}
.badge-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Icon color variants */
.icon-c-green  { background: #DCFCE7; color: #16A34A; }
.icon-c-blue   { background: #DBEAFE; color: #2563EB; }
.icon-c-teal   { background: #CCFBF1; color: #0D9488; }
.icon-c-amber  { background: #FEF3C7; color: #D97706; }
.icon-c-purple { background: #EDE9FE; color: #7C3AED; }
.icon-c-indigo { background: #E0E7FF; color: #4338CA; }
.icon-c-rose   { background: #FFE4E6; color: #E11D48; }
.icon-c-sky    { background: #E0F2FE; color: #0284C7; }
.icon-c-red    { background: #FEE2E2; color: #DC2626; }

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* ===== Pricing Section ===== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.billing-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.billing-label.active {
  color: var(--primary);
  font-weight: 600;
}

.discount-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 8px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: 0.3s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(28px);
}

/* pc-grid et pt-wrap désactivés — remplacés par pc4-wrap */
.pt-wrap { display: none; }
.pc-grid  { display: none; }

/* ══════════════════════════════════════════
   4 Cartes distinctes côte à côte — couleurs soft
══════════════════════════════════════════ */
.pc4-wrap {
  overflow-x: auto;
  padding: 4px 12px 8px; /* padding latéral pour que les bordures extérieures soient visibles */
}

.pc4-table {
  width: 100%;   /* pas de negative margin : les bordures ne sont plus clippées */
  margin: 0;
  border-collapse: separate;
  border-spacing: 12px 0;
  background: transparent;
  font-size: 0.865rem;
  table-layout: fixed;
}

/* Largeurs — 5 colonnes (feat + 4 plans) */
.pc4-col-feat        { width: 28%; }
.pc4-col-free,
.pc4-col-pro,
.pc4-col-premium,
.pc4-col-excellence  { width: 18%; }

/* ── Bordures latérales par colonne ── */
.pc4-table tr > *:nth-child(1) { border-left: 2px solid #A7F3D0; border-right: 2px solid #A7F3D0; }
.pc4-table tr > *:nth-child(2) { border-left: 1.5px solid #BFDBFE; border-right: 1.5px solid #BFDBFE; }
.pc4-table tr > *:nth-child(3) { border-left: 2px solid #6EE7B7;  border-right: 2px solid #6EE7B7; }
.pc4-table tr > *:nth-child(4) { border-left: 1.5px solid #FDE68A; border-right: 1.5px solid #FDE68A; }
.pc4-table tr > *:nth-child(5) { border-left: 2px solid #C4B5FD;  border-right: 2px solid #C4B5FD; }

/* ── Coins arrondis haut ── */
.pc4-table thead tr.pc4-head-row > *:nth-child(1) { border-top: 2px solid #A7F3D0; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.pc4-table thead tr.pc4-head-row > *:nth-child(2) { border-top: 1.5px solid #BFDBFE; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.pc4-table thead tr.pc4-head-row > *:nth-child(3) { border-top: 2px solid #6EE7B7; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.pc4-table thead tr.pc4-head-row > *:nth-child(4) { border-top: 1.5px solid #FDE68A; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.pc4-table thead tr.pc4-head-row > *:nth-child(5) { border-top: 2px solid #C4B5FD; border-top-left-radius: 16px; border-top-right-radius: 16px; }

/* ── Coins arrondis bas ── */
.pc4-cta-final > *:nth-child(1) { border-bottom: 2px solid #A7F3D0; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.pc4-cta-final > *:nth-child(2) { border-bottom: 1.5px solid #BFDBFE; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.pc4-cta-final > *:nth-child(3) { border-bottom: 2px solid #6EE7B7; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.pc4-cta-final > *:nth-child(4) { border-bottom: 1.5px solid #FDE68A; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.pc4-cta-final > *:nth-child(5) { border-bottom: 2px solid #C4B5FD; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }

/* ── En-tête "Fonctionnalités" ── */
.pc4-th-feat {
  background: #ECFDF5;
  text-align: center;
  padding: 30px 20px 26px;
  vertical-align: middle;
}
.pc4-feat-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #065F46;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.pc4-feat-desc {
  font-size: 0.78rem;
  color: #6B7280;
  font-weight: 400;
  line-height: 1.5;
  max-width: 190px;
  margin: 0 auto;
}

/* ── En-têtes plans ── */
.pc4-th {
  text-align: center;
  padding: 20px 12px 18px;
  vertical-align: top;
}
.pc4-th-free       { background: #EFF6FF; }
.pc4-th-pro        { background: #F0FDF4; }
.pc4-th-premium    { background: #FFFBEB; }
.pc4-th-excellence { background: #FAF5FF; }

.pc4-popular-tag {
  display: inline-block;
  background: #22C55E;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.pc4-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  white-space: nowrap;
  line-height: 1;
}
.pc4-badge-free       { background: #DBEAFE; color: #1E40AF; }
.pc4-badge-pro        { background: #BBF7D0; color: #14532D; }
.pc4-badge-premium    { background: #FEF3C7; color: #78350F; }
.pc4-badge-excellence { background: #EDE9FE; color: #4C1D95; }

.pc4-plan-name { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.04em; margin: 6px 0 4px; }
.pc4-th-free       .pc4-plan-name { color: #1E40AF; }
.pc4-th-pro        .pc4-plan-name { color: #14532D; }
.pc4-th-premium    .pc4-plan-name { color: #78350F; }
.pc4-th-excellence .pc4-plan-name { color: #4C1D95; }

.pc4-plan-price { font-size: 1.6rem; font-weight: 900; margin-top: 6px; letter-spacing: -0.5px; line-height: 1.1; }
.pc4-th-free       .pc4-plan-price { color: #1E3A8A; }
.pc4-th-pro        .pc4-plan-price { color: #14532D; }
.pc4-th-premium    .pc4-plan-price { color: #78350F; }
.pc4-th-excellence .pc4-plan-price { color: #3B0764; }
.pc4-plan-price span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0; }

.pc4-plan-annual { font-size: 0.7rem; font-weight: 600; margin-top: 4px; }
.pc4-th-free       .pc4-plan-annual { color: #3B82F6; }
.pc4-th-pro        .pc4-plan-annual { color: #16A34A; }
.pc4-th-premium    .pc4-plan-annual { color: #D97706; }
.pc4-th-excellence .pc4-plan-annual { color: #7C3AED; }

/* ── Ligne CTA finale — en bas du tableau ── */
.pc4-cta-final td { padding: 14px 12px 18px; text-align: center; }
.pc4-cta-final td:nth-child(1) { background: #ECFDF5; }
.pc4-cta-final td:nth-child(2) { background: #EFF6FF; }
.pc4-cta-final td:nth-child(3) { background: #F0FDF4; }
.pc4-cta-final td:nth-child(4) { background: #FFFBEB; }
.pc4-cta-final td:nth-child(5) { background: #FAF5FF; }
.pc4-cta-feat-cell { background: #ECFDF5 !important; }
.pc4-cta-final td .btn,
.pc4-cta-final td button { width: 100%; }
.pc4-btn-premium    { border-color: #F59E0B !important; color: #92400E !important; }
.pc4-btn-premium:hover { background: #FEF3C7 !important; }
.pc4-btn-excellence { background: linear-gradient(135deg,#7C3AED,#4C1D95) !important; color:#fff !important; border-color:transparent !important; }
.pc4-btn-excellence:hover { background: linear-gradient(135deg,#6D28D9,#3B0764) !important; }

/* ── Cat row — 5 colonnes ── */
.pc4-cat td:nth-child(2) { background: #DBEAFE; }
.pc4-cat td:nth-child(3) { background: #D1FAE5; }
.pc4-cat td:nth-child(4) { background: #FEF3C7; }
.pc4-cat td:nth-child(5) { background: #EDE9FE; }

/* ── Services à la carte ── */
.carte-section { margin-top: 60px; padding-top: 40px; border-top: 1.5px solid #E5E7EB; }
.carte-section h3 { font-size: 1.25rem; font-weight: 800; color: #111827; margin-bottom: 6px; }
.carte-section .carte-sub { font-size: 0.9rem; color: #6B7280; margin-bottom: 24px; line-height: 1.6; }
.carte-table { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; font-size: 0.875rem; }
.carte-table thead th { background: #111827; color: #fff; padding: 12px 16px; text-align: left; font-weight: 700; }
.carte-table thead th:last-child { text-align: right; }
.carte-table tbody tr { border-bottom: 1px solid #F3F4F6; }
.carte-table tbody tr:last-child { border-bottom: none; }
.carte-table tbody td { padding: 13px 16px; color: #374151; }
.carte-table tbody td:nth-child(2) { font-weight: 700; color: #7C3AED; text-align: right; white-space: nowrap; }
.carte-table tbody tr:nth-child(even) td { background: #F9FAFB; }
.carte-note { margin-top: 14px; font-size: 0.8rem; color: #9CA3AF; font-style: italic; line-height: 1.5; }

/* ── Séparateurs de catégorie ── */
/* Base : neutre pour les 3 colonnes plan (2, 3, 4) */
.pc4-cat td {
  padding: 7px 16px 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  background: #F3F4F6;
  border-top: none;
  border-bottom: none;
}
/* Colonne Fonctionnalités uniquement → teinte verte */
.pc4-cat td:nth-child(1) {
  background: #D1FAE5;
  color: #065F46;
}

/* ── Lignes de fonctionnalités ── */
/* Pas de border-bottom : évite les lignes qui traversent les espaces entre cartes */
.pc4-row td {
  padding: 9px 14px;
  text-align: center;
  color: var(--text-primary);
  border-bottom: none;
  background: #fff;
  vertical-align: middle;
}
.pc4-row.pc4-alt td { background: #F9FAFB; }

/* Colonne features — texte à gauche */
.pc4-label { text-align: left !important; font-weight: 500; padding-left: 20px !important; }

/* Colonne PRO — pas de couleur de fond différente (comme les autres colonnes) */
.pc4-pro-col-val { background: inherit; }
.pc4-row.pc4-alt .pc4-pro-col-val { background: inherit; }

/* ── Cohérence bold : valeurs colorées par colonne ── */
.pc4-row td:nth-child(3) { font-weight: 700; color: #15803D; }   /* Pro — vert */
.pc4-row td:nth-child(4) { font-weight: 700; color: #B45309; }   /* Premium — ambre */
.pc4-row td:nth-child(5) { font-weight: 700; color: #6D28D9; }   /* Excellence — violet */

/* ✔ / ✗ — toujours leurs propres couleurs */
.pc4-y { color: #16a34a !important; font-size: 1rem; font-weight: 700; }
.pc4-n { color: #D1D5DB !important; font-size: 0.95rem; font-weight: 400 !important; }
.pc4-bold { font-weight: 700; }

/* ── Mobile : cartes individuelles (masquées sur desktop) ── */
.pc4-mobile { display: none; }

@media (max-width: 768px) {
  .pc4-wrap   { display: none; }
  .pc4-mobile { display: block; }

  .pc4m-card {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.08);
    border: 1.5px solid #E5E7EB;
  }
  .pc4m-card-pro {
    border-color: #6EE7B7;
    box-shadow: 0 4px 20px rgba(34,197,94,0.15);
  }

  .pc4m-header { padding: 24px 20px 20px; text-align: center; }
  .pc4m-header-free    { background: #EFF6FF; }
  .pc4m-header-pro     { background: #F0FDF4; }
  .pc4m-header-premium { background: #FFFBEB; }

  .pc4m-popular {
    display: inline-block;
    background: #22C55E;
    color: #fff;
    font-size: 0.63rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 6px;
  }
  .pc4m-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
    white-space: nowrap;
    line-height: 1;
  }
  .pc4m-badge-free       { background: #DBEAFE; color: #1E40AF; }
  .pc4m-badge-pro        { background: #BBF7D0; color: #14532D; }
  .pc4m-badge-premium    { background: #FEF3C7; color: #78350F; }
  .pc4m-badge-excellence { background: #EDE9FE; color: #4C1D95; }

  .pc4m-header-free       { background: #EFF6FF; }
  .pc4m-header-pro        { background: #F0FDF4; }
  .pc4m-header-premium    { background: #FFFBEB; }
  .pc4m-header-excellence { background: #FAF5FF; }

  .pc4m-card-excellence { border-color: #C4B5FD; box-shadow: 0 4px 20px rgba(124,58,237,0.15); }

  .pc4m-name { font-size: 1.5rem; font-weight: 800; margin: 6px 0 4px; }
  .pc4m-header-free       .pc4m-name { color: #1E40AF; }
  .pc4m-header-pro        .pc4m-name { color: #14532D; }
  .pc4m-header-premium    .pc4m-name { color: #78350F; }
  .pc4m-header-excellence .pc4m-name { color: #4C1D95; }

  .pc4m-price { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1.1; }
  .pc4m-header-free       .pc4m-price { color: #1E3A8A; }
  .pc4m-header-pro        .pc4m-price { color: #14532D; }
  .pc4m-header-premium    .pc4m-price { color: #78350F; }
  .pc4m-header-excellence .pc4m-price { color: #3B0764; }

  .pc4m-annual { font-size: 0.72rem; color: #9CA3AF; margin-top: 2px; margin-bottom: 4px; }

  .pc4m-features { background: #fff; }
  .pc4m-cat {
    padding: 8px 16px 6px;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6B7280;
    background: #F3F4F6;
  }
  .pc4m-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.83rem;
    background: #fff;
    gap: 8px;
  }
  .pc4m-row.pc4m-even { background: #F9FAFB; }
  .pc4m-feat { font-weight: 500; color: #1F2937; }

  /* ── Valeurs colorées par plan (cohérence bold) ── */
  .pc4m-pro-val { font-weight: 700; color: #15803D; }
  .pc4m-card-pro      .pc4m-row span:not(.pc4m-feat) { font-weight: 700; color: #15803D; }
  .pc4m-card-premium  .pc4m-row span:not(.pc4m-feat) { font-weight: 700; color: #B45309; }
  .pc4m-card-excellence .pc4m-row span:not(.pc4m-feat) { font-weight: 700; color: #6D28D9; }

  /* ✔ / ✗ — priorité sur la couleur du plan */
  .pc4m-y { color: #16a34a !important; font-weight: 700; font-size: 1rem; }
  .pc4m-n { color: #D1D5DB !important; font-weight: 400 !important; }

  /* Carte Premium — bordure ambre */
  .pc4m-card-premium { border-color: #FDE68A; box-shadow: 0 4px 20px rgba(245,158,11,0.15); }
}

.pt-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.875rem;
  table-layout: fixed;
}

/* Column widths */
.pt-table .pt-feat-head,
.pt-table .pt-feat   { width: 34%; }
.pt-table td:not(.pt-feat):not(.pt-cta-empty),
.pt-table .pt-plan-head { width: 22%; }

/* ── Plan header cells ── */
.pt-plan-head {
  padding: 22px 12px 18px;
  text-align: center;
  vertical-align: top;
}
.pt-feat-head {
  padding: 22px 20px 18px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  background: #2D5016;
  vertical-align: bottom;
}
.pt-h-free    { background: #6B7280; }
.pt-h-pro     { background: var(--primary); }
.pt-h-premium { background: #B45309; }

.pt-popular-tag {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.pt-plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.pt-plan-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  line-height: 1.2;
  margin-bottom: 2px;
}
.pt-plan-price span { font-size: 0.75rem; font-weight: 400; }
.pt-plan-annual {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}

/* ── Category separator rows ── */
.pt-cat td {
  padding: 8px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6B7280;
  background: #F3F4F6;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid #E5E7EB;
}

/* ── Feature rows ── */
.pt-row td {
  padding: 10px 12px;
  border-bottom: 1px solid #F3F4F6;
  text-align: center;
  color: #4B5563;
  font-size: 0.83rem;
  vertical-align: middle;
}
.pt-row:last-child td  { border-bottom: none; }
.pt-row:hover td       { background: #FAFAFA; }
.pt-row:hover .pt-pro  { background: #EDFAF3; }

.pt-feat {
  text-align: left;
  padding-left: 20px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

/* PRO column highlight */
.pt-pro {
  background: #F0FDF4;
  color: #15803d;
  font-weight: 600;
  border-left: 1.5px solid #86EFAC;
  border-right: 1.5px solid #86EFAC;
}

/* Check / Cross marks */
.pt-y { color: #16a34a; font-size: 16px; font-weight: 800; }
.pt-n { color: #D1D5DB; font-size: 15px; }

/* ── Footer CTA row ── */
.pt-table tfoot td {
  padding: 16px 10px;
  border-top: 2px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.pt-cta-empty { background: #2D5016; }
.pt-cta-pro {
  background: #F0FDF4;
  border-left: 1.5px solid #86EFAC;
  border-right: 1.5px solid #86EFAC;
}
.pt-cta-btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 9px 8px;
  white-space: nowrap;
}

/* Base card */
.pc-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09);
}

/* Popular card */
.pc-popular {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(22,163,74,0.15);
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100px);
}
.pc-popular:hover {
  box-shadow: 0 24px 56px rgba(22,163,74,0.2);
}

/* Premium card */
.pc-premium-card {
  border-color: #E5E7EB;
  background: linear-gradient(180deg, #FFFBF0 0%, #fff 80px);
}

/* "Most popular" ribbon */
.pc-popular-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 18px;
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
}

/* Card header */
.pc-head {
  margin-bottom: 24px;
  padding-top: 10px;
}

/* Plan badge */
.pc-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.pc-free    { background: #E0E7FF; color: #4338CA; }
.pc-pro     { background: #DCFCE7; color: #15803d; }
.pc-premium { background: #FEF3C7; color: #B45309; }

/* Plan name */
.pc-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.1;
}

/* Tagline */
.pc-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

/* Price */
.pc-price-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.pc-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.pc-popular .pc-amount { color: var(--primary); }
.pc-unit {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-bottom: 4px;
}
.pc-unit-block {
  display: flex;
  flex-direction: column;
  padding-bottom: 2px;
  gap: 2px;
}
.pc-annual {
  font-size: 0.73rem;
  color: #9CA3AF;
}

/* CTA button — uses existing .btn classes */
.pc-card .btn-block { margin-bottom: 0; }

/* Features list */
.pc-features {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  flex: 1;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Category separator */
.pc-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  padding: 12px 0 5px;
}
.pc-cat:first-child { padding-top: 0; }

/* Feature item */
.pc-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  padding: 5px 0;
  color: var(--text-primary);
  line-height: 1.35;
}

/* Icon spans */
.pc-feat span:first-child {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.pc-yes span:first-child {
  background: #DCFCE7;
  color: #16a34a;
}
.pc-no span:first-child {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 10px;
}
.pc-no {
  color: #9CA3AF;
}

/* Highlighted features in Premium */
.pc-highlight {
  color: var(--text-primary);
  font-weight: 600;
}
.pc-highlight span:first-child {
  background: #FEF3C7;
  color: #B45309;
}

/* price-amount kept for JS billing toggle */
.price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

.btn-block { width: 100%; }

/* ══════════════════════════════════════════
   Feature list inside cards — lignes alternées
══════════════════════════════════════════ */
.pf-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--border);
}

/* Category separator */
.pf-cat {
  padding: 8px 16px 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  background: #F3F4F6;
  border-top: 1px solid #E5E7EB;
}
.pf-cat:first-child { border-top: none; }

/* Feature row */
.pf-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  font-size: 0.83rem;
  color: var(--text-primary);
  background: #fff;
  border-bottom: 1px solid #F3F4F6;
  line-height: 1.35;
}
.pf-row:last-child { border-bottom: none; }

/* Alternating row — grey */
.pf-row.pf-alt { background: #F9FAFB; }

/* Icon circle */
.pf-row span:first-child {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.pf-yes span:first-child { background: #DCFCE7; color: #16a34a; }
.pf-no  { color: #9CA3AF; }
.pf-no span:first-child  { background: #FEE2E2; color: #DC2626; font-size: 10px; }

/* PRO card feature rows — tint green when alt */
.pc-popular .pf-row.pf-alt { background: #F0FDF4; }

/* Deprecated */
.fc-wrap {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.875rem;
}

/* Column widths */
.fc-th-feat { width: 38%; }
.fc-th      { width: 20.6%; }

/* Header row */
.fc-table thead tr {
  border-bottom: 2px solid var(--border);
}
.fc-table thead th {
  padding: 14px 16px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: #F9FAFB;
}
.fc-th-feat {
  text-align: left;
  color: var(--text-primary);
}
.fc-th-pro {
  background: #F0FDF4;
  color: var(--primary);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

/* Category separator rows */
.fc-cat-row td {
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9CA3AF;
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid #EEF2F7;
}

/* Feature rows */
.fc-row td {
  padding: 9px 16px;
  border-bottom: 1px solid #F3F4F6;
  text-align: center;
  color: #4B5563;
  vertical-align: middle;
  font-size: 0.84rem;
}
.fc-row:last-child td { border-bottom: none; }
.fc-row:hover td { background: #FAFAFA; }
.fc-row:hover .fc-pro-col { background: #EDFAF3; }

.fc-label {
  text-align: left;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

/* PRO column highlight */
.fc-pro-col {
  background: #F0FDF4;
  color: #15803d;
  font-weight: 600;
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

/* Check / Cross */
.fc-y {
  color: #16a34a;
  font-size: 15px;
  font-weight: 700;
}
.fc-n {
  color: #D1D5DB;
  font-size: 14px;
}

/* Enterprise Contact Card */
.enterprise-contact {
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
  border-radius: var(--radius-xl);
  text-align: center;
  color: white;
}

.enterprise-contact h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.enterprise-contact p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.95;
}

.enterprise-contact .btn {
  background: white;
  color: var(--primary);
  border: none;
}

.enterprise-contact .btn:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ===== About Section ===== */
.about {
  padding: 100px 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content .section-badge {
  margin-bottom: 16px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: white;
  border: 1px solid #D1FAE5;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(45, 80, 22, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-feature:hover {
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.12);
  transform: translateY(-2px);
}

.about-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #DCFCE7;
  color: var(--primary);
  flex-shrink: 0;
}
.about-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-feature-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-feature-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.about-feature-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.africa-map-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.africa-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.africa-map-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.16));
  transition: var(--transition);
}

.countries-highlight {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.highlight-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
}

.highlight-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.highlight-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
}

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

.country-card .country-flag {
  font-size: 1.3rem;
}

.country-card .country-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ===== Download Section ===== */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.download-content {
  max-width: 700px;
  margin: 0 auto;
}

.download-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.download-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: white;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.store-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-small {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.store-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.download-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ===== Contact Section ===== */
.contact {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-method:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.method-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-details {
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.method-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

a.method-value:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  margin-top: 8px;
}

.btn-submit svg {
  transition: var(--transition);
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 30px;
  background: var(--bg-dark);
  color: white;
}

.footer-brand .nav-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-light);
}

.footer-column a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-column 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.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 1.25rem;
  transition: var(--transition);
}

.footer-social a:hover {
  transform: scale(1.2);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  /* Hero scrollable sur mobile : téléphone en haut, texte en bas */
  .hero { height: auto; min-height: 100dvh; padding-bottom: 60px; }
  .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  /* Téléphone visible dès l'ouverture */
  .hero-visual { order: 1; max-height: none; overflow: visible; display: flex; justify-content: center; margin-bottom: 32px; }
  .hero-visual img, .hero-visual .phone-illustration { max-height: none; width: 300px; }
  /* Texte/CTAs en dessous */
  .hero-content { order: 2; }
  .hero-description { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pc4-wrap { overflow-x: auto; }
  .pc4-table { min-width: 600px; font-size: 0.78rem; }
  .pc4-label { padding-left: 12px !important; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { margin-top: 40px; }
  .africa-map-container { max-width: 450px; margin: 0 auto; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-info .section-title { text-align: center; }
  .contact-methods { align-items: center; }
  .contact-method { width: 100%; max-width: 400px; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ===== TABLETTE (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .nav-container {
    padding: 18px 30px;
    min-height: 90px;
  }

  .hero-content {
    max-width: 90%;
  }

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

  .phone-illustration {
    width: 380px;
  }
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
  /* ── Navigation mobile ── */
  .navbar { padding: 0; }

  .nav-container {
    padding: 0 16px;
    height: 60px;
  }

  .nav-logo { gap: 10px; }

  /* Drawer slide-in depuis la droite */
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100dvh;
    background: white;
    padding: 0;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
    z-index: 1100;
    transition: right .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
    animation: none;
  }

  /* Backdrop sombre derrière le drawer */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1090;
    backdrop-filter: blur(2px);
  }
  .nav-backdrop.active { display: block; }

  /* En-tête du drawer */
  .nav-menu::before {
    content: '';
    display: block;
    height: 60px;
    border-bottom: 1px solid #F3F4F6;
    flex-shrink: 0;
    background: url('images/wiise-icon.png') left 20px center / 32px no-repeat;
  }

  .nav-link {
    padding: 15px 24px;
    border-bottom: 1px solid #F9FAFB;
    font-size: 15px;
    font-weight: 500;
    display: block;
  }

  .nav-link:last-of-type { border-bottom: none; }

  /* Auth buttons dans le drawer */
  .nav-mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px;
    margin-top: auto;
    border-top: 1px solid #F3F4F6;
  }

  .nav-mobile-auth .btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  /* Auth desktop masqué sur mobile */
  .nav-auth { display: none !important; }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
  }

  .lang-toggle {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: 100dvh;
    padding-top: 60px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Phone Mockup */
  .phone-illustration {
    width: 270px;
    margin-top: 0;
  }

  .phone-mockup {
    width: 280px;
    height: 560px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  /* Pricing */
  .pc4-wrap {
    border-radius: 12px;
    overflow-x: auto;
  }

  .pc4-table {
    min-width: 600px;
    font-size: 0.85rem;
  }

  /* About */
  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-feature {
    padding: 14px 14px;
  }

  /* Countries */
  .country-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .country-card {
    padding: 16px;
  }

  .country-card .country-name {
    font-size: 0.85rem;
  }

  .country-flag {
    font-size: 2rem;
  }

  /* Download */
  .download-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Contact Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  /* Container */
  .container {
    padding: 0 20px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ===== PETIT MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
  /* Navigation */
  .nav-container {
    padding: 0 12px;
    height: 56px;
  }

  .nav-logo {
    font-size: 1.35rem;
    gap: 10px;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 100dvh;
    padding-top: 56px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .phone-illustration {
    width: 260px;
  }

  /* Sections */
  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.65rem;
    line-height: 1.3;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .download-title {
    font-size: 1.65rem;
  }

  /* Features */
  .feature-card {
    padding: 24px 20px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }
  .feature-icon svg {
    width: 22px;
    height: 22px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  /* Countries */
  .country-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .country-card {
    padding: 20px;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 14px 28px;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }

  /* Download buttons */
  .download-btn {
    padding: 14px 20px;
  }

  .download-btn img {
    height: 36px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 24px;
  }

  .footer-tagline {
    font-size: 0.9rem;
  }

  .footer-link {
    font-size: 0.9rem;
  }
}

/* ===== Payment Modal ===== */
.payment-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.payment-modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.payment-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.payment-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.payment-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.payment-modal-close:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.payment-modal-body {
  padding: 24px;
}

.payment-summary {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.payment-summary h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.summary-row span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.summary-row strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.payment-methods-info {
  background: #EFF6FF;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.payment-methods-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.payment-methods-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.payment-methods-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-methods-info li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

.payment-terms {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.payment-terms a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .payment-modal-content {
    max-width: 100%;
    margin: 0;
    border-radius: var(--radius-md);
  }

  .payment-modal-header,
  .payment-modal-body {
    padding: 20px;
  }
}

