:root {
  --bg:           #0F0915;
  --surface:      #1A1325;
  --surface-2:    #211833;
  --surface-alt:  #2D1B69;
  --primary:      #8B5CF6;
  --primary-light:#A78BFA;
  --accent:       #4C1D95;
  --outline:      #5B4B9A;
  --coral:        #FF8A6B;
  --coral-light:  #FFB39B;
  --text:         #F5F3FF;
  --text-muted:   rgba(245,243,255,0.62);
  --text-faint:   rgba(245,243,255,0.32);
  --success:      #66BB6A;
  --warning:      #FFB74D;
  --critical:     #EF5350;
  --badge:        #D8B4FE;
  --font-head:    'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-card:  0 1px 2px rgba(0,0,0,0.4), 0 12px 28px rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.62;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}

/* Film grain — casse l'aplat « généré » du fond */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; }

.accent { color: var(--coral); }

a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Accessibilité — focus clavier visible */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Respecte le réglage système « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,9,21,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,75,154,0.3);
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color .2s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--primary);
  color: var(--text) !important;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--primary-light); }

/* ── NAV SECONDAIRE (pages support / légales) ── */
/* Marque à gauche, liens vraiment centrés, 3e colonne vide pour l'équilibre */
.nav-sub {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.nav-sub .nav-brand { justify-self: start; }
.nav-sub .nav-links { justify-self: center; }

@media (max-width: 640px) {
  /* Pas de hamburger ici : on garde les liens visibles et centrés sous la marque */
  .nav-sub {
    grid-template-columns: 1fr;
    justify-items: center;
    height: auto;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
  }
  .nav-sub .nav-brand { justify-self: center; }
  .nav-sub .nav-links {
    display: flex;
    gap: 1.3rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── ENTRANCE ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge   { animation: fadeUp .5s .05s ease both; }
.hero h1      { animation: fadeUp .6s .15s ease both; }
.hero-copy p  { animation: fadeUp .6s .25s ease both; }
.store-badges { animation: fadeUp .6s .35s ease both; }
.social-proof { animation: fadeUp .6s .45s ease both; }
.scroll-arrow { animation: fadeUp .6s .6s ease both; }
.hero-visual  { animation: fadeUp .8s .3s cubic-bezier(.2,.7,.3,1) both; }

/* ── HERO ── */
.hero-section {
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(91,75,154,0.18);
  position: relative;
}
/* halo doux derrière le hero — pas un dégradé plein écran */
.hero-section::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(139,92,246,0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.hero-copy { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.35);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.3rem;
  color: var(--text);
}

.hero-accent {
  color: var(--coral);
  font-style: italic;
}

.hero p {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 480px;
}

.store-badges {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.badge-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--text);
  padding: 0.7rem 1.3rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color .2s, transform .15s, background .2s;
  text-decoration: none;
}
.badge-btn:hover { border-color: var(--primary); background: var(--surface-2); transform: translateY(-2px); text-decoration: none; }
.badge-btn svg { flex-shrink: 0; }
.badge-btn small { display: block; font-size: 0.68rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }

.social-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.proof-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.proof-item svg { color: var(--coral); flex-shrink: 0; }

.stars { color: var(--coral); letter-spacing: 2px; font-size: 0.95rem; }

/* ── HERO VISUAL (mockup téléphone) ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  inset: -10% 0;
  background: radial-gradient(circle at 60% 40%, rgba(255,138,107,0.18) 0%, transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-phone {
  position: relative;
  width: 270px;
  background: #160d28;
  border: 3px solid #322152;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: rotate(3deg);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.hero-visual:hover .hero-phone { transform: rotate(0deg) translateY(-4px); }

.hero-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 7px;
  background: #2a1d4a;
  border-radius: 999px;
  z-index: 2;
}

.hero-phone-screen {
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  background: var(--bg);
}
.hero-phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* puces flottantes — donnent vie, montrent le collaboratif */
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(26,19,37,0.92);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  animation: float 4.5s ease-in-out infinite;
}
.hero-chip-1 { top: 14%; left: -28px; }
.hero-chip-2 { bottom: 16%; right: -22px; animation-delay: -2.2s; }
.hero-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(102,187,106,0.2); }

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3.5rem 1.5rem 3rem;
    gap: 2.5rem;
  }
  .hero-copy { max-width: 560px; margin: 0 auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .store-badges, .social-proof { justify-content: center; }
  .hero-chip-1 { left: 0; }
  .hero-chip-2 { right: 0; }
}

@media (max-width: 480px) {
  .hero-phone { width: 220px; }
  .hero-chip { font-size: 0.72rem; padding: 0.45rem 0.7rem; }
}

/* ── SCROLL ARROW ── */
.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0 1.5rem;
  color: var(--text-faint);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-arrow svg {
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50%       { transform: translateY(8px); opacity: 0.8; }
}

/* ── SCREENSHOTS ── */
.gallery-head {
  text-align: center;
  max-width: 640px;
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
}
.gallery-head .section-label { justify-content: center; }
.gallery-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
}

.screenshots {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 0 1rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
  scroll-snap-type: x mandatory;
  padding-left: max(1.5rem, calc(50vw - 560px));
  padding-right: max(1.5rem, calc(50vw - 560px));
}

/* Phone wrapper — includes frame + label */
.screenshot-item {
  flex: 0 0 200px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform .3s ease;
}

.screenshot-item:nth-child(1) { transform: rotate(-5deg) translateY(12px); }
.screenshot-item:nth-child(2) { transform: rotate(-2deg) translateY(4px); }
.screenshot-item:nth-child(3) { transform: rotate(2deg) translateY(4px); }
.screenshot-item:nth-child(4) { transform: rotate(5deg) translateY(12px); }

.screenshot-item:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); z-index: 2; }

/* Phone shell */
.screenshot-frame {
  position: relative;
  background: #1c1030;
  border: 2.5px solid #3d2c6a;
  border-radius: 38px;
  padding: 14px 10px;
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.15),
    0 24px 60px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* top notch */
.screenshot-frame::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #2a1d4a;
  border-radius: 999px;
  z-index: 2;
}

/* side button */
.screenshot-frame::after {
  content: '';
  position: absolute;
  top: 80px;
  right: -4px;
  width: 3px;
  height: 36px;
  background: #3d2c6a;
  border-radius: 0 2px 2px 0;
}

.screenshot-screen {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  width: 178px;
  background: #0F0915;
}

.screenshot-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Caption under phone */
.screenshot-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ── SECTION GENERIC ── */
section { padding: 5.5rem 1.5rem; }
section.alt { background: var(--surface); border-block: 1px solid rgba(91,75,154,0.18); }

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.section-label::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.9rem;
  color: var(--text);
  max-width: 18ch;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 3rem;
  max-width: 540px;
}

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(91,75,154,0.32);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.7rem;
  width: 3px;
  height: 0;
  background: var(--coral);
  border-radius: 0 3px 3px 0;
  transition: height .25s ease;
}
.feature-card:hover { border-color: var(--outline); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.feature-card:hover::before { height: 28px; }

.feature-icon {
  width: 46px;
  height: 46px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.18);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ── PREMIUM SECTION ── */
.premium-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--primary);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 600px) {
  .premium-card { grid-template-columns: 1fr; text-align: center; }
}

.premium-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.premium-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.premium-features li::before {
  content: '✦';
  color: var(--primary-light);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--primary-light); transform: scale(1.03); text-decoration: none; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(91,75,154,0.3);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }

.footer-copy {
  color: var(--text-faint);
  font-size: 0.8rem;
}

/* ── REVEAL (IntersectionObserver) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(5) { transition-delay: .1s; }

/* ── HOW IT WORKS ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 1rem 1.5rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,138,107,0.12);
  border: 1.5px solid var(--coral);
  color: var(--coral-light);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 220px;
  margin: 0 auto;
}

.step-connector {
  flex: 0 0 2px;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.4;
  margin-top: -60px;
}

@media (max-width: 640px) {
  .steps { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 32px; flex: 0 0 32px; margin-top: 0; background: linear-gradient(180deg, transparent, var(--primary), transparent); }
}

/* ── PRICING GRID ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 740px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(91,75,154,0.4);
  border-radius: 24px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.pricing-featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(76,29,149,0.32) 0%, var(--surface) 72%);
  box-shadow: var(--shadow-card);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.pricing-features li.yes { color: var(--text); }
.pricing-features li.no  { color: var(--text-faint); text-decoration: line-through; }

.pricing-features li.yes::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366BB6A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-features li.no::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B4B9A' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--outline);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--primary); background: rgba(139,92,246,0.08); text-decoration: none; }

/* ── STICKY CTA MOBILE ── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  transition: transform .35s cubic-bezier(.34,1.3,.64,1);
}

.sticky-cta.visible { transform: translateX(-50%) translateY(0); }

.sticky-cta .btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 32px rgba(139,92,246,0.45);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .sticky-cta { display: block; }
}

/* ── HAMBURGER MOBILE ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  /* neutralise les styles hérités du sélecteur `nav` (height 60px, space-between, center) */
  height: auto;
  align-items: stretch;
  justify-content: flex-start;
  background: rgba(15,9,21,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(91,75,154,0.3);
  padding: 1.2rem 1.5rem 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 1rem;
}

.nav-drawer.open { display: flex; }
.nav-drawer a { color: var(--text-muted); font-size: 1rem; padding: 0.3rem 0; }
.nav-drawer a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* ── POUR QUI ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.audience-card {
  background: var(--bg);
  border: 1px solid rgba(91,75,154,0.32);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.audience-card:hover { border-color: var(--outline); transform: translateY(-3px); box-shadow: var(--shadow-card); }

.audience-icon {
  width: 56px;
  height: 56px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.2rem;
}

.audience-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.audience-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ── SCROLL DOTS ── */
.scroll-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 0.3rem 0 0.8rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: background .25s, transform .25s;
}

.dot.active { background: var(--primary); transform: scale(1.4); }

@media (max-width: 640px) {
  .scroll-dots { display: flex; }
}

/* ── CTA FINAL ── */
.cta-final {
  background: linear-gradient(160deg, #1a0836 0%, var(--bg) 60%);
  border-top: 1px solid rgba(91,75,154,0.3);
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-final-inner {
  max-width: 620px;
  margin: 0 auto;
}

.cta-final-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: block;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 24px rgba(139,92,246,0.5));
}

.cta-final h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.cta-final p { color: var(--text-muted); margin-bottom: 2rem; }

.cta-final .store-badges { justify-content: center; }

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin-top: 2rem;
  color: var(--text-faint);
  font-size: 0.78rem;
}

.trust-bar span { display: flex; align-items: center; gap: 0.35rem; }
.trust-sep { opacity: 0.4; }

/* ── LEGAL PAGES ── */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 2.5rem 0 0.8rem;
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.legal-page ul {
  padding-left: 1.4rem;
  margin-bottom: 0.8rem;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
}

.legal-page th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--outline);
}

.legal-page td {
  padding: 0.65rem 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(91,75,154,0.2);
  vertical-align: top;
}

.legal-page tr:last-child td { border-bottom: none; }

.placeholder {
  background: rgba(139,92,246,0.12);
  border: 1px dashed var(--primary);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  color: var(--primary-light);
  font-size: 0.85em;
}

.data-map-anchor { scroll-margin-top: 80px; }

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
}

/* ── EN-TÊTE PAGES (support / légal) ── */
.support-intro,
.page-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}
.support-intro .section-label,
.page-intro .section-label { justify-content: center; }
.support-intro h1,
.page-intro h1 { margin-bottom: 0.6rem; }
.support-intro .updated,
.page-intro .updated { margin-bottom: 0; }

/* FAQ — accordéon dynamique */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.faq-q {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(91,75,154,0.30);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  animation: fadeUp .5s ease both;
}
.faq-q:nth-child(1) { animation-delay: .04s; }
.faq-q:nth-child(2) { animation-delay: .08s; }
.faq-q:nth-child(3) { animation-delay: .12s; }
.faq-q:nth-child(4) { animation-delay: .16s; }
.faq-q:nth-child(5) { animation-delay: .20s; }
.faq-q:nth-child(6) { animation-delay: .24s; }
.faq-q:nth-child(7) { animation-delay: .28s; }

/* barre d'accent à gauche, révélée à l'ouverture / au survol */
.faq-q::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.faq-q:hover {
  border-color: rgba(139,92,246,0.55);
  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
  transform: translateY(-2px);
}
.faq-q[open] {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(139,92,246,0.18);
}
.faq-q[open]::before,
.faq-q:hover::before { transform: scaleY(1); }

.faq-q summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  user-select: none;
  transition: color .2s ease;
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q:hover summary,
.faq-q[open] summary { color: var(--primary-light); }

/* pastille +/× animée */
.faq-q summary::after {
  content: "";
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center/11px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 11px no-repeat,
    rgba(139,92,246,0.14);
  color: var(--primary);
  transition: transform .3s cubic-bezier(.4,0,.2,1), background-color .25s ease;
}
.faq-q[open] summary::after {
  transform: rotate(135deg);
  background:
    linear-gradient(currentColor, currentColor) center/11px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 11px no-repeat,
    rgba(139,92,246,0.28);
}

/* corps : expansion fluide via grid-template-rows */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.4,0,.2,1);
}
.faq-q[open] .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0;
  transition: opacity .25s ease .05s, padding-bottom .25s ease;
}
.faq-q[open] .faq-a > p {
  opacity: 1;
  padding-bottom: 1.25rem;
}
.faq-a a { color: var(--primary-light); }

@media (prefers-reduced-motion: reduce) {
  .faq-q, .faq-q::before, .faq-q summary::after, .faq-a, .faq-a > p { transition: none; animation: none; }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 2.5rem;
}

.contact-card p { color: var(--text-muted); margin-bottom: 1.2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  /* Hero : réduire le padding (section 5rem + hero 6rem = 11rem sinon) */
  .hero {
    padding: 2.5rem 1.2rem 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Badges store en colonne sur très petit écran */
  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .badge-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Sections : moins de padding vertical */
  section { padding: 3rem 1.2rem; }

  /* Screenshots : téléphones un peu plus petits */
  .screenshot-item { flex: 0 0 160px; }
  .screenshot-screen { width: 138px; }

  /* Premium card */
  .premium-card { padding: 2rem 1.5rem; }

  /* Tables légales scrollables */
  .legal-page table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Legal page : padding réduit */
  .legal-page { padding: 2.5rem 1.2rem 4rem; }
  .legal-page h1 { font-size: 1.6rem; }
}

/* Très petits écrans : réduire encore les phones */
@media (max-width: 380px) {
  .screenshot-item { flex: 0 0 140px; }
  .screenshot-screen { width: 118px; }
  .screenshot-frame { border-radius: 28px; padding: 10px 8px; }
  .screenshot-screen { border-radius: 20px; }
}
