@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --violet: #7B6FFF;
  --violet-dark: #5a50cc;
  --rose: #F43F5E;
  --rose-dark: #c4294a;
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --bg3: #1a1a2e;
  --border: #2a2a4a;
  --text: #ffffff;
  --text-muted: #a0a0b8;
  --text-dim: #6060a0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 60px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,15,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123,111,255,0.15);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: var(--text);
}
.nav-logo-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--violet), var(--rose));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--text-muted); font-weight: 500; transition: color 0.2s; position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--violet); border-radius: 2px; }
.nav-cta { background: var(--violet) !important; color: #fff !important; padding: 10px 22px !important; border-radius: 8px !important; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--violet-dark) !important; }
.nav-cta::after { display: none !important; }

/* HAMBURGER MOBILE */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.nav-mobile { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(10,10,15,0.98); backdrop-filter: blur(20px); padding: 20px; border-bottom: 1px solid var(--border); z-index: 999; }
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile ul li a { display: block; padding: 12px 16px; font-size: 16px; color: var(--text-muted); border-radius: 8px; transition: all 0.2s; }
.nav-mobile ul li a:hover { background: var(--bg3); color: var(--text); }
.nav-mobile ul li:last-child a { background: var(--violet); color: #fff; margin-top: 8px; text-align: center; font-weight: 600; }

/* HERO */
.hero { min-height: 100vh; padding: 140px 60px 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(123,111,255,0.1) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(244,63,94,0.07) 0%, transparent 70%); pointer-events: none; }

.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(123,111,255,0.1); border: 1px solid rgba(123,111,255,0.3); color: var(--violet); font-size: 13px; font-weight: 500; padding: 6px 16px; border-radius: 100px; margin-bottom: 28px; letter-spacing: 0.5px; }

.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; max-width: 900px; margin-bottom: 24px; letter-spacing: -1.5px; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--violet), var(--rose)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 19px; color: var(--text-muted); max-width: 620px; margin-bottom: 40px; line-height: 1.7; }

.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

.btn-primary { background: var(--violet); color: #fff; padding: 15px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif; border: none; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--violet-dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text); padding: 15px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif; border: 1.5px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondary:hover { border-color: var(--violet); color: var(--violet); }
.btn-outline-violet { background: transparent; color: var(--violet); padding: 12px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; font-family: 'DM Sans', sans-serif; border: 1.5px solid var(--violet); cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-violet:hover { background: var(--violet); color: #fff; }
.btn-rose { background: var(--rose); color: #fff; padding: 15px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif; border: none; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-rose:hover { background: var(--rose-dark); transform: translateY(-2px); }

.trust-bar { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); }
.trust-item::before { content: '✓'; color: var(--violet); font-weight: 700; }

/* SECTOR PILLS */
.sector-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.sector-pill { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--bg3); border: 1px solid var(--border); border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--text-muted); transition: all 0.2s; cursor: default; }
.sector-pill:hover { border-color: var(--violet); color: var(--text); }
.sector-pill-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.sector-pill-icon.dentaire { background: rgba(123,111,255,0.15); }
.sector-pill-icon.juridique { background: rgba(244,63,94,0.15); }
.sector-pill-icon.immobilier { background: rgba(59,139,212,0.15); }
.sector-pill-icon.ecommerce { background: rgba(59,158,117,0.15); }
.sector-pill-icon.restaurant { background: rgba(239,159,39,0.15); }

/* SECTIONS */
section { padding: 96px 60px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--rose); margin-bottom: 16px; text-align: center; }
.section-title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; text-align: center; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-sub { font-size: 17px; color: var(--text-muted); text-align: center; max-width: 600px; margin: 0 auto 56px; line-height: 1.7; }

/* GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }

/* CARDS */
.card { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.card:hover { border-color: var(--violet); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(123,111,255,0.1); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 100px; letter-spacing: 0.3px; }
.tag-violet { background: rgba(123,111,255,0.15); color: #a09fff; }
.tag-rose { background: rgba(244,63,94,0.15); color: #f77; }
.card-link { font-size: 13px; font-weight: 600; color: var(--violet); display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; padding: 8px 16px; border: 1px solid var(--violet); border-radius: 8px; }
.card-link:hover { background: var(--violet); color: #fff; gap: 10px; }

/* WORKFLOW PREVIEW */
.workflow-preview { background: #0d0d1e; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-top: 20px; position: relative; overflow: hidden; }
.workflow-preview::before { content: 'Exemple de workflow'; position: absolute; top: 10px; left: 12px; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); }
.workflow-nodes { display: flex; align-items: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.wf-node { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wf-node-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; border: 1px solid; position: relative; }
.wf-node-icon.trigger { background: rgba(244,63,94,0.15); border-color: rgba(244,63,94,0.4); }
.wf-node-icon.action { background: rgba(123,111,255,0.15); border-color: rgba(123,111,255,0.4); }
.wf-node-icon.output { background: rgba(59,158,117,0.15); border-color: rgba(59,158,117,0.4); }
.wf-node-label { font-size: 9px; color: var(--text-dim); font-family: monospace; white-space: nowrap; }
.wf-arrow { color: var(--text-dim); font-size: 14px; margin-top: -16px; flex-shrink: 0; }
.wf-connector { display: flex; align-items: center; gap: 4px; margin-top: -16px; }
.wf-line { width: 20px; height: 1px; background: var(--border); position: relative; }
.wf-line::after { content: '▶'; position: absolute; right: -6px; top: -6px; font-size: 10px; color: var(--text-dim); }

/* STATS */
.stats-row { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin: 56px 0; }
.stat { text-align: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 52px; font-weight: 800; color: var(--rose); display: block; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-muted); }

/* TESTIMONIALS */
.testi-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.testi-stars { color: var(--rose); font-size: 14px; margin-bottom: 16px; }
.testi-text { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 24px; }
.testi-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--rose); }
.testi-author span { font-size: 13px; color: var(--text-dim); }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, #5a50cc 0%, var(--violet) 50%, #6b3fa0 100%); text-align: center; padding: 96px 60px; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; }
.cta-section h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 540px; margin: 0 auto 36px; line-height: 1.7; position: relative; }
.btn-white { background: #fff; color: var(--violet); padding: 15px 36px; border-radius: 10px; font-size: 15px; font-weight: 700; font-family: 'DM Sans', sans-serif; border: none; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; position: relative; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.cta-mention { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.55); position: relative; }

/* FOOTER */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 60px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-bottom a { font-size: 13px; color: var(--text-dim); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }

/* HERO IMAGE */
.hero-img-wrap { width: 100%; max-width: 900px; margin: 56px auto 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 40px 100px rgba(123,111,255,0.15); }
.hero-img-wrap img { width: 100%; display: block; }

/* PAGE HERO */
.page-hero { padding: 140px 60px 80px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(123,111,255,0.1) 0%, transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 800; max-width: 800px; margin: 0 auto 20px; letter-spacing: -1px; }
.page-hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--violet), var(--rose)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto 36px; line-height: 1.7; }
.page-hero-img { width: 100%; max-width: 1000px; margin: 56px auto 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.page-hero-img img { width: 100%; height: 440px; object-fit: cover; }

/* FEATURES LIST */
.features-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.features-list li { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; transition: border-color 0.2s; }
.features-list li:hover { border-color: var(--violet); }
.feature-num { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--rose); background: rgba(244,63,94,0.1); width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.feature-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 20px; padding: 36px; position: relative; transition: all 0.3s; }
.pricing-card.featured { border-color: var(--violet); border-width: 2px; }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 20px; border-radius: 100px; white-space: nowrap; letter-spacing: 0.5px; }
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-price { font-family: 'Syne', sans-serif; font-size: 44px; font-weight: 800; color: var(--text); margin-bottom: 4px; line-height: 1; }
.pricing-price.featured-price { color: var(--rose); }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li { font-size: 14px; color: var(--text-muted); padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--violet); font-weight: 700; flex-shrink: 0; }
.pricing-features li:last-child { border-bottom: none; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.step { text-align: center; padding: 36px 24px; }
.step-num { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin: 0 auto 24px; }
.step-num.violet { background: var(--violet); color: #fff; }
.step-num.rose { background: var(--rose); color: #fff; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* BG */
.bg-dark { background: var(--bg); }
.bg-darker { background: var(--bg2); }

/* CONTACT FORM */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--violet); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--bg3); }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 100px 20px 60px; }
  .hero h1 { font-size: 34px; letter-spacing: -0.5px; }
  .hero p { font-size: 16px; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary, .btn-rose { width: 100%; max-width: 320px; justify-content: center; }
  .hero-img-wrap { margin-top: 40px; border-radius: 12px; }
  .sector-pills { gap: 8px; }
  .sector-pill { padding: 8px 14px; font-size: 13px; }

  section { padding: 56px 20px; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .page-hero { padding: 100px 20px 60px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero-img img { height: 240px; }

  .cta-section { padding: 60px 20px; }
  .cta-section h2 { font-size: 26px; }
  .btn-white { width: 100%; max-width: 320px; justify-content: center; }

  footer { padding: 40px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-row { gap: 28px; }
  .stat-num { font-size: 40px; }

  .contact-grid { grid-template-columns: 1fr !important; gap: 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sector-pills { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
}
