/* ═══════════════════════════════════════════════════════════════
   Wura — send.wura-pay.com
   DA « subscrr » v4 (identique à la landing wura-pay.com / home.css) :
   fond porcelaine lavande clair, violet primaire + or accent, Inter Tight.
   Light-only (comme la landing). Tokens repris de home.css.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #f3f1f6; /* porcelaine lavande = fond de l'app Wura */
  --bg-2: #ffffff; /* surfaces / cards */
  --bg-3: #faf9fc;
  --text: #2a2740; /* encre */
  --muted: rgba(42, 39, 64, 0.62);
  --faint: rgba(42, 39, 64, 0.42);
  --line: rgba(42, 39, 64, 0.08);
  --line-2: rgba(42, 39, 64, 0.14);

  --violet: #6a5ac7;
  --violet-light: #8b7fd0;
  --violet-deep: #544aa8;
  --violet-glow: rgba(106, 90, 199, 0.38);
  --violet-tint: rgba(106, 90, 199, 0.1);

  --gold: #e3b341;
  --gold-ink: #b8891f; /* or lisible sur fond clair (texte) */
  --gold-tint: rgba(227, 179, 65, 0.16);

  --font-display: 'Inter Tight', Inter, -apple-system, system-ui, 'Segoe UI', sans-serif;
  --font-body: Inter, -apple-system, system-ui, 'Segoe UI', sans-serif;

  --container: 1320px;
  --pad-x: clamp(20px, 5vw, 56px);
  --sec-y: clamp(96px, 13vh, 170px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.2);
  --dur: 0.4s;
  --dur-slow: 0.7s;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --r-pill: 100px;

  --shadow-card: 0 1px 2px rgba(42, 39, 64, 0.04), 0 12px 32px -14px rgba(42, 39, 64, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(42, 39, 64, 0.28);
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.lenis {
  scroll-behavior: auto;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--violet);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ─── Noise + cursor glow ─── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  mix-blend-mode: multiply;
}
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--violet-tint) 0%, transparent 62%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  will-change: transform;
}

/* ─── Typo ─── */
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text);
  text-wrap: balance;
}
h2 {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.99;
}
h3 {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
p {
  text-wrap: pretty;
}
.text-gradient {
  color: var(--violet);
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 20px;
}

/* ─── Boutons ─── */
.btn-primary,
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn-primary svg,
.btn-glass svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--violet-glow);
}
.btn-primary:hover {
  background: var(--violet-deep);
  box-shadow: 0 14px 34px -10px var(--violet-glow);
  transform: translateY(-1px);
}
.btn-glass {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 2px rgba(42, 39, 64, 0.04);
}
.btn-glass:hover {
  border-color: rgba(42, 39, 64, 0.26);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-anim 0.6s var(--ease);
  pointer-events: none;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ─── Header (pill fixe) ─── */
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 28px), 1220px);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px -18px rgba(42, 39, 64, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--violet);
  color: var(--gold);
  box-shadow: 0 6px 16px -6px var(--violet-glow);
}
.brand-mark svg {
  width: 18px;
  height: 18px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.nav a:hover {
  color: var(--text);
  background: var(--violet-tint);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--line);
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--faint);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color 0.3s, background 0.3s;
}
.lang-btn[aria-pressed='true'] {
  background: var(--violet);
  color: #fff;
}

/* ─── Sections ─── */
.section {
  padding-block: var(--sec-y);
  position: relative;
}
.section-alt {
  background: var(--bg-2);
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 68px);
  text-align: center;
}
.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(52% 46% at 50% 38%, var(--violet-glow), rgba(106, 90, 199, 0.08) 42%, transparent 70%);
  filter: blur(20px);
  opacity: 0.5;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: var(--violet-tint);
  border: 1px solid rgba(106, 90, 199, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: var(--violet-deep);
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--violet-glow);
  }
  50% {
    box-shadow: 0 0 0 7px transparent;
  }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 26px 0 0;
  max-width: 16ch;
}
.hero-title .word {
  display: block;
}
.hero-sub {
  margin-top: 24px;
  max-width: 56ch;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--muted);
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-trust {
  margin-top: 44px;
  list-style: none;
  display: flex;
  gap: clamp(18px, 4vw, 44px);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--violet);
  flex-shrink: 0;
}
.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid var(--line-2);
  border-radius: var(--r-pill);
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-indicator span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--violet);
  animation: float 2.2s var(--ease) infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.3;
  }
}

/* ─── Cards (steps + advantages) ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card,
.adv-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.section-alt .step-card,
.section-alt .adv-card {
  background: var(--bg);
}
.step-card:hover,
.adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(106, 90, 199, 0.3);
  box-shadow: var(--shadow-lg);
}
.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--violet);
  opacity: 0.08;
}
.step-icon,
.adv-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--violet);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px -10px var(--violet-glow);
  transition: transform var(--dur) var(--ease-spring);
}
.step-icon svg,
.adv-icon svg {
  width: 24px;
  height: 24px;
}
.step-card:hover .step-icon,
.adv-card:hover .adv-icon {
  transform: scale(1.05) rotate(-6deg);
}
.step-card h3,
.adv-card h3 {
  margin-bottom: 10px;
}
.step-card p,
.adv-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ─── Converter ─── */
.converter-wrap {
  max-width: 800px;
}
.converter {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}
.section-alt .converter {
  background: var(--bg);
}
.converter-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 18px;
}
.converter-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}
.converter-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--line-2);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.converter-input-wrap:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-tint);
}
.converter-output {
  background: var(--violet-tint);
  border-color: rgba(106, 90, 199, 0.28);
}
.converter-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.converter-input:focus {
  outline: none;
}
.converter-output .converter-input {
  color: var(--violet-deep);
}
.converter-cur {
  font-size: 13px;
  font-weight: 700;
  color: var(--faint);
  flex-shrink: 0;
}
.converter-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--violet-tint);
  border: 1px solid rgba(106, 90, 199, 0.22);
  color: var(--violet);
  margin-bottom: 6px;
}
.converter-arrow svg {
  width: 20px;
  height: 20px;
}
.converter-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--faint);
}
.converter-note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.converter-cta {
  width: 100%;
  margin-top: 22px;
}

/* ─── Coverage ─── */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.coverage-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
}
.section-alt .coverage-card {
  background: var(--bg);
}
.coverage-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.coverage-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--violet);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 24px -10px var(--violet-glow);
}
.coverage-icon svg {
  width: 23px;
  height: 23px;
}
.coverage-sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.section-alt .chip {
  background: var(--bg-2);
}
.chip:hover {
  border-color: rgba(106, 90, 199, 0.35);
  background: var(--violet-tint);
  transform: translateY(-2px);
}
.chip .flag {
  font-size: 16px;
  line-height: 1;
}
.chip .cur {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-ink);
}
.coverage-more {
  margin-top: 20px;
  font-size: 13px;
  color: var(--faint);
}

/* ─── Advantages ─── */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.adv-card {
  padding: 32px 26px;
}
.adv-icon {
  width: 48px;
  height: 48px;
}

/* ─── Trust ─── */
.trust-wrap {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}
.partners {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display);
}
.partner svg {
  width: 20px;
  height: 20px;
  color: var(--violet);
}
.partner small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--faint);
}

/* ─── FAQ ─── */
.faq-wrap {
  max-width: 840px;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.section-alt .faq-item {
  background: var(--bg);
}
.faq-item[open] {
  border-color: rgba(106, 90, 199, 0.35);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  color: var(--text);
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q .chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--violet);
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] .faq-q .chevron {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
}

/* ─── Final CTA ─── */
.final-cta-inner {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  background: linear-gradient(180deg, var(--violet-tint), var(--bg-2) 55%);
  border: 1px solid rgba(106, 90, 199, 0.2);
  border-radius: var(--r-2xl);
  padding: clamp(44px, 7vw, 84px) clamp(24px, 5vw, 60px);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.final-cta-inner p {
  margin: 16px auto 30px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  max-width: 46ch;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 30px;
  background: var(--bg-2);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-tag {
  margin-top: 14px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--muted);
  font-size: 15px;
  transition: color var(--dur) var(--ease);
}
.footer-links a:hover {
  color: var(--violet);
}
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
}
.footer-disclaimer {
  max-width: 64ch;
  font-size: 12px;
  color: var(--faint);
}
.footer-rights {
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}
.js .reveal {
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease-spring);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .coverage {
    grid-template-columns: 1fr;
  }
  .converter-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .converter-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .header-cta span {
    display: none;
  }
  .header-cta {
    padding: 11px 13px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}
@media (max-width: 480px) {
  .advantages {
    grid-template-columns: 1fr;
  }
  .hero-trust {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .cursor-glow {
    display: none;
  }
}
