/* ═══════════════════════════════════════════════════════════
   TontiPay — Site vitrine v2
   Design: vert forêt · or sourd · Manrope
   ═══════════════════════════════════════════════════════════ */

@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url('fonts/Manrope_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('fonts/Manrope_500Medium.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('fonts/Manrope_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('fonts/Manrope_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('fonts/Manrope_800ExtraBold.ttf') format('truetype'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --forest:       #0e6b3e;
  --forest-dark:  #085e40;
  --forest-deep:  #0a2a1b;
  --amber:        #b8860b;
  --amber-pale:   #f7efd9;

  /* Text */
  --ink:          #14201a;
  --ink-60:       #595959;
  --ink-40:       #909090;

  /* Backgrounds */
  --cream:        #f4f7f5;
  --warm-50:      #ecf2ee;
  --warm-border:  #d4ead8;
  --white:        #FFFFFF;

  /* Fonts */
  --serif: 'Manrope', system-ui, sans-serif;
  --sans:  'Manrope', system-ui, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(0,0,0,0.06);
  --sh-md: 0 8px 28px rgba(0,0,0,0.10);
  --sh-lg: 0 20px 60px rgba(0,0,0,0.16);
}

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Serif italic in headings ── */
h1 em, h2 em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

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

/* ── Section labels ── */
.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 14px;
}
.label-light { color: rgba(255,255,255,0.55); }

/* ── Section intro ── */
.section-intro { text-align: center; margin-bottom: 56px; }
.section-intro h2 {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}
.light-intro h2 { color: var(--white); }

/* ─────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 36px; width: auto; display: block; }
.logo-dark  { display: none; }
.navbar.scrolled .logo-light { display: none; }
.navbar.scrolled .logo-dark  { display: block; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.navbar.scrolled .nav-links a { color: var(--ink-60); }
.nav-links a:hover { color: white; }
.navbar.scrolled .nav-links a:hover { color: var(--forest); }

.btn-nav {
  text-decoration: none;
  background: var(--amber);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-nav:hover { opacity: 0.88; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: background 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--ink); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: white;
  padding: 12px 24px 24px;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid var(--warm-border);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--forest); }
.btn-nav-mobile {
  display: block;
  text-align: center;
  background: var(--forest) !important;
  color: white !important;
  padding: 13px !important;
  border-radius: var(--r-md) !important;
  font-weight: 700 !important;
  margin-top: 8px;
  border-bottom: none !important;
}

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--forest-deep);
  min-height: 100vh;
  padding: 116px 0 0;
  overflow: hidden;
}

/* Subtle dot texture overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.055) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

/* Hero tag */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,146,26,0.12);
  border: 1px solid rgba(232,146,26,0.28);
  color: var(--amber);
  font-size: 15px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.htag-flag { font-size: 20px; }

/* Hero headline */
.hero-title {
  font-family: var(--sans);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800;
  color: white;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-title em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  color: var(--amber);
}

.hero-desc {
  font-size: 20px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Hero CTA buttons */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 13px 26px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(232,146,26,0.35);
}
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(232,146,26,0.45); }

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 13px 26px;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost-hero:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hstat strong { display: block; font-size: 17px; font-weight: 800; color: white; }
.hstat span   { font-size: 14px; color: rgba(255,255,255,0.45); font-weight: 500; }
.hstat-sep    { width: 1px; height: 28px; background: rgba(255,255,255,0.12); }

/* ── Hero phone ── */
.hero-visual { display: flex; justify-content: center; }
.hero-phone  { position: relative; }

.hp-frame {
  width: 288px;
  background: #0F1C13;
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.07);
  padding: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
  position: relative;
  z-index: 2;
}
.hp-notch {
  width: 90px; height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin: 0 auto 14px;
}
.hp-content { background: var(--cream); border-radius: 24px; padding: 16px; }

.hp-header  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.hp-greet   { font-size: 13px; font-weight: 700; color: var(--ink); }
.hp-date    { font-size: 10px; color: var(--ink-40); margin-top: 2px; }
.hp-bell    { font-size: 16px; }

.hp-balance {
  background: var(--forest);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 12px;
}
.hp-bal-label  { font-size: 10px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.hp-bal-amount { font-size: 22px; font-weight: 800; color: white; line-height: 1; margin-bottom: 12px; }
.hp-bal-amount span { font-size: 12px; font-weight: 500; }
.hp-bal-actions { display: flex; gap: 6px; }
.hp-ba {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 7px 4px;
  font-size: 14px;
  color: white;
  cursor: pointer;
}
.hp-ba small { font-size: 8px; color: rgba(255,255,255,0.65); font-weight: 500; }
.hp-ba-amber { background: rgba(232,146,26,0.25); }

.hp-section-label { font-size: 10px; font-weight: 700; color: var(--ink-60); margin-bottom: 6px; }
.hp-tontine {
  display: flex; justify-content: space-between; align-items: center;
  background: white;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 4px;
  border: 1px solid var(--warm-border);
}
.hp-t-name { display: block; font-size: 11px; font-weight: 700; color: var(--ink); }
.hp-t-meta { font-size: 9px; color: var(--ink-40); margin-top: 1px; }
.hp-tag {
  font-size: 9px; font-weight: 700;
  padding: 3px 7px; border-radius: 100px;
  white-space: nowrap;
}
.tag-active { background: rgba(232,146,26,0.12); color: #b8860b; }
.tag-paid   { background: rgba(12,94,53,0.10);   color: var(--forest); }
.tag-wait   { background: rgba(0,0,0,0.06);       color: var(--ink-40); }

.hp-glow {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 60px;
  background: rgba(12,94,53,0.5);
  filter: blur(40px);
  border-radius: 50%;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────
   PARTNERS STRIP
   ───────────────────────────────────────────────────────── */
.partners-strip {
  background: var(--warm-50);
  border-bottom: 1px solid var(--warm-border);
  padding: 20px 24px;
}
.ps-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.ps-label { font-size: 15px; font-weight: 600; color: var(--ink-40); white-space: nowrap; }
.ps-logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ps-logo {
  font-size: 15px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
}
.mtn-logo     { background: #FFCC00; color: #000; }
.airtel-logo  { background: #E4002B; color: #fff; }
.android-logo { background: #3DDC84; color: #000; }
.supa-logo    { background: #1C1C1C; color: #1a8a52; border: 1px solid #1a8a5233; }

/* ─────────────────────────────────────────────────────────
   FEATURES EDITORIAL
   ───────────────────────────────────────────────────────── */
.features-section { padding: clamp(64px,8vw,112px) 0 0; background: var(--white); }

.feat-row { padding: clamp(48px,6vw,80px) 0; }
.feat-row:first-of-type { padding-top: 0; }
.feat-alt { background: var(--cream); }

.feat-row-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feat-alt .feat-row-in { direction: rtl; }
.feat-alt .feat-row-in > * { direction: ltr; }

/* Decorative number */
.feat-num {
  display: block;
  font-family: var(--sans);
  font-size: 72px;
  font-weight: 800;
  color: rgba(12,94,53,0.06);
  line-height: 1;
  margin-bottom: -12px;
  letter-spacing: -2px;
}

.feat-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  font-size: 22px;
  margin-bottom: 18px;
}
.f-gold   { background: rgba(232,146,26,0.12); color: #b8860b; }
.f-blue   { background: rgba(57,73,171,0.10);  color: #0e6b3e; }
.f-purple { background: rgba(108,92,231,0.10); color: #2f5d62; }

.feat-copy h3 {
  font-family: var(--sans);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.feat-copy p {
  font-size: 18px;
  color: var(--ink-60);
  line-height: 1.75;
  margin-bottom: 20px;
}
.feat-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.feat-list li {
  font-size: 16px;
  color: var(--ink-60);
  display: flex; align-items: center; gap: 10px;
}
.feat-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--forest);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Wallet demo ── */
.wallet-demo {
  background: white;
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--warm-border);
}
.wd-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.wd-label { font-size: 11px; color: var(--ink-40); font-weight: 600; }
.wd-amount {
  font-size: 32px; font-weight: 800; color: var(--ink);
  margin-bottom: 16px; line-height: 1;
}
.wd-amount span { font-size: 15px; font-weight: 500; color: var(--ink-40); }
.wd-btns { display: flex; gap: 10px; margin-bottom: 18px; }
.wd-btn {
  flex: 1; padding: 10px;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  text-align: center; cursor: default;
}
.wd-green   { background: var(--forest); color: white; }
.wd-outline { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.wd-txns { display: flex; flex-direction: column; gap: 8px; }
.wd-tx {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: var(--r-sm);
  font-size: 13px; color: var(--ink-60);
}
.wtx-l { display: flex; align-items: center; gap: 8px; }
.wtx-ico {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.g-ico { background: rgba(12,94,53,0.10); color: var(--forest); }
.r-ico { background: rgba(220,53,69,0.08); color: #c0392b; }
.wtx-a { font-weight: 700; font-size: 13px; }
.pos { color: var(--forest); }
.neg { color: #c0392b; }

/* ── Group demo ── */
.group-demo {
  background: white;
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--warm-border);
}
.gd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.gd-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.gd-badge {
  font-size: 11px; font-weight: 700;
  background: rgba(12,94,53,0.10);
  color: var(--forest);
  padding: 4px 10px; border-radius: 100px;
}
.gd-members { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.gd-m {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--warm-border);
}
.gd-done { background: rgba(12,94,53,0.04); border-color: rgba(12,94,53,0.15); }
.gd-curr { background: rgba(232,146,26,0.06); border-color: rgba(232,146,26,0.25); }
.gd-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
  flex-shrink: 0;
}
.av-g  { background: rgba(12,94,53,0.15);   color: var(--forest); }
.av-a  { background: rgba(232,146,26,0.18);  color: #7a5a08; }
.av-gr { background: rgba(0,0,0,0.07);       color: var(--ink-60); }
.gd-info { flex: 1; }
.gd-info b { display: block; font-size: 12px; color: var(--ink); }
.gd-info small { font-size: 10px; color: var(--ink-40); }
.gd-s { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; white-space: nowrap; }
.s-done { background: rgba(12,94,53,0.10); color: var(--forest); }
.s-curr { background: rgba(232,146,26,0.12); color: #7a5a08; }
.s-wait { background: rgba(0,0,0,0.06); color: var(--ink-40); }
.gd-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  background: var(--forest);
  border-radius: var(--r-md);
  font-size: 12px; color: rgba(255,255,255,0.7);
}
.gd-total strong { color: white; font-size: 14px; }

/* ── Score demo ── */
.score-demo {
  background: white;
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--warm-border);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.sd-ring { position: relative; display: inline-block; }
.sd-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}
.sd-val  { font-size: 28px; font-weight: 800; color: var(--forest); display: block; }
.sd-denom { font-size: 12px; color: var(--ink-40); }
.sd-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.sd-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 5px; width: 140px;
}
.sdc {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--warm-50);
  border: 1.5px solid var(--warm-border);
}
.sdc.done  { background: var(--forest); border-color: var(--forest); }
.sdc.today { background: var(--amber);  border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,146,26,0.2); }
.sd-sub { font-size: 11px; color: var(--ink-40); }

/* ─────────────────────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────────────────────── */
.hiw-section {
  background: linear-gradient(160deg, var(--forest-deep) 0%, #062A17 50%, var(--forest-dark) 100%);
  padding: clamp(64px,8vw,112px) 0;
  position: relative;
}
.hiw-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.hiw-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hiw-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 20px;
}
.hiw-num {
  font-size: 48px; font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hiw-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.hiw-icon-amber {
  background: rgba(232,146,26,0.18) !important;
  border-color: rgba(232,146,26,0.35) !important;
  color: var(--amber) !important;
}
.hiw-step h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 8px; line-height: 1.3; }
.hiw-step p  { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.hiw-conn {
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; margin-top: 60px;
}

/* ─────────────────────────────────────────────────────────
   TONTINES SPOTLIGHT
   ───────────────────────────────────────────────────────── */
.spotlight-section { background: var(--cream); padding: clamp(64px,8vw,112px) 0; border-top: 1px solid var(--warm-border); }

.spot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.spot-text h2 {
  font-family: var(--sans);
  font-size: clamp(26px,3.5vw,38px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}
.spot-desc { font-size: 18px; color: var(--ink-60); line-height: 1.8; margin-bottom: 32px; }
.spot-points { display: flex; flex-direction: column; gap: 22px; }
.spot-pt { display: flex; gap: 14px; align-items: flex-start; }
.spt-icon {
  width: 40px; height: 40px;
  background: rgba(12,94,53,0.09);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
  flex-shrink: 0;
}
.spot-pt strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.spot-pt p { font-size: 16px; color: var(--ink-60); line-height: 1.6; margin: 0; }

/* Tontine demo card */
.tontine-demo {
  background: white;
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--warm-border);
}
.td-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.td-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.td-meta { font-size: 11px; color: var(--ink-40); margin-top: 3px; }
.td-badge {
  background: rgba(12,94,53,0.10); color: var(--forest);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}
.td-progress { margin-bottom: 14px; }
.td-prog-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-40); font-weight: 600; margin-bottom: 5px; }
.td-prog-bar { height: 5px; background: var(--warm-50); border-radius: 100px; overflow: hidden; }
.td-prog-fill { height: 100%; background: linear-gradient(90deg, var(--forest), var(--amber)); border-radius: 100px; }
.td-members { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.tdm {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--warm-border);
}
.tdm-done { background: rgba(12,94,53,0.04); border-color: rgba(12,94,53,0.15); }
.tdm-curr { background: rgba(232,146,26,0.06); border-color: rgba(232,146,26,0.22); }
.tdm-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800;
  flex-shrink: 0;
}
.tdm-g  { background: rgba(12,94,53,0.14); color: var(--forest); }
.tdm-a  { background: rgba(232,146,26,0.16); color: #7a5a08; }
.tdm-gr { background: rgba(0,0,0,0.07); color: var(--ink-60); }
.tdm-i { flex: 1; }
.tdm-i b { display: block; font-size: 11px; color: var(--ink); }
.tdm-i small { font-size: 9px; color: var(--ink-40); }
.tdm-tag { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 100px; white-space: nowrap; }
.td-d { background: rgba(12,94,53,0.10); color: var(--forest); }
.td-c { background: rgba(232,146,26,0.12); color: #7a5a08; }
.td-w { background: rgba(0,0,0,0.06); color: var(--ink-40); }
.td-footer { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--warm-border); }
.td-fstat { display: flex; flex-direction: column; gap: 2px; }
.td-fstat span { font-size: 10px; color: var(--ink-40); }
.td-fstat strong { font-size: 13px; color: var(--ink); }

/* ─────────────────────────────────────────────────────────
   SECURITY
   ───────────────────────────────────────────────────────── */
.security-section { background: var(--white); padding: clamp(64px,8vw,112px) 0; border-top: 1px solid var(--warm-border); }

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

/* Security PIN card */
.sec-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--warm-border);
  max-width: 320px;
  margin: 0 auto;
}
.sc-ico {
  display: flex; justify-content: center; align-items: center;
  color: var(--forest);
  margin-bottom: 16px;
}
.sec-card h4 { font-size: 21px; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 6px; }
.sc-sub { font-size: 13px; color: var(--ink-40); text-align: center; margin-bottom: 24px; }
.sc-pins { display: flex; gap: 10px; justify-content: center; margin-bottom: 22px; }
.sc-pin {
  width: 54px; height: 60px;
  border-radius: 12px;
  border: 1.5px solid var(--warm-border);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.sc-pin.filled {
  border-color: var(--forest);
  border-width: 2px;
}
.sc-pin.filled::after {
  content: '';
  width: 10px; height: 10px;
  background: var(--forest);
  border-radius: 50%;
}
.sc-pin.active {
  border-color: var(--forest);
  border-width: 2px;
  animation: blink 1.1s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { border-color: var(--forest); }
  50%      { border-color: rgba(12,94,53,0.25); }
}
.sc-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sc-chip {
  font-size: 11px; font-weight: 600;
  background: var(--cream); color: var(--ink-60);
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--warm-border);
}
.sec-floats { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; max-width: 320px; margin-left: auto; margin-right: auto; }
.sec-float {
  font-size: 12px; font-weight: 600; color: var(--ink-60);
  background: var(--cream);
  border: 1px solid var(--warm-border);
  border-radius: 100px;
  padding: 7px 14px;
  text-align: center;
}

.sec-text h2 {
  font-size: clamp(26px,3.5vw,38px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 14px;
}
.sec-text > p { font-size: 18px; color: var(--ink-60); line-height: 1.75; margin-bottom: 32px; }
.sec-items { display: flex; flex-direction: column; gap: 20px; }
.sec-item { display: flex; gap: 14px; align-items: flex-start; }
.si-n {
  width: 28px; height: 28px;
  background: var(--forest);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.sec-item strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.sec-item p { font-size: 16px; color: var(--ink-60); line-height: 1.6; margin: 0; }

/* ─────────────────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────────────────── */
.testi-section { background: var(--cream); padding: clamp(64px,8vw,112px) 0; border-top: 1px solid var(--warm-border); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.testi-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--warm-border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column; gap: 16px;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.testi-feat {
  background: var(--forest);
  border-color: transparent;
}
.tq {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.8;
  color: rgba(12,94,53,0.12);
  margin-bottom: -4px;
}
.testi-feat .tq { color: rgba(255,255,255,0.2); }
.testi-card p {
  font-size: 17px; color: var(--ink-60);
  line-height: 1.75; font-style: normal;
  flex: 1;
}
.testi-feat p { color: rgba(255,255,255,0.75); }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 16px; color: var(--ink); }
.testi-feat .testi-author strong { color: white; }
.testi-author span { font-size: 14px; color: var(--ink-40); }
.testi-feat .testi-author span { color: rgba(255,255,255,0.5); }

/* ─────────────────────────────────────────────────────────
   DOWNLOAD
   ───────────────────────────────────────────────────────── */
.download-section {
  background: linear-gradient(150deg, var(--forest-dark) 0%, #06361E 50%, var(--forest-deep) 100%);
  padding: clamp(64px,8vw,112px) 0;
  position: relative;
}
.download-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.dl-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: center;
}
.dl-text h2 {
  font-size: clamp(28px,4vw,46px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}
.dl-text > p { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 32px; }

.prereg-heading { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 10px; }
.prereg-form {
  display: flex; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 5px 5px 5px 18px;
  margin-bottom: 8px;
}
.prereg-input {
  flex: 1; background: none; border: none; outline: none;
  color: white; font-family: var(--sans); font-size: 17px;
  min-width: 0;
}
.prereg-input::placeholder { color: rgba(255,255,255,0.35); }
.prereg-btn {
  background: var(--amber); color: white;
  border: none; padding: 10px 20px;
  border-radius: 100px;
  font-family: var(--sans); font-size: 16px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: opacity 0.2s;
}
.prereg-btn:hover:not(:disabled) { opacity: 0.88; }
.prereg-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.prereg-error   { font-size: 15px; color: #e2a79b; margin-top: 6px; }
.prereg-success { font-size: 17px; color: #86efac; font-weight: 600; margin-bottom: 12px; }

.dl-store-btns { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.dl-store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: white; color: var(--ink);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dl-store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.dlsb-sub  { display: block; font-size: 12px; color: var(--ink-40); font-weight: 500; }
.dlsb-main { display: block; font-size: 16px; }
.dl-note { font-size: 14px; color: rgba(255,255,255,0.3); margin-top: 12px; }

/* Download phone visual */
.dl-phone {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.dlp-inner { padding: 24px; }
.dlp-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: white;
  margin-bottom: 28px;
}
.dlp-body { text-align: center; padding: 20px 0; }
.dlp-emoji { font-size: 48px; margin-bottom: 12px; }
.dlp-congrats { font-size: 18px; font-weight: 800; color: white; margin-bottom: 6px; }
.dlp-sub { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.dlp-amount { font-size: 36px; font-weight: 800; color: var(--amber); line-height: 1; margin-bottom: 28px; }
.dlp-amount span { font-size: 16px; font-weight: 500; color: rgba(232,146,26,0.7); }
.dlp-cta {
  background: var(--amber); color: white;
  padding: 12px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
  text-align: center; cursor: default;
}

/* ─────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────── */
.faq-section { background: var(--cream); padding: clamp(64px,8vw,112px) 0; border-top: 1px solid var(--warm-border); }

.faq-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: start;
}
.faq-text h2 {
  font-size: clamp(28px,3.5vw,38px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 14px;
}
.faq-text > p { font-size: 17px; color: var(--ink-60); line-height: 1.7; margin-bottom: 20px; }
.faq-link {
  font-size: 16px; font-weight: 700;
  color: var(--forest);
  text-decoration: none;
  transition: opacity 0.2s;
}
.faq-link:hover { opacity: 0.75; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: white;
  border-radius: var(--r-md);
  border: 1px solid var(--warm-border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--sh-sm); border-color: rgba(12,94,53,0.25); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 18px; font-weight: 600;
  color: var(--ink);
  text-align: left; gap: 16px;
}
.faq-tog { font-size: 22px; color: var(--forest); transition: transform 0.3s; flex-shrink: 0; font-weight: 300; }
.faq-item.open .faq-tog { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 20px 18px; font-size: 17px; color: var(--ink-60); line-height: 1.8; }

/* ─────────────────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────────────────── */
.contact-section { background: var(--white); padding: clamp(64px,8vw,112px) 0; border-top: 1px solid var(--warm-border); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-text h2 {
  font-size: clamp(26px,3.5vw,38px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 14px;
}
.contact-text > p { font-size: 18px; color: var(--ink-60); line-height: 1.75; margin-bottom: 28px; }
.contact-opts { display: flex; flex-direction: column; gap: 12px; }
.copt {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  text-decoration: none;
  border: 1px solid var(--warm-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.copt:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.wa-copt { border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.04); }
.em-copt { border-color: rgba(12,94,53,0.2);  background: rgba(12,94,53,0.03); }
.copt-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--cream);
  flex-shrink: 0;
}
.wa-copt .copt-ico { background: #25D366; color: white; }
.em-copt .copt-ico { background: var(--forest); color: white; }
.copt strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.copt span   { font-size: 12px; color: var(--ink-40); }

.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  border: 1px solid var(--warm-border);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0.2px; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--warm-border);
  border-radius: var(--r-sm);
  font-family: var(--sans); font-size: 17px; color: var(--ink);
  background: white; outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--forest); }
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
}
.btn-submit {
  background: var(--forest); color: white;
  border: none; padding: 13px;
  border-radius: 100px;
  font-family: var(--sans); font-size: 17px; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s, transform 0.2s;
}
.btn-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-submit.sent { background: #16a34a; }

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.5);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer-logo-link { display: inline-flex; align-items: center; margin-bottom: 14px; }
.footer-logo-img { height: 36px; width: auto; display: block; }
.footer-brand p { font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.fsoc {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  text-decoration: none; font-size: 16px; font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.fsoc:hover { background: var(--forest); color: white; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fcol h4 {
  font-size: 14px; font-weight: 700;
  color: white;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fcol a {
  text-decoration: none;
  font-size: 16px; color: rgba(255,255,255,0.42);
  transition: color 0.2s;
}
.fcol a:hover { color: var(--amber); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.footer-bottom p { font-size: 15px; }
.footer-tagline { color: rgba(255,255,255,0.25); }

/* ─────────────────────────────────────────────────────────
   SCROLL REVEAL
   ───────────────────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner          { grid-template-columns: 1fr; text-align: center; padding-bottom: 60px; }
  .hero-visual         { justify-content: center; }
  .hero-desc           { margin-left: auto; margin-right: auto; }
  .hero-actions        { justify-content: center; }
  .hero-stats          { justify-content: center; }
  .feat-row-in         { grid-template-columns: 1fr; gap: 40px; }
  .feat-alt .feat-row-in { direction: ltr; }
  .feat-visual         { max-width: 440px; margin: 0 auto; }
  .spot-grid           { grid-template-columns: 1fr; gap: 40px; }
  .security-grid       { grid-template-columns: 1fr; gap: 48px; }
  .sec-visual          { order: -1; }
  .testi-grid          { grid-template-columns: repeat(2, 1fr); }
  .dl-grid             { grid-template-columns: 1fr; gap: 48px; }
  .dl-visual           { max-width: 360px; margin: 0 auto; }
  .faq-grid            { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid        { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid         { grid-template-columns: 1fr; gap: 40px; }
  .footer-links        { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger            { display: flex; }
  .nav-mobile.open      { display: flex; }
  .hero                 { padding-top: 96px; }
  .hiw-steps {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .hiw-step { max-width: 300px; padding: 0 16px; }
  .hiw-conn { transform: rotate(90deg); margin: 12px 0; }
  .testi-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .feat-num         { font-size: 52px; }
  .prereq-form      { flex-direction: column; border-radius: var(--r-md); padding: 12px 14px; }
  .prereg-btn       { border-radius: var(--r-md); }
  .footer-links     { grid-template-columns: 1fr; }
  .hp-frame         { width: 260px; }
  .hero-phone       { transform: scale(0.92); }
}


/* ── Aide à l'installation de la PWA ── */
.pwa-help { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 24, 16, 0.6); }
.pwa-help[hidden] { display: none; }
.pwa-help-box { background: #fff; border-radius: 18px; padding: 28px 26px; max-width: 420px; width: 100%; box-shadow: var(--sh-lg); }
.pwa-help-box h3 { font-size: 22px; margin-bottom: 14px; color: var(--ink); }
.pwa-help-box p { font-size: 16px; line-height: 1.55; color: var(--ink-60); margin-bottom: 10px; }
.pwa-help-box .pwa-help-soon { color: var(--ink); font-weight: 600; margin-top: 14px; }
.pwa-help-box .prereg-btn { width: 100%; margin-top: 10px; }
