/* ───────────────────────── Site vitrine ───────────────────────── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }

/* Navigation */
.nav-top { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav-top.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.8) blur(14px); border-color: var(--border); }
.nav-inner { height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--text); text-decoration: none !important; }
.links { display: flex; gap: 4px; flex: 1; }
.links a { color: var(--muted); font-weight: 500; font-size: 14px; padding: 8px 12px; border-radius: 9px; text-decoration: none; transition: color .15s, background .15s; }
.links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Hero */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #c7c9ff; top: -160px; right: -60px; }
.b2 { width: 420px; height: 420px; background: #e9d5ff; top: 180px; right: 320px; animation-delay: -6s; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(99, 102, 241, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 65%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 500; color: var(--text); text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s; }
.pill:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.pill-new { background: var(--brand-grad); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 99px; }
.pill .arrow { color: var(--faint); transition: transform .2s; }
.pill:hover .arrow { transform: translateX(3px); }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; margin: 22px 0 20px; }
.grad { background: linear-gradient(120deg, #4f46e5, #7c3aed 60%, #c026d3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 560px; line-height: 1.6; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.trust b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.trust span { font-size: 13px; color: var(--faint); }

/* Maquette Discord */
.hero-visual { position: relative; }
.mock { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(49, 46, 129, .35), var(--shadow); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease); }
.hero-visual:hover .mock { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock-head { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e5ec; }
.mock-dots i:first-child { background: #fda4af; } .mock-dots i:nth-child(2) { background: #fde68a; } .mock-dots i:nth-child(3) { background: #bbf7d0; }
.mock-ch { font-weight: 700; font-size: 14px; color: var(--muted); }
.mock-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 420px; }
.msg { display: flex; gap: 12px; opacity: 0; animation: fadeUp .6s var(--ease) forwards; animation-delay: .5s; }
.msg.delay1 { animation-delay: 1.4s; } .msg.delay2 { animation-delay: 2.4s; } .msg.delay3 { animation-delay: 3.2s; }
.msg-av { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.msg-av.u { display: grid; place-items: center; background: #fde68a; color: #92400e; font-weight: 700; }
.msg-main { min-width: 0; flex: 1; font-size: 14px; }
.msg-name { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tag-app { background: #5865f2; color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 4px; font-weight: 700; }
.msg-time { color: var(--faint); font-weight: 400; font-size: 12px; }
.v2 { margin-top: 6px; padding: 10px 14px; background: #f8f9fb; border: 1px solid #e3e5ec; border-left: 4px solid var(--brand); border-radius: 8px; font-size: 13.5px; }
.v2.red { border-left-color: #ef4444; }
.v2 p { margin-top: 3px; color: #3b3f52; }
.v2-sep { height: 1px; background: #e3e5ec; margin: 8px 0; }
.mention { background: rgba(88, 101, 242, .15); color: #4752c4; border-radius: 4px; padding: 0 3px; font-weight: 500; }
.typed { min-height: 42px; color: #3b3f52; margin-top: 2px; }
.typed::after { content: '▍'; color: var(--brand); animation: caret 1s steps(1) infinite; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600; animation: float 5s ease-in-out infinite; }
.c1 { left: -46px; top: 36px; }
.c2 { right: -24px; top: 220px; animation-delay: -1.6s; }
.c3 { left: 30px; bottom: -22px; animation-delay: -3.2s; }

/* Sections */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2, .split h2, .app-band h2, .final h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 5px 12px; border-radius: 99px; margin-bottom: 16px; }
.eyebrow.light { background: rgba(255, 255, 255, .16); color: #fff; }
.big { font-size: 17px; margin-top: 14px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dcdfff; }
.tile h3 { font-size: 16.5px; font-weight: 700; margin: 14px 0 6px; }
.tile p { color: var(--muted); font-size: 14px; }
.tile-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--bg-soft); border: 1px solid var(--border); }
.tile.big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #fff 40%, #f3f2ff); }
.tile.big h3 { font-size: 24px; letter-spacing: -.02em; margin-top: 18px; }
.tile.big p { font-size: 15.5px; max-width: 460px; }
.tile.ai { grid-column: span 2; background: linear-gradient(140deg, #fff 30%, #f4efff); }
.tile.ai .badge { position: absolute; top: 22px; right: 22px; }
.tile-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tile-list span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--border); color: var(--muted); }

/* Démo constructeur */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); font-weight: 800; font-size: 13px; flex: none; }
.builder-demo { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; }
.bd-prompt { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--brand); border-radius: 14px; box-shadow: var(--ring); font-size: 15px; min-height: 54px; }
.bd-ico { font-size: 18px; }
.caret { width: 2px; height: 20px; background: var(--brand); animation: caret 1s steps(1) infinite; }
.bd-tree { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.bd-tree > * { opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.bd-tree.show > * { opacity: 1; transform: none; }
.bd-cat { font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.bd-ch { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.bd-ch:hover { background: var(--bg-soft); }
.lock { font-size: 11px; font-weight: 600; background: var(--bg-sunken); padding: 2px 8px; border-radius: 99px; letter-spacing: 0; }
.bd-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.bd-roles span { font-size: 13px; font-weight: 600; padding: 5px 12px 5px 10px; border-radius: 99px; border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 7px; }
.bd-roles span::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-card .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 8px 20px -8px rgba(99, 102, 241, .7); }
.step-card h3 { font-size: 18px; margin: 18px 0 8px; }
.step-card p { color: var(--muted); }

/* Comparatif */
.compare { overflow: hidden; }
.compare .table td, .compare .table th { padding: 14px 20px; font-size: 14.5px; }
.compare .c { text-align: center; width: 160px; }
.compare th.us { color: var(--brand-ink); font-size: 14px; text-transform: none; letter-spacing: 0; }
.compare .y { color: var(--success); font-weight: 800; font-size: 17px; }
.compare td.us, .compare tbody td:nth-child(2) { background: rgba(99, 102, 241, .04); }
.compare .n { color: var(--faint); font-size: 13px; }

/* Bandeau application */
.app-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 56px; border-radius: 28px; background: linear-gradient(135deg, #4f46e5, #7c3aed 70%, #9333ea); color: #fff; position: relative; overflow: hidden; }
.app-band::after { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); right: -120px; top: -160px; }
.app-band p { color: rgba(255, 255, 255, .85); font-size: 17px; margin-top: 14px; max-width: 560px; }
.btn-white { background: #fff; color: var(--brand-ink); border-color: #fff; }
.btn-white:hover { background: #f4f4ff; }
.app-icons img { border-radius: 30px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); animation: float 5s ease-in-out infinite; position: relative; z-index: 1; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #dcdfff; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--faint); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; animation: fadeUp .35s var(--ease); }

/* CTA final */
.final { text-align: center; padding: 70px 24px; border-radius: 28px; border: 1px solid var(--border); background: radial-gradient(ellipse at top, #eef0ff, #fff 70%); }
.final p { color: var(--muted); font-size: 17px; margin: 14px 0 28px; }

.footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex: 1; }
.footer-links a { color: var(--muted); font-size: 14px; }
.mt24 { margin-top: 24px; }

@media (max-width: 1000px) {
  .links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding-top: 120px; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .app-band { grid-template-columns: 1fr; padding: 36px; }
  .app-icons { display: none; }
  .float-chip.c1 { left: 8px; } .float-chip.c2 { right: 8px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile.big, .tile.ai { grid-column: span 1; }
  .hide-sm { display: none; }
  .compare .c { width: 90px; }
}

/* Changelog */
.timeline { display: flex; flex-direction: column; gap: 22px; }
.tl-item { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; scroll-margin-top: 100px; }
.tl-card { padding: 22px 24px; }
.tl-card h3 { font-size: 19px; margin-bottom: 6px; }
.tl-card h4 { font-size: 14.5px; margin-top: 16px; }
.tl-card ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 640px) { .tl-item { grid-template-columns: 1fr; gap: 8px; } }
