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

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:         #0a0e1a;
  --bg2:        #0d1126;
  --surface:    #111827;
  --surface2:   #161e2e;
  --border:     rgba(59,130,246,0.10);
  --border2:    rgba(255,255,255,0.06);
  --text:       #f1f5f9;
  --muted:      #64748b;
  --blue:       #3b82f6;
  --violet:     #8b5cf6;
  --green:      #3b82f6; /* alias pour compatibilité */
  --blue-dim:   rgba(59,130,246,0.12);
  --blue-glow:  rgba(59,130,246,0.28);
  --grad:       linear-gradient(135deg, #3b82f6, #8b5cf6);

  --bronze:  #CD7F32;
  --argent:  #A8B8C0;
  --or:      #F5C842;
  --platine: #4DD8E0;
  --diamant: #A855F7;
  --radiant: #FFFFFF;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 130% 65% at 50% -5%, #111c3a 0%, #0a0e1a 50%, #0a0e1a 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(10,14,26,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(59,130,246,0.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  text-shadow: 0 0 20px rgba(59,130,246,.4);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 85vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(59,130,246,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 40%, rgba(139,92,246,0.06) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

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

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  display: inline;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover {
  box-shadow: 0 4px 32px rgba(59,130,246,0.45);
  transform: translateY(-2px);
}

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.orb-1 {
  width: 280px; height: 280px;
  background: rgba(59,130,246,0.18);
  top: -60px; right: -40px;
}
.orb-2 {
  width: 200px; height: 200px;
  background: rgba(139,92,246,0.15);
  bottom: -40px; left: 0;
}

.mockup-wrap {
  position: relative;
  z-index: 1;
  animation: floatPhone 4s ease-in-out infinite;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.mockup-phone {
  width: 240px;
  background: linear-gradient(160deg, #111827 0%, #0d1126 100%);
  border: 1px solid rgba(59,130,246,0.20);
  border-radius: 28px;
  padding: 20px 18px;
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.12),
    0 24px 60px rgba(0,0,0,0.6),
    0 0 60px rgba(59,130,246,0.08);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mockup-logo {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.mockup-badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--blue);
}

.mockup-rank-section { text-align: center; margin-bottom: 16px; }
.mockup-rank-name { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--text); }
.mockup-rank-sub  { font-size: 0.7rem; color: var(--blue); font-weight: 600; margin-top: 2px; }

.rankup-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.10);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 14px;
}
.rankup-toast-icon { flex-shrink: 0; }
.rankup-toast-text { font-size: 0.62rem; line-height: 1.4; color: var(--text); }
.rankup-toast-text strong { font-size: 0.65rem; }

.mockup-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.mockup-bar-row { display: flex; align-items: center; gap: 8px; }
.mockup-bar-label { font-size: 0.6rem; font-weight: 600; color: var(--muted); width: 44px; flex-shrink: 0; }
.mockup-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.mockup-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
}
.b1 { width: 76%; }
.b2 { width: 64%; }
.b3 { width: 88%; }

.mockup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mockup-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}
.mockup-stat-val   { font-size: 0.82rem; font-weight: 800; color: var(--text); }
.mockup-stat-label { font-size: 0.55rem; color: var(--muted); margin-top: 2px; }

/* ── RANKS STRIP ──────────────────────────────────────────── */
.ranks-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ranks-strip-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.ranks-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rank-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 72px;
}

.rank-name {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rank-name.bronze   { color: var(--bronze); }
.rank-name.argent   { color: var(--argent); }
.rank-name.or       { color: var(--or); }
.rank-name.platine  { color: var(--platine); }
.rank-name.diamant  { color: var(--diamant); }
.rank-name.ascendant{ color: #60a5fa; }
.rank-name.immortel { color: #f43f5e; }
.rank-name.radiant  { color: #fff; }

.ranks-strip-cta {
  text-align: center;
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
}
.ranks-strip-cta a:hover { text-decoration: underline; }

/* ── REVIEWS ──────────────────────────────────────────────── */
.reviews-section { padding: 72px 0; }

.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  transition: border-color 0.2s;
}
.review-card:hover { border-color: rgba(59,130,246,0.25); }

.review-stars { display: flex; gap: 3px; margin-bottom: 10px; }
.review-content {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 14px;
}
.review-author {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item { border-color: rgba(59,130,246,0.09) !important; }
.faq-item.open { border-color: rgba(59,130,246,0.25) !important; background: rgba(59,130,246,0.025) !important; }
.faq-chevron { color: var(--blue) !important; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 20px;
}
.footer-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-subtitle { max-width: 100%; }
  .hero-cta-group { justify-content: center; }
  .hero-visual { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
