/* ═══════════════════════════════════════════════════════════════
   MainPay Africa — style.css
   Palette : #0A0E1A (fond), #00C853 (vert), #FFFFFF (texte)
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #0A0E1A;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Variables ── */
:root {
  --green: #00C853;
  --green-light: #69F0AE;
  --green-dark: #00952E;
  --bg: #0A0E1A;
  --bg-card: #111827;
  --bg-card2: #161D2E;
  --border: rgba(255,255,255,0.08);
  --text: #FFFFFF;
  --text-muted: #8892A4;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,200,83,0.12);
  --transition: 0.25s ease;
  --max-w: 1200px;
}

/* ── Utilitaires ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,200,83,0.12); color: var(--green);
  border: 1px solid rgba(0,200,83,0.25);
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: #000;
  box-shadow: 0 0 24px rgba(0,200,83,0.3);
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,200,83,0.4); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: rgba(0,200,83,0.06); }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 13px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* ── Typographie ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.75; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0;
}
.nav-logo img {
  height: 44px; width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}
/* Fallback si image absente */
.nav-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: #000; font-weight: 900; font-size: 18px;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 8px;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 999; padding: 24px;
  flex-direction: column; gap: 8px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px; border-radius: 12px;
  font-size: 16px; font-weight: 500; color: var(--text-muted);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--text); background: var(--bg-card); }
.mobile-menu .mobile-cta { margin-top: 16px; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,200,83,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0,149,46,0.08) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.04;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.hero-content .badge { margin-bottom: 24px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-content h1 span { color: var(--green); }
.hero-content .lead { margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 12px 20px; border-radius: 12px;
  transition: all var(--transition);
}
.store-btn:hover { border-color: var(--green); transform: translateY(-2px); }
.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-btn-text { text-align: left; }
.store-btn-text small { font-size: 11px; color: var(--text-muted); display: block; }
.store-btn-text strong { font-size: 14px; font-weight: 600; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Scène positionnée — contient le téléphone + badges ── */
.phone-scene {
  position: relative;
  width: 420px;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Téléphone centré avec lévitation ── */
.phone-hero {
  position: relative;
  z-index: 2;
  animation: phoneFloat 5s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotate(-1.5deg); }
  50%       { transform: translateY(-16px) rotate(-1.5deg); }
}

/* Glow pulsant */
.phone-hero .samsung-glow {
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

/* ── Carousel d'écrans ── */
.screen-carousel { position: relative; width: 100%; }
.screen-slide { width: 100%; display: block; opacity: 0; }
.slide-1 { animation: screenFade 20s 0s  infinite ease-in-out; }
.slide-2 { animation: screenFade 20s 5s  infinite ease-in-out; position: absolute; top: 0; left: 0; }
.slide-3 { animation: screenFade 20s 10s infinite ease-in-out; position: absolute; top: 0; left: 0; }
.slide-4 { animation: screenFade 20s 15s infinite ease-in-out; position: absolute; top: 0; left: 0; }

@keyframes screenFade {
  0%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ── Badges — base commune ── */
.scene-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  white-space: nowrap;
  z-index: 10;
}

/* Haut-gauche — Palm Pay */
.badge-top-left {
  top: 40px;
  left: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  border-color: rgba(0,200,83,0.25);
  animation: badgeFloat 4.2s 0s ease-in-out infinite;
}

/* Haut-droite — Solde */
.badge-top-right {
  top: 55px;
  right: 0px;
  animation: badgeFloat 4.2s 0.8s ease-in-out infinite;
}

/* Bas-gauche — Tontine */
.badge-bottom-left {
  bottom: 80px;
  left: 5px;
  border-color: rgba(0,200,83,0.2);
  animation: badgeFloat 4.2s 1.4s ease-in-out infinite;
}

/* Bas-droite — Transfert reçu */
.badge-bottom-right {
  bottom: 55px;
  right: 0px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(59,130,246,0.25);
  animation: badgeFloat 4.2s 2.1s ease-in-out infinite;
}

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

.float-dot-blue {
  background: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.25) !important;
}

.samsung-mockup.tilted { z-index: 2; }
.hero-phone-mockup {
  width: 280px; height: 560px; border-radius: 40px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 80px rgba(0,200,83,0.1);
  overflow: hidden;
}
.hero-phone-mockup::before {
  content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px; background: var(--border);
  border-radius: 3px;
}
.hero-phone-screen {
  position: absolute; inset: 20px 8px 8px;
  background: linear-gradient(160deg, #111827 0%, #0d1520 100%);
  border-radius: 32px; padding: 24px 16px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.mock-balance { text-align: center; padding: 16px 0 8px; }
.mock-balance .amount { font-size: 28px; font-weight: 800; }
.mock-balance small { font-size: 11px; color: var(--text-muted); }
.mock-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-action { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mock-action-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(0,200,83,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.mock-action small { font-size: 10px; color: var(--text-muted); }
.mock-card {
  background: linear-gradient(135deg, rgba(0,200,83,0.2), rgba(0,149,46,0.1));
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 16px; padding: 14px;
}
.mock-card-label { font-size: 10px; color: var(--text-muted); margin-bottom: 4px; }
.mock-card-value { font-size: 14px; font-weight: 700; color: var(--green); }
.mock-txs { flex: 1; }
.mock-tx { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.mock-tx-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.mock-tx-info { flex: 1; }
.mock-tx-name { font-size: 11px; font-weight: 600; }
.mock-tx-date { font-size: 10px; color: var(--text-muted); }
.mock-tx-amount { font-size: 11px; font-weight: 700; }
.mock-tx-amount.plus { color: var(--green); }
.mock-tx-amount.minus { color: #FF5252; }
.float-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

/* ── Stats bar ── */
.stats-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ── Features grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover { border-color: rgba(0,200,83,0.3); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0,200,83,0.08); border: 1px solid rgba(0,200,83,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--green); flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; }
.security-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,200,83,0.08); border: 1px solid rgba(0,200,83,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); flex-shrink: 0;
}
.security-icon svg { width: 20px; height: 20px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 14px; }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 28px; left: calc(16.666% + 16px); right: calc(16.666% + 16px);
  height: 1px; background: linear-gradient(90deg, var(--green), var(--bg));
}
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #000;
  font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  box-shadow: 0 0 24px rgba(0,200,83,0.4);
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 14px; max-width: 240px; margin: 0 auto; }

/* ── Split section ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-content .section-label { margin-bottom: 8px; }
.split-content h2 { margin-bottom: 16px; }
.split-content p { margin-bottom: 24px; }
.split-list { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.split-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-muted);
}
.split-list li::before {
  content: '✓'; min-width: 20px; height: 20px;
  background: rgba(0,200,83,0.15); color: var(--green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; margin-top: 2px;
}
.split-visual {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px;
  min-height: 360px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.split-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,200,83,0.08) 0%, transparent 70%);
}

/* ── Icônes illustratives dans split-visual ── */
.visual-mockup { position: relative; z-index: 1; text-align: center; }
.visual-icon-big { font-size: 80px; margin-bottom: 16px; }
.visual-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,200,83,0.12); border: 1px solid rgba(0,200,83,0.2);
  padding: 8px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--green);
  margin: 4px;
}

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.testimonial-stars { color: #FFB800; font-size: 14px; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #000;
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ── Partners strip ── */
.partners-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-strip .section-label { text-align: center; margin-bottom: 8px; }
.partners-strip h3 { text-align: center; font-size: 1.1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 40px; letter-spacing: 0.02em; }
.partners-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.partner-logo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 36px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.partner-logo-card:hover {
  border-color: rgba(0,200,83,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.partner-logo-card img {
  height: 44px; width: auto;
  object-fit: contain;
  filter: grayscale(20%) brightness(1.05);
  transition: filter var(--transition);
}
.partner-logo-card:hover img { filter: grayscale(0%) brightness(1.1); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(0,200,83,0.12) 0%, rgba(0,149,46,0.06) 100%);
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 24px; padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,83,0.12) 0%, transparent 70%);
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { margin-bottom: 36px; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Security section ── */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.security-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.security-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.security-item h4 { margin-bottom: 6px; }
.security-item p { font-size: 13px; }

/* ── Countries ── */
.countries-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.country-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 10px 16px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: all var(--transition);
}
.country-chip:hover { border-color: var(--green); color: var(--green); }
.country-chip .flag { font-size: 20px; }
.country-chip.coming { opacity: 0.5; }
.country-chip.coming::after { content: ' (bientôt)'; font-size: 11px; color: var(--text-muted); }

/* ── Page Hero (sous-pages) ── */
.page-hero {
  padding: 140px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,83,0.12) 0%, transparent 60%);
  text-align: center;
}
.page-hero .badge { margin-bottom: 20px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { margin: 0 auto 40px; }

/* ── Cards liste ── */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition);
}
.info-card:hover { border-color: rgba(0,200,83,0.3); transform: translateY(-2px); }
.info-card-icon { font-size: 32px; margin-bottom: 16px; }
.info-card h3 { margin-bottom: 10px; }
.info-card p { font-size: 14px; }

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: inherit; font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-success {
  background: rgba(0,200,83,0.1); border: 1px solid rgba(0,200,83,0.3);
  border-radius: var(--radius); padding: 20px;
  text-align: center; color: var(--green);
  display: none;
}

/* ── Footer ── */
.footer {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; margin: 16px 0 24px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all var(--transition);
}
.social-link:hover { border-color: var(--green); color: var(--green); }
.footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--green); }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ══════════════════════════════════════════
   Samsung Galaxy S26 Ultra — Mockup réaliste
   Titanium frame · S Pen · Corners carrés
══════════════════════════════════════════ */

.samsung-mockup {
  position: relative;
  width: 175px;      /* S26 Ultra — taille affichage hero */
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

/* ── Lueur verte/titanium derrière le téléphone ── */
.samsung-glow {
  position: absolute;
  inset: -55px;
  background: radial-gradient(ellipse 70% 60% at 50% 72%,
    rgba(0,200,83,0.55)  0%,
    rgba(0,180,75,0.22)  38%,
    rgba(59,130,246,0.10) 60%,
    transparent 75%);
  filter: blur(36px);
  z-index: -1;
  pointer-events: none;
}

/* ── Corps S26 Ultra — Armor Titanium mat ── */
.samsung-body {
  /*
   * Samsung Titanium Black :
   * cadre plat micro-brossé, coins moins arrondis que S series standard
   */
  background: linear-gradient(158deg,
    #343438 0%,       /* Titanium highlight haut */
    #222226 10%,
    #18181C 35%,      /* Corps principal */
    #101012 65%,
    #0A0A0C 85%,
    #060608 100%
  );
  border-radius: 30px;         /* Ultra : corners carrés vs 40px standard S */
  padding: 6px 5px;            /* Bezels ultra-fins (2-3mm réels) */
  position: relative;
  box-shadow:
    /* Reflet titanium haut — micro-brossé */
    inset 0 1.5px 0 rgba(255,255,255,0.22),
    inset 0 1px 0 rgba(255,255,255,0.12),
    /* Highlight côté gauche (cadre plat) */
    inset 1.5px 0 0 rgba(255,255,255,0.08),
    /* Contour interne subtil */
    inset 0 0 0 0.5px rgba(255,255,255,0.06),
    /* Ombre bas intérieure */
    inset 0 -1.5px 0 rgba(0,0,0,0.75),
    /* Bordure titane nette */
    0 0 0 1px rgba(0,0,0,0.95),
    /* Ombre portée proche */
    0 10px 30px rgba(0,0,0,0.95),
    /* Ombre diffuse profonde */
    0 35px 80px rgba(0,0,0,0.75),
    /* Ombres latérales discrètes */
    4px 0 20px rgba(0,0,0,0.30),
    -4px 0 20px rgba(0,0,0,0.30);
}

/* ── Volume (gauche) — 2 boutons distincts Ultra style ── */
.samsung-body::before {
  content: '';
  position: absolute;
  left: -3.5px; top: 88px;
  width: 2.5px; height: 28px;      /* Volume + */
  background: linear-gradient(180deg, #3A3A3E 0%, #26262A 100%);
  border-radius: 2px 0 0 2px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    /* Volume - (décalé avec gap de 8px) */
    0 38px 0 0 #26262A,
    0 38px 0 1px #3A3A3E;
}

/* ── Power (droite) + slot S Pen (bas-droite) ── */
.samsung-body::after {
  content: '';
  position: absolute;
  right: -3.5px; top: 108px;
  width: 2.5px; height: 38px;     /* Bouton power */
  background: linear-gradient(180deg, #3A3A3E 0%, #26262A 100%);
  border-radius: 0 2px 2px 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12);
}

/* ── Barre supérieure ultra-fine (bezel haut) ── */
.ultra-frame-top {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 16px;           /* Bezel haut minimaliste */
  padding: 0;
}

/* ── Punch-hole centré — Galaxy S26 Ultra ── */
.samsung-camera {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 30%,
    #1E2D3E 0%,
    #0C1C2C 40%,
    #030B12 100%
  );
  position: relative;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),   /* Lunette caméra */
    0 0 5px rgba(0,80,180,0.15),
    inset 0 0 0 1px rgba(0,0,0,0.85);
}
/* Reflet lentille */
.samsung-camera::after {
  content: '';
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 3.5px; height: 3.5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}

/* ── Écran AMOLED Dynamic LTPO — coins Ultra carrés ── */
.samsung-screen {
  border-radius: 22px;        /* Coins très carrés — signature Ultra */
  overflow: hidden;
  background: #000;
  position: relative;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.6);
}

/* Reflet verre Gorilla Armor (mat anti-reflet — moins brillant) */
.samsung-screen::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(175deg,
    rgba(255,255,255,0.035) 0%,
    rgba(255,255,255,0.008) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
  border-radius: 22px 22px 0 0;
}

/* Screenshot plein écran */
.samsung-screen img {
  width: 100%;
  display: block;
}

/* ── Barre inférieure + slot S Pen ── */
.ultra-frame-bottom {
  height: 14px;               /* Bezel bas minimal */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

/* Slot S Pen — encoche rectangulaire bas-droite, signature Ultra */
.spen-slot {
  width: 18px; height: 3px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.06) 30%,
    rgba(0,0,0,0.8) 31%,
    rgba(0,0,0,0.9) 70%,
    rgba(255,255,255,0.04) 71%,
    rgba(255,255,255,0.0) 100%
  );
  border-radius: 1.5px;
  position: relative;
}
/* Ombre d'encoche */
.spen-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.9);
}

/* Screenshots dans la galerie */
.samsung-screen img { width: 100%; display: block; }

.samsung-mockup.tilted { z-index: 2; }

/* ══════════════════════════════════════════
   MacBook Mockup
══════════════════════════════════════════ */
.macbook-mockup {
  width: 100%;
  max-width: 700px;
  position: relative;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.7));
}
/* Glow derrière le laptop */
.macbook-glow {
  position: absolute;
  bottom: -10px; left: 5%; right: 5%;
  height: 50%;
  background: radial-gradient(ellipse,
    rgba(0,200,83,0.35) 0%,
    rgba(59,130,246,0.18) 45%,
    transparent 70%);
  filter: blur(36px);
  z-index: -1;
  pointer-events: none;
}
/* Écran (couvercle) */
.macbook-lid {
  background: linear-gradient(150deg, #2e2e2e 0%, #1c1c1c 100%);
  border-radius: 14px 14px 0 0;
  padding: 12px 14px 0;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.macbook-camera-dot {
  width: 7px; height: 7px;
  background: #333;
  border-radius: 50%;
  margin: 0 auto 8px;
  box-shadow: inset 0 0 0 2px #222, 0 0 0 1px rgba(255,255,255,0.04);
}
.macbook-display {
  background: #000;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  border-bottom: none;
}
.macbook-display img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}
/* Charnière */
.macbook-hinge {
  height: 5px;
  background: linear-gradient(180deg, #111 0%, #222 100%);
}
/* Base / clavier */
.macbook-base {
  background: linear-gradient(180deg, #252525 0%, #1c1c1c 100%);
  border-radius: 0 0 12px 12px;
  padding: 10px 18px 14px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 16px 40px rgba(0,0,0,0.5);
}
.macbook-keyboard-area {
  background: #181818;
  border-radius: 5px;
  height: 68px;
  margin-bottom: 8px;
  /* Grille touches */
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px,
      transparent 1px, transparent 13px),
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px,
      transparent 1px, transparent 13px);
  background-size: 13px 13px;
  border: 1px solid rgba(255,255,255,0.04);
}
.macbook-trackpad-area {
  width: 88px; height: 30px;
  background: #1d1d1d;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 5px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   Screenshots Row — galerie
══════════════════════════════════════════ */

/* ── Laptop Frame (screenshots app web/PC) ── */
.laptop-frame {
  width: 100%;
  max-width: 580px;
  position: relative;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6));
}
.laptop-screen {
  background: #0d1117;
  border-radius: 12px 12px 0 0;
  border: 8px solid #2a2a2a;
  border-bottom: none;
  overflow: hidden;
  position: relative;
}
.laptop-screen::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 28px;
  background: #1a1a1a;
  z-index: 1;
  display: flex;
  align-items: center;
}
.laptop-screen::after {
  content: '● ● ●';
  position: absolute; top: 6px; left: 12px;
  font-size: 9px; letter-spacing: 4px;
  color: #555;
  z-index: 2;
}
.laptop-screen img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  background: linear-gradient(160deg, #111827 0%, #0d1520 100%);
  margin-top: 28px;
}
.laptop-keyboard {
  background: linear-gradient(180deg, #2a2a2a, #1e1e1e);
  height: 22px;
  border-radius: 0 0 6px 6px;
}
.laptop-stand {
  width: 32%; height: 14px;
  background: #1e1e1e;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
}

/* ── Screenshots row (galerie horizontale) ── */
.screenshots-row {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 32px 24px 56px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
  align-items: flex-start;
}
.screenshots-row::-webkit-scrollbar { display: none; }
.screenshots-row > div { scroll-snap-align: start; }
/* S26 Ultra dans la galerie : taille réduite */
.screenshots-row .samsung-mockup { width: 166px; }
.screenshots-row .samsung-mockup .samsung-body {
  border-radius: 24px; padding: 5px 4px;
}
.screenshots-row .samsung-mockup .ultra-frame-top { height: 13px; }
.screenshots-row .samsung-mockup .ultra-frame-bottom { height: 10px; }
.screenshots-row .samsung-mockup .samsung-camera { width: 9px; height: 9px; }
.screenshots-row .samsung-mockup .samsung-screen { border-radius: 17px; }
.screenshots-row .samsung-mockup .samsung-glow {
  filter: blur(16px);
  inset: -24px;
}

/* ── Screenshot caption ── */
.screenshot-caption {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 500;
}

/* ── Animations ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content .lead { margin: 0 auto 40px; }
  .hero-btns { justify-content: center; }
  .hero-stores { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .laptop-frame { max-width: 100%; }
  .screenshots-duo .laptop-frame { max-width: 100%; }
  .screenshots-duo .phone-frame { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 48px 24px; }
  .hero-btns { flex-direction: column; align-items: center; }
}
