/* nacard — site vitrine. DA verrouillée : fond blanc, bandes noires, émeraude #00B890. */

:root {
  --emerald: #00B890;
  --emerald-light: #1FE0B5;
  --emerald-dark: #008F70;
  --emerald-bg: #E6F8F3;
  --night: #060807;
  --night-soft: #0E1311;
  --ink: #15171A;
  --ink-2: #4A5350;
  --ink-3: #8A938F;
  --paper: #FFFFFF;
  --grey-bg: #F4F6F5;
  --border: rgba(20, 30, 26, 0.10);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px rgba(6, 8, 7, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 8, 7, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--emerald-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.3px; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.logo:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .btn { margin-left: 4px; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 14px;
  font-size: 15.5px; font-weight: 700; letter-spacing: 0.1px;
  border: none; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-decoration: none !important;
}
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 8px 22px rgba(0, 184, 144, 0.35); }
.btn-primary:hover { background: var(--emerald-dark); transform: translateY(-1px); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: #1A1F1D; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 17px; border-radius: 16px; }
.btn-on-dark { background: var(--emerald); color: #fff; }
.btn-on-dark:hover { background: var(--emerald-light); color: var(--night); }

/* ===== Hero (bande noire) ===== */
.hero {
  background: var(--night);
  color: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 72px 0 86px;
  overflow: hidden;
}
.hero .inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--emerald-light); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--emerald-light); border-radius: 2px; }
.hero h1 { font-size: 46px; line-height: 1.12; letter-spacing: -1.2px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--emerald-light); }
.hero .sub { margin-top: 20px; font-size: 18.5px; color: rgba(255, 255, 255, 0.72); max-width: 50ch; }
.hero .ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, 0.45); }

/* ===== Mockup téléphone + carte wallet (pur CSS) ===== */
.phone {
  width: 300px; margin: 0 auto; padding: 14px 12px 22px;
  background: #111615; border-radius: 42px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.07);
}
.phone .notch { width: 110px; height: 24px; background: #060807; border-radius: 14px; margin: 0 auto 14px; }
.wallet-card {
  border-radius: 14px; overflow: hidden;
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.wallet-card .wc-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
.wallet-card .wc-id { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; }
.wallet-card .wc-logo {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; letter-spacing: 0.4px;
}
.wallet-card .wc-field { text-align: right; }
.wallet-card .wc-label { font-size: 8.5px; letter-spacing: 1px; opacity: 0.7; font-weight: 700; }
.wallet-card .wc-value { font-size: 17px; font-weight: 700; line-height: 1.1; }
.wallet-card .wc-strip {
  height: 96px; position: relative;
  background: linear-gradient(135deg, var(--emerald-dark) 0%, #064C3D 60%, #04332A 100%);
  display: flex; align-items: flex-end; padding: 12px 14px;
}
.wallet-card .wc-strip .wc-title { font-size: 19px; font-weight: 800; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.wallet-card .wc-secondary { padding: 12px 14px 6px; }
.wallet-card .wc-body { padding: 8px 14px 16px; }
.wallet-card .wc-barcode {
  background: #fff; border-radius: 9px; padding: 10px 12px 7px; text-align: center;
}
.wallet-card .wc-bars {
  height: 42px;
  background: repeating-linear-gradient(90deg, #111 0 2px, #fff 2px 4px, #111 4px 5px, #fff 5px 9px, #111 9px 12px, #fff 12px 14px);
  border-radius: 2px;
}
.wallet-card .wc-num { font-size: 9.5px; color: #555; letter-spacing: 2px; margin-top: 5px; font-family: ui-monospace, Menlo, monospace; }

/* ===== Sections ===== */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: 33px; letter-spacing: -0.8px; line-height: 1.18; font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--emerald-dark); margin-bottom: 12px; }

/* Stats */
.stats { background: var(--grey-bg); border-radius: var(--radius-lg); padding: 36px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; color: var(--emerald-dark); }
.stat .lbl { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); max-width: 24ch; margin-left: auto; margin-right: auto; }
.stats-foot { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 14px; }

/* Cards / grilles */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.step-num {
  width: 38px; height: 38px; border-radius: 12px; background: var(--emerald-bg); color: var(--emerald-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; margin-bottom: 16px;
}
.icon-dot {
  width: 42px; height: 42px; border-radius: 13px; background: var(--night); color: var(--emerald-light);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px;
}

/* Comparatif */
.compare { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th { text-align: left; padding: 18px 22px; font-size: 14px; letter-spacing: 0.4px; }
.compare thead tr { background: var(--night); color: #fff; }
.compare thead th:last-child { color: var(--emerald-light); }
.compare td { padding: 15px 22px; border-top: 1px solid var(--border); color: var(--ink-2); }
.compare td:first-child { color: var(--ink); font-weight: 600; width: 34%; }
.compare .no { color: #C0473A; }
.compare .yes { color: var(--emerald-dark); font-weight: 700; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--emerald); }
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--emerald); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.8px;
  padding: 5px 13px; border-radius: 999px; white-space: nowrap;
}
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -1.5px; margin-top: 10px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan .tagline { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; min-height: 42px; }
.plan ul { list-style: none; margin: 18px 0 22px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.8px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--emerald-dark); font-weight: 800; flex-shrink: 0; }
.plan .btn { width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--emerald-dark); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

/* Bande CTA finale */
.band-cta {
  background: var(--night); border-radius: var(--radius-lg);
  padding: 58px 40px; text-align: center; color: #fff;
}
.band-cta h2 { color: #fff; }
.band-cta p { margin-top: 12px; color: rgba(255,255,255,0.65); font-size: 17px; }
.band-cta .ctas { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Formulaires */
.form-card { max-width: 560px; }
.form-card label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 7px; }
.form-card input, .form-card textarea {
  width: 100%; padding: 14px 16px; font-size: 16px; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--paper); color: var(--ink);
  transition: border-color 0.12s ease;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--emerald); }
.form-card .btn { margin-top: 24px; width: 100%; }
.form-msg { margin-top: 14px; font-size: 15px; display: none; }
.form-msg.ok { color: var(--emerald-dark); font-weight: 700; }
.form-msg.err { color: #C0473A; }

/* QR */
.qr-frame {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px; display: inline-block;
}
.qr-frame svg, .qr-frame img { width: 240px; height: 240px; }

/* Footer */
.site-footer { background: var(--night); color: rgba(255,255,255,0.6); margin-top: 76px; padding: 48px 0 36px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer .brand { color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 9px; }
.site-footer .brand img { width: 26px; height: 26px; border-radius: 7px; }
.site-footer p, .site-footer a { font-size: 14px; color: rgba(255,255,255,0.55); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .col h4 { color: #fff; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer .col a { display: block; margin-bottom: 9px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 36px; padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,0.35); }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero .inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 34px; }
  .hero { padding: 48px 0 60px; }
  .grid-3, .plans, .stats { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  section { padding: 54px 0; }
  h2 { font-size: 27px; }
  .phone { width: 270px; }
}
