:root {
  --bg: #ffffff;
  --bg-alt: #f0f4f8;
  --surface: #ffffff;
  --surface-raised: #f7fafc;
  --primary: #0c4a6e;
  --primary-light: #e0f2fe;
  --primary-mid: #0369a1;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-mid: #cbd5e1;
  --success: #059669;
  --shadow: 0 4px 24px rgba(12, 74, 110, 0.08);
  --shadow-lg: 0 12px 48px rgba(12, 74, 110, 0.12);
  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary-light); color: var(--primary); }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center;
}
.nav__inner { width: 100%; max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--primary); letter-spacing: -0.03em; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 0.875rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav__links a:hover { color: var(--primary); }
.nav__links .nav__demo { color: var(--primary-mid); font-weight: 500; }
.nav__cta {
  background: var(--primary); color: #fff;
  padding: 8px 20px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: var(--primary-mid); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  position: relative; display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 40%, #fff 100%);
}
.hero__bg-img {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 55%; object-fit: cover;
  mask-image: linear-gradient(to right, transparent 5%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 5%, black 40%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto; padding: 100px 40px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%;
}
.hero__content { padding-right: 20px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
  border: 1px solid rgba(12,74,110,0.1);
}
.hero__badge svg { color: var(--accent); }
.hero__headline {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 20px;
}
.hero__headline .accent { color: var(--accent); }
.hero__sub {
  font-size: 1.05rem; color: var(--text-muted); font-weight: 400;
  line-height: 1.75; margin-bottom: 36px; max-width: 480px;
}
.hero__ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 14px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(12,74,110,0.25);
}
.btn-primary:hover { background: var(--primary-mid); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(12,74,110,0.3); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-size: 0.95rem; font-weight: 500; text-decoration: none;
  padding: 14px 20px;
}
.btn-secondary:hover { color: var(--accent); }
.hero__trust { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.hero__trust-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); border: 2px solid #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--primary); font-weight: 700; }
.hero__trust-text { font-size: 0.82rem; color: var(--text-muted); }
.hero__trust-text strong { color: var(--text); }
.hero__placeholder {
  aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #bae6fd);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(12,74,110,0.08);
}
.hero__placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* ─── SECTION COMMON ─── */
.section { padding: 96px 40px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--primary); color: #fff; }
.section__inner { max-width: 1160px; margin: 0 auto; }
.section__badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section__title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em; margin-bottom: 16px; color: var(--text);
}
.section--dark .section__title { color: #fff; }
.section__sub { font-size: 1rem; color: var(--text-muted); max-width: 540px; line-height: 1.7; margin-bottom: 56px; }
.section--dark .section__sub { color: rgba(255,255,255,0.75); }

/* ─── PROBLEM / CALCULATOR ─── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pain-list { display: flex; flex-direction: column; gap: 16px; }
.pain-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; background: var(--surface); border-radius: 12px;
  border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.2s;
}
.pain-item:hover { border-color: rgba(239,68,68,0.3); box-shadow: 0 4px 16px rgba(239,68,68,0.06); }
.pain-icon { width: 40px; height: 40px; border-radius: 10px; background: #fef2f2; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #dc2626; }
.pain-text h4 { font-weight: 600; font-size: 0.92rem; color: var(--text); margin-bottom: 4px; }
.pain-text p { font-size: 0.82rem; color: var(--text-muted); }

.calc-card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 36px;
  box-shadow: var(--shadow);
}
.calc-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.calc-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.calc-field { margin-bottom: 16px; }
.calc-field label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.calc-field input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s; outline: none;
  background: var(--bg-alt);
}
.calc-field input:focus { border-color: var(--accent); }
.calc-result {
  margin-top: 20px; padding: 18px; background: #fef2f2;
  border: 1.5px solid #fecaca; border-radius: 10px; text-align: center;
}
.calc-result__label { font-size: 0.8rem; color: #7f1d1d; font-weight: 500; margin-bottom: 4px; }
.calc-result__amount { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2rem; color: #dc2626; }
.calc-result__sub { font-size: 0.78rem; color: #b91c1c; margin-top: 4px; }

/* ─── SOLUTION FEATURES ─── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px 24px;
  transition: all 0.25s;
}
.feature-card:hover { border-color: rgba(12,74,110,0.2); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent);
}
.feature-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ─── HOW IT WORKS ─── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(to right, var(--accent), var(--primary-light));
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step__num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(12,74,110,0.3);
}
.step h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ─── OFFRE / PRICING ─── */
.offer-wrap { max-width: 640px; margin: 0 auto; }
.offer-card {
  background: var(--surface); border-radius: 24px;
  border: 2px solid var(--primary); padding: 44px;
  box-shadow: var(--shadow-lg);
}
.offer-header { text-align: center; margin-bottom: 32px; }
.offer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.offer-card h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--text); }
.offer-pricing { display: flex; align-items: center; justify-content: center; gap: 32px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.offer-price-block { text-align: center; }
.offer-price-block .big { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.8rem; color: var(--primary); line-height: 1; }
.offer-price-block .label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.offer-divider { width: 1px; height: 48px; background: var(--border); }
.offer-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.offer-features li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text); }
.offer-features li svg { color: var(--success); flex-shrink: 0; }
.offer-guarantee {
  display: flex; align-items: center; gap: 12px;
  background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: 10px;
  padding: 14px 18px; margin-bottom: 24px;
}
.offer-guarantee svg { color: var(--success); flex-shrink: 0; }
.offer-guarantee span { font-size: 0.88rem; color: #166534; font-weight: 500; }
.btn-full {
  display: block; width: 100%; text-align: center;
  background: var(--primary); color: #fff;
  padding: 16px; border-radius: 10px;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(12,74,110,0.25);
}
.btn-full:hover { background: var(--primary-mid); transform: translateY(-2px); }

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface); border-radius: 12px;
  border: 1px solid var(--border); overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; font-weight: 600; font-size: 0.95rem; color: var(--text);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item[open] summary { color: var(--accent); }
.faq-item__icon { transition: transform 0.2s; font-size: 1.2rem; color: var(--text-light); flex-shrink: 0; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); color: var(--accent); }
.faq-item__body { padding: 0 24px 20px; font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ─── FORM ─── */
.form-section { padding: 96px 40px; }
.form-section--alt { background: var(--bg-alt); }
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-card {
  background: var(--surface); border-radius: 24px; padding: 44px;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.form-card h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--text); text-align: center; margin-bottom: 8px; }
.form-card .form-sub { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
  background: var(--bg-alt); transition: border-color 0.2s; outline: none; color: var(--text);
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success svg { color: var(--success); margin-bottom: 16px; }
.form-success h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.4rem; margin-bottom: 8px; color: var(--text); }
.form-success p { color: var(--text-muted); font-size: 0.9rem; }
#lead-form.hidden { display: none; }

/* ─── FOOTER ─── */
.footer { padding: 40px; border-top: 1px solid var(--border); background: var(--bg); }
.footer__inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer__logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.footer__copy { font-size: 0.78rem; color: var(--text-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 80px; }
  .hero__right { display: none; }
  .hero__headline { font-size: 2rem; }
  .nav { padding: 0 20px; }
  .nav__links { display: none; }
  .section { padding: 64px 20px; }
  .form-section { padding: 64px 20px; }
  .offer-card { padding: 28px 20px; }
  .form-card { padding: 28px 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .offer-pricing { flex-direction: column; gap: 16px; }
  .offer-divider { display: none; }
}

/* ─── ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
  .feature-card, .pain-item, .btn-primary, .btn-full, .nav__cta { transition: all 0.25s ease; }
}