:root {
  --bg: #faf8f5;
  --text: #16151a;
  --muted: #6b6870;
  --accent: #4f46e5;
  --accent-soft: #eceafd;
  --card: #ffffff;
  --border: #e8e5e0;
  --radius: 14px;
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 80% 20%, #e9e6ff 0%, transparent 45%);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.15rem;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  color: var(--muted);
}

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

/* Boutons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-ghost {
  color: var(--text);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 24px 0 20px;
}

h1 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
}

.cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.trust {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Visuel */
.hero-visual {
  position: relative;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(22, 21, 26, 0.18);
}

.card-main {
  padding: 24px;
  transform: rotate(-2deg);
}

.card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}

.card-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  margin-top: 28px;
}

.bars div {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--accent-soft);
}

.bars div:last-child {
  background: var(--accent);
}

.card-float {
  position: absolute;
  bottom: -28px;
  left: -36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  transform: rotate(2deg);
}

.check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-weight: 600;
}

.float-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.float-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .nav {
    padding: 20px 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 40px 16px 80px;
  }

  .card-float {
    left: 8px;
  }
}
