/* Landing Ciblix (accueil seulement). Titres en Inter serré + mot clé en Instrument Serif italique,
   hero sombre avec démo animée, sections sobres, un seul accent (orange cible). */
:root {
  --lp-dark: #0e1015;
  --lp-dark-2: #171a22;
  --lp-dark-line: #262a35;
  --lp-soft: #f7f6f3;
  --lp-serif: 'Instrument Serif', Georgia, serif;
  --lp-em: #ff8466;
}
body { font-size: 15px; }
.lp-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lp-section { padding: 88px 0; }
.lp-soft { background: var(--lp-soft); }
.lp-section h2, .lp-final h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; margin: 0 0 14px; max-width: 760px; }
h1 em, h2 em { font-family: var(--lp-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
.lp-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: var(--accent); margin: 0 0 12px; }
.lp-sub { color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 640px; margin: 0 0 36px; }
.lp-sub a { color: var(--accent); }

/* Boutons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn svg.i { width: 16px; height: 16px; }
.lp-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(229, 72, 42, .7); }
.lp-btn-primary:hover { background: var(--accent-2); color: #fff; }
.lp-btn-ghost { color: #d9dce4; border-color: #3a3f4c; }
.lp-btn-ghost:hover { border-color: #6b7180; color: #fff; }
.lp-btn-line { color: var(--ink); border-color: var(--line); background: #fff; }
.lp-btn-line:hover { border-color: var(--ink); color: var(--ink); }
.lp-btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }

/* En-tête de la landing : transparent sur le hero sombre */
.topbar-lp { background: rgba(14, 16, 21, .96); border-bottom-color: var(--lp-dark-line); backdrop-filter: blur(10px); }
.topbar-lp .logo, .topbar-lp .nav a { color: #e8eaf0; }
.topbar-lp .nav a:hover { color: #fff; }
.topbar-lp .btn-ghost { color: #e8eaf0; }
.topbar-lp .btn-ghost:hover { background: #222632; color: #fff; }

/* Hero */
.lp-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(229, 72, 42, .22), transparent 60%), var(--lp-dark); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: #ffb39e; background: rgba(229, 72, 42, .12); border: 1px solid rgba(229, 72, 42, .3); padding: 5px 12px; border-radius: 999px; margin: 0 0 22px; }
.lp-hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 750; margin: 0 0 22px; }
.lp-hero h1 em { color: var(--lp-em); }
.lp-lead { font-size: 18px; line-height: 1.6; color: #b9bfcc; margin: 0 0 30px; max-width: 560px; }
.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-reassure { margin: 18px 0 0; font-size: 13.5px; color: #8b92a3; }

/* Démo animée */
.lp-demo { margin: 0; background: var(--lp-dark-2); border: 1px solid var(--lp-dark-line); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); overflow: hidden; color: #e8eaf0; position: relative; }
.lp-demo-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--lp-dark-line); font-size: 12px; color: #8b92a3; }
.lp-demo-bar span { width: 9px; height: 9px; border-radius: 50%; background: #343946; }
.lp-demo-bar b { font-weight: 500; margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-demo-body { padding: 18px; }
.lp-demo-input { background: #0f1117; border: 1px solid #343946; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.5; min-height: 66px; color: #f1f2f6; }
.lp-caret { display: none; width: 2px; height: 16px; background: var(--lp-em); vertical-align: -3px; margin-left: 1px; animation: lp-blink 1s steps(1) infinite; }
.lp-demo.typing .lp-caret { display: inline-block; }
@keyframes lp-blink { 50% { opacity: 0; } }
.lp-demo-count { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px; font-size: 13px; color: #8b92a3; transition: opacity .3s; }
.lp-demo-count strong { font-size: 22px; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.lp-demo-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-demo-rows li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; background: #1d212b; border: 1px solid var(--lp-dark-line); border-radius: 10px; padding: 10px 12px; transition: opacity .4s, transform .4s; }
.lp-demo-rows li b { display: block; font-size: 14px; }
.lp-demo-rows li small { color: #8b92a3; font-size: 12px; }
.lp-demo-rows li em { font-style: normal; font-size: 11.5px; color: #c7cbd6; background: #2a2f3b; padding: 3px 8px; border-radius: 6px; }
.lp-demo-rows li.out { opacity: .55; }
.lp-demo figcaption { font-size: 11px; color: #6b7180; text-align: right; padding: 0 16px 12px; }
.lp-demo.animated .lp-demo-count { opacity: 0; }
.lp-demo.animated.counted .lp-demo-count { opacity: 1; }
.lp-demo.animated .lp-demo-rows li { opacity: 0; transform: translateY(8px); }
.lp-demo.animated.listed .lp-demo-rows li { opacity: 1; transform: none; }
.lp-demo.animated.listed .lp-demo-rows li.out { opacity: .55; }
.lp-demo.animated.listed .lp-demo-rows li:nth-child(2) { transition-delay: .25s; }
.lp-demo.animated.listed .lp-demo-rows li:nth-child(3) { transition-delay: .5s; }
.lp-demo.animated.listed .lp-demo-rows li:nth-child(4) { transition-delay: .75s; }

/* Notes */
.lp-score { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; font-weight: 750; font-size: 16px; letter-spacing: -.02em; }
.lp-score::after { content: '/20'; font-size: 9px; font-weight: 600; opacity: .7; margin-left: 1px; align-self: flex-end; margin-bottom: 9px; }
.lp-score.hi { background: rgba(34, 168, 104, .16); color: #3ddc8e; }
.lp-score.mid { background: rgba(231, 163, 37, .16); color: #f2b544; }
.lp-score.lo { background: rgba(224, 68, 90, .16); color: #ff6b80; }
.lp-score.big { width: 58px; height: 58px; font-size: 24px; border-radius: 14px; }
.lp-score.big::after { margin-bottom: 13px; }

/* Engagements */
/* Vidéo de démo, juste sous le hero */
.lp-video { background: var(--lp-dark); padding: 8px 0 72px; color: #fff; text-align: center; }
.lp-video h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; margin: 0 0 22px; color: #fff; }
.lp-video h2 em { font-family: var(--lp-serif); font-style: italic; font-weight: 400; color: var(--lp-em); }
.lp-video-player { display: block; width: 100%; max-width: 960px; height: auto; margin: 0 auto; border-radius: 16px; border: 1px solid var(--lp-dark-line); background: #000; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.lp-video-note { margin: 12px 0 0; color: #9aa0ad; font-size: 13px; }
.lp-guarantees { border-bottom: 1px solid var(--line); background: #fff; }
.lp-guarantees .lp-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.lp-guarantees div { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.lp-guarantees svg.i { color: var(--ok); flex: none; margin-top: 2px; }

/* Chiffres produit */
.lp-section:has(.lp-stats) { padding: 56px 0; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lp-stats div { background: #fff; padding: 26px 24px; }
.lp-stats strong { display: block; font-family: var(--lp-serif); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.lp-stats strong small { font-family: Inter, sans-serif; font-size: 16px; font-weight: 600; color: var(--muted); }
.lp-stats span { color: var(--ink-2); font-size: 14px; line-height: 1.45; }

/* Cartes */
.lp-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; color: inherit; text-decoration: none; }
.lp-card h3 { font-size: 18px; letter-spacing: -.01em; margin: 10px 0 8px; }
.lp-card p { color: var(--ink-2); margin: 0; line-height: 1.6; }
.lp-card-lg { padding: 32px; }
.lp-num { font-family: var(--lp-serif); font-style: italic; font-size: 28px; color: var(--accent); }
svg.i.lp-ico { width: 28px; height: 28px; color: var(--accent); stroke-width: 1.8; }
.lp-section h2 + .lp-cards-2, .lp-section h2 + .lp-cards-3 { margin-top: 32px; }
.lp-post { transition: border-color .15s, transform .15s; }
.lp-post:hover { border-color: var(--ink); transform: translateY(-2px); }
.lp-post small { color: var(--muted); }
.lp-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.lp-row-head h2 { font-size: 28px; margin: 0; }
.lp-row-head a { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

/* Étapes */
.lp-timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.lp-timeline::before { content: ''; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: var(--line); }
.lp-timeline li { position: relative; padding-right: 26px; }
.lp-step { position: relative; display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 18px; }
.lp-timeline li:first-child .lp-step { background: var(--accent); }
.lp-timeline h3 { font-size: 17px; margin: 0 0 8px; }
.lp-timeline p { color: var(--ink-2); margin: 0; line-height: 1.6; font-size: 14.5px; }
.lp-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.lp-modes div { border: 1px dashed var(--accent-line); background: var(--accent-soft); border-radius: 14px; padding: 18px 20px; }
.lp-modes strong { display: block; margin-bottom: 4px; }
.lp-modes span { color: var(--ink-2); }

/* Section sombre : le livrable */
.lp-dark { background: var(--lp-dark); color: #fff; }
.lp-dark h2 em { color: var(--lp-em); }
.lp-dark .lp-sub { color: #b9bfcc; }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lp-checks li { display: flex; gap: 10px; align-items: flex-start; color: #e3e6ee; }
.lp-checks svg.i { color: #3ddc8e; flex: none; margin-top: 3px; }
.lp-account { margin: 0; background: var(--lp-dark-2); border: 1px solid var(--lp-dark-line); border-radius: 18px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transform: rotate(1.2deg); }
.lp-account-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.lp-account-head b { display: block; font-size: 18px; }
.lp-account-head small { color: #8b92a3; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.lp-tags span { font-size: 12px; color: #c7cbd6; background: #2a2f3b; padding: 4px 10px; border-radius: 999px; }
.lp-account p { color: #c7cbd6; font-size: 14px; line-height: 1.6; margin: 0 0 10px; }
.lp-account p b { color: #fff; }
.lp-contact { display: grid; gap: 2px; border-top: 1px solid var(--lp-dark-line); margin-top: 16px; padding-top: 14px; font-size: 14px; }
.lp-contact span { font-size: 12px; color: #8b92a3; }
.lp-contact small { color: #3ddc8e; }
.lp-account figcaption { font-size: 11px; color: #6b7180; margin-top: 12px; }

/* Tarifs */
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.lp-plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.lp-plan.featured { border: 2px solid var(--accent); box-shadow: 0 24px 50px -28px rgba(229, 72, 42, .55); }
.lp-plan.fit::after { content: 'Conseillé pour vous'; position: absolute; top: -12px; right: 22px; background: var(--ok); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.lp-badge { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.lp-plan h3 { font-size: 20px; margin: 0; }
.lp-plan-tag { color: var(--muted); margin: 4px 0 18px; font-size: 14px; }
.lp-price { font-size: 40px; font-weight: 750; letter-spacing: -.03em; margin-bottom: 18px; }
.lp-price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; flex: 1; }
.lp-plan li { padding-left: 22px; position: relative; color: var(--ink-2); }
.lp-plan li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.lp-plan .lp-btn { width: 100%; }

/* Calculateur */
.lp-calc { margin-top: 28px; display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.lp-calc-form { padding: 28px; display: grid; gap: 12px; }
.lp-calc-form h3 { margin: 0 0 4px; font-size: 19px; }
.lp-calc-form label { font-size: 14px; color: var(--ink-2); }
.lp-calc-form output { font-weight: 700; color: var(--ink); }
.lp-calc-form input[type=range] { width: 100%; accent-color: var(--accent); }
.lp-calc-opts { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-calc-opts label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.lp-calc-opts input { accent-color: var(--accent); width: 16px; height: 16px; }
.lp-calc-result { background: var(--lp-dark); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.lp-calc-result > span { color: #8b92a3; font-size: 14px; }
.lp-calc-result > strong { font-size: 34px; letter-spacing: -.02em; }
.lp-calc-result p { margin: 6px 0; color: #e3e6ee; }
.lp-calc-result p a { color: var(--lp-em); }
.lp-calc-result small { color: #6b7180; }
.lp-costs { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; }
.lp-costs summary { cursor: pointer; font-weight: 600; }
.lp-costs table { width: 100%; margin-top: 12px; border-collapse: collapse; }
.lp-costs td { padding: 9px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.lp-costs td:last-child { text-align: right; padding-left: 16px; }

/* FAQ */
.lp-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.lp-faq-grid .lp-sub { margin-bottom: 0; }
.lp-faq-grid > div:first-child { position: sticky; top: 90px; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary svg.i { flex: none; transition: transform .2s; color: var(--muted); }
.lp-faq details[open] summary svg.i { transform: rotate(180deg); }
.lp-faq details p { margin: 0 0 20px; color: var(--ink-2); line-height: 1.65; }

/* CTA final */
.lp-final { background: radial-gradient(900px 400px at 50% 120%, rgba(229, 72, 42, .28), transparent 65%), var(--lp-dark); color: #fff; padding: 96px 0; text-align: center; }
.lp-final h2 { margin: 0 auto 16px; }
.lp-final h2 em { color: var(--lp-em); }
.lp-final p { color: #b9bfcc; font-size: 17px; max-width: 560px; margin: 0 auto 30px; }

/* Bouton collant (mobile) */
.lp-sticky { display: none; }

/* Différence avec une base + équipe */
.lp-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; color: var(--ink-2); line-height: 1.55; }
.lp-list li { display: flex; gap: 10px; align-items: flex-start; }
.lp-list svg.i { color: var(--accent); flex: none; margin-top: 3px; }
.lp-list-off li::before { content: '×'; color: var(--muted); font-weight: 700; flex: none; width: 18px; text-align: center; }
.lp-card-on { border-color: var(--accent-line); background: var(--accent-soft); }
.lp-note { margin: 24px 0 0; color: var(--ink-2); font-size: 15.5px; }
.lp-avatar { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-weight: 700; }
.lp-avatar-ai { background: var(--accent); }
.lp-role { color: var(--muted) !important; font-size: 14px; margin: -4px 0 10px !important; }

@media (max-width: 960px) {
  .lp-hero-grid, .lp-split, .lp-faq-grid, .lp-calc { grid-template-columns: 1fr; }
  .lp-hero-grid { gap: 40px; }
  .lp-account { transform: none; }
  .lp-timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .lp-timeline::before { display: none; }
  .lp-stats, .lp-guarantees .lp-inner { grid-template-columns: 1fr 1fr; }
  .lp-faq-grid > div:first-child { position: static; }
  .lp-faq-grid { gap: 20px; }
}
@media (max-width: 680px) {
  .lp-section { padding: 64px 0; }
  .lp-hero { padding: 44px 0 56px; }
  .lp-lead { font-size: 16.5px; }
  .lp-cards-3, .lp-cards-2, .lp-plans, .lp-timeline, .lp-modes { grid-template-columns: 1fr; }
  .lp-stats strong { font-size: 44px; }
  .lp-cta-row .lp-btn { flex: 1 1 100%; }
  .lp-demo-rows li em { display: none; }
  .lp-demo-rows li { grid-template-columns: 40px 1fr; }
  .lp-row-head { flex-direction: column; }
  .topbar-lp .nav { display: none; }
  .lp-sticky { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; transform: translateY(calc(100% + 32px)); visibility: hidden; transition: transform .25s, visibility .25s; }
  .lp-sticky.on { transform: none; visibility: visible; }
  .lp-sticky .lp-btn { width: 100%; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-btn, .lp-post, .lp-sticky, .lp-demo-rows li { transition: none; }
}

/* Scroll fluide vers les ancres, sans passer sous la barre du haut */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lp-demo-rows li b small { font-weight: 400; color: #8b92a3; font-size: 12px; }
.lp-pitch { display: block; color: #c7cbd6 !important; line-height: 1.4; margin-top: 2px; }
