/* ═══════════════════════════════════════════════════════════════════════
   FORJE LANDING v2 — nouvelles sections
   Hero mockup · Board de veille · Démo outil · How · Formats · Pricing ·
   FAQ · Footer. Même DA que forje.css (tokens réutilisés), version sobre.
   ═══════════════════════════════════════════════════════════════════════ */

/* ───── Hero v2 : mockup dashboard + posts flottants ────────────────────── */
.hero-v2 .cta-down { display: inline-block; transition: transform .25s ease; }
.hero-v2 .btn-ghost:hover .cta-down { transform: translateY(3px); }

.hero-mockup-stage {
  position: relative;
  width: 100%;
  max-width: 660px;
  padding: 30px 10px 44px;
}
.hero-mockup {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(140, 180, 255, 0.24);
  background: #0A1235;
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg) rotate(0.6deg);
  box-shadow:
    0 60px 120px rgba(0, 0, 4, 0.65),
    0 24px 48px rgba(10, 20, 80, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: mockupFloat 9s ease-in-out infinite;
}
@keyframes mockupFloat {
  0%, 100% { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg) rotate(0.6deg) translateY(0); }
  50%      { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg) rotate(0.6deg) translateY(-10px); }
}
.hero-mockup img { display: block; width: 100%; height: auto; }
.hero-mockup-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #131c4a, #0d1438);
  border-bottom: 1px solid rgba(110, 160, 255, 0.18);
}
.hero-mockup-chrome span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(160, 190, 255, 0.25);
}
.hero-mockup-url {
  margin-left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: rgba(170, 200, 255, 0.55);
  background: rgba(5, 13, 46, 0.6);
  border: 1px solid rgba(110, 160, 255, 0.15);
  border-radius: 6px; padding: 3px 12px;
}
.hero-mockup-floor {
  position: absolute; left: 50%; bottom: 6px;
  width: 78%; height: 40px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(120, 150, 255, 0.3), transparent 70%);
  filter: blur(12px);
}

/* Posts générés qui flottent autour du mockup */
.float-post {
  position: absolute; z-index: 3;
  width: 168px;
  border-radius: 14px;
  padding: 14px;
  background: var(--fp-bg, #10205e);
  box-shadow: 0 26px 60px rgba(0, 0, 4, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  color: #fff;
  animation: fpFloat 7s ease-in-out infinite;
}
.float-post .fp-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; opacity: 0.9;
}
.float-post .fp-av { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.float-post .fp-title {
  margin: 10px 0 12px;
  font-size: 15.5px; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
  text-wrap: balance;
}
.float-post .fp-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: 5px;
  background: rgba(0, 0, 0, 0.32); color: rgba(255, 255, 255, 0.85);
}
.float-post.fp-1 { top: 2%;   left: -30px;  transform: rotate(-7deg); animation-delay: 0.4s; }
.float-post.fp-2 { top: 34%;  right: -34px; transform: rotate(5deg);  animation-delay: 1.6s; }
.float-post.fp-3 { bottom: 0; left: 6%;     transform: rotate(-3deg); animation-delay: 2.8s; }
@keyframes fpFloat {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -12px; }
}

/* ───── 3. Board de veille ──────────────────────────────────────────────── */
.live-board {
  margin-top: 44px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.live-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
}
.live-status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500;
  color: var(--fg-dim);
}
.live-status-label { color: var(--fg); font-weight: 600; }
.live-status-sep { color: var(--muted-2); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FF6B81;
  animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
.live-tabs { display: flex; gap: 6px; }
.live-tab {
  padding: 7px 15px; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 500;
  background: transparent; color: var(--fg-dim);
  border: 1px solid transparent; cursor: pointer;
  transition: all .2s ease;
}
.live-tab:hover { color: var(--fg); }
.live-tab.active {
  background: rgba(30, 55, 130, 0.4);
  border-color: var(--border-strong);
  color: var(--fg);
}

.live-rows { padding: 4px 12px 8px; min-height: 280px; }
.live-row {
  display: grid; grid-template-columns: 44px 1fr auto;
  gap: 18px; align-items: center;
  padding: 15px 14px;
  border-bottom: 1px solid rgba(80, 130, 255, 0.08);
}
.live-row:last-child { border-bottom: none; }
.live-row.fresh { animation: rowEnter 0.9s ease-out both; }
@keyframes rowEnter {
  0%   { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: none; }
}
.live-score {
  justify-self: start;
  padding: 4px 9px; border-radius: 7px;
  font-size: 12.5px; font-weight: 600;
  background: rgba(110, 155, 255, 0.12);
  color: rgba(175, 205, 255, 0.95);
}
.live-score.hot {
  background: rgba(255, 170, 120, 0.13);
  color: #FFC9A0;
}
.live-title { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); line-height: 1.35; }
.live-meta { margin-top: 3px; font-size: 12px; color: var(--muted); }
.live-forge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  font-family: inherit; font-size: 12.5px; font-weight: 600;
  background: transparent; color: var(--fg);
  border: 1px solid var(--border-strong); cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.live-forge:hover { background: rgba(255, 255, 255, 0.94); color: #07122F; border-color: transparent; }

.live-loading { display: flex; flex-direction: column; gap: 10px; padding: 12px 4px; }
.live-skeleton {
  height: 54px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(30, 55, 130, 0.18) 25%, rgba(60, 95, 190, 0.26) 50%, rgba(30, 55, 130, 0.18) 75%);
  background-size: 400px 100%;
  animation: skShimmer 1.4s linear infinite;
}
@keyframes skShimmer { to { background-position: 400px 0; } }
.live-empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* ───── 4. L'outil de génération ────────────────────────────────────────── */
.demo-shell {
  margin-top: 44px;
  display: grid; grid-template-columns: 46% 1fr; gap: 24px;
  align-items: stretch;
}
.demo-left, .demo-right {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 26px;
}
.demo-left { display: flex; flex-direction: column; }

.media-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.media-tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 9px; border-radius: 999px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  background: transparent; color: var(--fg-dim);
  border: 1px solid var(--border); cursor: pointer;
  transition: all .2s ease;
}
.media-tab img { width: 22px; height: 22px; border-radius: 50%; }
.media-tab:hover { color: var(--fg); border-color: var(--border-strong); }
.media-tab.active {
  background: rgba(30, 55, 130, 0.4);
  border-color: var(--border-strong);
  color: var(--fg);
}

.media-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(5, 13, 46, 0.4);
  padding: 20px;
}
.media-id { display: flex; align-items: center; gap: 14px; }
.media-avatar {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 4, 0.4);
}
.media-avatar-fallback {
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(30, 55, 130, 0.5);
  color: var(--fg); font-weight: 700;
}
.media-tab-avatar { border-radius: 50%; object-fit: cover; font-size: 11px; }
.media-name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.media-handle { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.media-domain {
  margin-left: auto;
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(110, 155, 255, 0.12);
  color: rgba(185, 210, 255, 0.95);
  white-space: nowrap;
}
.media-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.media-topic {
  font-size: 12px; font-weight: 500; color: var(--fg-dim);
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(5, 13, 46, 0.35);
}
.media-identity {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.media-swatches { display: flex; gap: 5px; }
.media-swatches span {
  width: 16px; height: 16px; border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.media-font { font-size: 12px; font-weight: 600; color: var(--fg-dim); }
.media-tone { font-size: 12px; color: var(--muted); }

.prompt-block { margin-top: 20px; }
.prompt-label {
  display: block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.prompt-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(5, 13, 46, 0.55);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: inherit; font-size: 14.5px; line-height: 1.55;
  resize: vertical; min-height: 84px;
  transition: border-color .2s ease;
  box-sizing: border-box;
}
.prompt-input::placeholder { color: var(--muted-2); }
.prompt-input:focus { outline: none; border-color: rgba(150, 185, 255, 0.55); }

.prompt-suggestions {
  margin-top: 12px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.prompt-suggestions-label { font-size: 12px; color: var(--muted); }
.prompt-chip {
  padding: 6px 12px; border-radius: 999px;
  font-family: inherit; font-size: 12px; font-weight: 500;
  background: transparent; color: var(--fg-dim);
  border: 1px solid var(--border); cursor: pointer;
  transition: all .18s ease;
  max-width: 100%;
}
.prompt-chip:hover { color: var(--fg); border-color: var(--border-strong); }
.prompt-chip.active {
  background: rgba(30, 55, 130, 0.45);
  border-color: var(--border-strong);
  color: var(--fg);
}

.demo-generate-btn { margin-top: 22px; width: 100%; justify-content: center; }
.demo-generate-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.demo-note {
  margin-top: 12px; text-align: center;
  font-size: 12px; color: var(--muted);
}

/* Colonne droite : placeholder / pipeline / résultat */
.demo-right { display: flex; flex-direction: column; justify-content: center; min-height: 560px; }
.demo-placeholder { display: grid; place-items: center; height: 100%; }
.demo-placeholder-frame {
  width: 72%; aspect-ratio: 4 / 5;
  border-radius: 16px;
  border: 1px dashed rgba(120, 160, 255, 0.28);
  display: grid; place-items: center;
  color: var(--muted); font-size: 14px;
  text-align: center; padding: 20px;
}

.demo-generating { padding: 10px 6px; }
.demo-gen-title { font-size: 16.5px; font-weight: 600; margin-bottom: 26px; letter-spacing: -0.01em; }
.pipeline { display: flex; flex-direction: column; gap: 18px; }
.pipe-step {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; transition: color .3s ease;
}
.pipe-step.todo   { color: var(--muted-2); }
.pipe-step.active { color: var(--fg); }
.pipe-step.done   { color: rgba(184, 255, 217, 0.85); }
.pipe-ico {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: rgba(5, 13, 46, 0.5);
}
.pipe-step.done .pipe-ico {
  background: rgba(40, 120, 80, 0.3);
  border-color: rgba(120, 230, 170, 0.4);
  color: #B8FFD9;
}
.pipe-step.active .pipe-ico { border-color: rgba(160, 190, 255, 0.55); }
.pipe-spin {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(160, 190, 255, 0.25);
  border-top-color: #EEF4FF;
  animation: pipeSpin 0.8s linear infinite;
}
@keyframes pipeSpin { to { transform: rotate(360deg); } }

/* Résultat : matérialisation bas → haut (comme l'app) */
.demo-result { display: flex; flex-direction: column; align-items: center; text-align: center; }
.demo-post-wrap {
  width: 74%;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 4, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07);
  animation: postMaterialize 1s cubic-bezier(.2, .85, .25, 1) both;
}
@keyframes postMaterialize {
  0%   { opacity: 0; transform: translateY(36px) scale(0.97); clip-path: inset(100% 0 0 0); }
  55%  { clip-path: inset(0 0 0 0); }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
.demo-post { display: block; width: 100%; height: auto; }
.demo-cached-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.demo-punchline {
  margin: 22px 0 18px;
  font-size: 18px; line-height: 1.45; color: var(--fg-dim);
}
.demo-punchline strong { color: var(--fg); }
.demo-remaining { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.demo-blocked { text-align: center; padding: 30px 20px; }
.demo-blocked-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.demo-blocked p { color: var(--fg-dim); font-size: 15px; margin: 0 0 24px; }

/* ───── 5. Comment ça marche ────────────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.how-card {
  position: relative;
  padding: 30px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.how-top { display: flex; align-items: flex-start; justify-content: space-between; }
.how-num {
  font-size: 84px; font-weight: 800; line-height: 0.9; letter-spacing: -0.05em;
  color: rgba(160, 195, 255, 0.35);
}
.how-ico {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  color: #c6d8ff;
  background: rgba(15, 30, 90, 0.5);
  border: 1px solid var(--border);
}
.how-label {
  margin-top: 18px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted);
}
.how-card h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; margin: 10px 0 8px; }
.how-card p { color: var(--fg-dim); font-size: 14.5px; line-height: 1.6; margin: 0 0 22px; }

.how-art { margin-top: auto; }
.how-identity, .how-board, .how-compose {
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(5, 13, 46, 0.5);
  padding: 16px;
}
.how-identity .hi-logo {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #1447B8, #2E7BE8);
  color: #fff; font-weight: 900; font-size: 18px;
  margin-bottom: 12px;
}
.hi-swatches { display: flex; gap: 6px; margin-bottom: 10px; }
.hi-swatches span { width: 18px; height: 18px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; }
.hi-font, .hi-mood { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

.how-board { display: flex; flex-direction: column; gap: 8px; }
.hb-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(10, 22, 64, 0.6);
  border: 1px solid rgba(80, 130, 255, 0.1);
}
.hb-score { font-size: 12px; font-weight: 700; color: rgba(175, 205, 255, 0.85); }
.hb-score.hot { color: #FFC9A0; }
.hb-title { font-size: 11.5px; color: var(--fg-dim); }

.how-compose { display: flex; align-items: center; gap: 14px; }
.hc-post {
  width: 86px; aspect-ratio: 4/5; border-radius: 8px;
  background: linear-gradient(165deg, #0A1E5E, #1447B8 70%, #2E7BE8);
  padding: 8px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.hc-band { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #2E7BE8; }
.hc-title { color: #fff; font-size: 12px; font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; }
.hc-brand { color: rgba(255,255,255,0.65); font-size: 6.5px; font-weight: 700; letter-spacing: 0.1em; margin-top: 5px; }
.hc-check { font-size: 12.5px; font-weight: 600; color: #B8FFD9; }

/* ───── 6. Formats ──────────────────────────────────────────────────────── */
.formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.format-card {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 22px;
  overflow: hidden;
}
.format-visual {
  border-radius: 13px; overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(5, 13, 46, 0.5);
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
}
.format-visual video, .format-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.format-head { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 8px; }
.format-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.format-cost {
  margin-left: auto;
  font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(110, 155, 255, 0.1);
  border: 1px solid var(--border);
}
.format-card p { color: var(--fg-dim); font-size: 14px; line-height: 1.55; margin: 0; }

/* ───── 7. Pricing solo ─────────────────────────────────────────────────── */
.pricing-solo { display: grid; place-items: center; margin-top: 48px; }
.pricing-solo .price-card { width: 620px; text-align: left; }
.price-mix { color: var(--fg-dim); font-size: 14.5px; margin-bottom: 22px; }
.price-compare { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ───── 8. FAQ ──────────────────────────────────────────────────────────── */
.section-faq .faq-list { margin-top: 44px; max-width: 860px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item.open { border-color: rgba(140, 180, 255, 0.4); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 22px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; text-align: left;
  color: var(--fg); font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
}
.faq-chev {
  font-size: 20px; font-weight: 400; color: var(--muted);
  width: 24px; text-align: center; flex-shrink: 0;
}
.faq-a { overflow: hidden; transition: max-height .35s cubic-bezier(.2, .8, .2, 1); }
.faq-a p {
  margin: 0; padding: 0 22px 20px;
  color: var(--fg-dim); font-size: 14.5px; line-height: 1.65;
  max-width: 720px;
}

/* ───── Footer v2 ───────────────────────────────────────────────────────── */
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-logo { width: 22px; height: 22px; object-fit: contain; opacity: 0.85; }
