/* rvrt — Ignite page, in the rvrt PRODUCT system.
 * Reuses topbar / btn / lead-modal / footer / reveal / wrap / eyebrow from rvrt-home.css.
 * Light body; the two fire heroes are ink (the fire reads on dark). The spark keeps its
 * ember color — that is the Ignite identity. Ember is the page's signal in place of moss.
 */
.site {
  --ember-core: #FFF3D9;
  --ember-amber: #F4A93C;
  --ember-orange: #E8731C;
  --ember-deep: #B8480E;
  --ember-text: #C2541A;   /* ember at text-grade contrast on light surfaces (AA) */
}

/* ---------- fire loader ---------- */
#loader[data-custom-loader] { padding: 0; gap: 0; }
#ignite-loader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ig-loader-cap { position: absolute; left: 0; right: 0; bottom: 16%; text-align: center; z-index: 2; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--ember-amber); text-shadow: 0 0 14px rgba(244,169,60,0.55); opacity: .9; transition: opacity 320ms var(--ease-out); }

/* ---------- hero (ink + fire) ---------- */
.ig-hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; padding: 132px 0 84px; background: var(--ink-950); color: var(--bone-100); }
#ignite-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ig-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 70% 70% at 50% 45%, transparent 34%, rgba(10,11,10,0.55) 80%, rgba(10,11,10,0.94) 100%); }
.ig-hero .wrap { position: relative; z-index: 2; }
.ig-hero-inner { max-width: 820px; }
.ig-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--bone-500); margin-bottom: 26px; display: inline-flex; align-items: center; gap: 8px; }
.ig-eyebrow .ig-brand { color: var(--bone-100); }
.ig-eyebrow .ig-arrow { color: var(--ember-orange); }
.ig-eyebrow .ig-name { color: var(--ember-amber); text-shadow: 0 0 16px rgba(244,169,60,0.45); }
.ig-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 6vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; margin: 0; color: var(--bone-50); }
.ig-hero h1 .hot { background: linear-gradient(180deg, var(--ember-core), var(--ember-amber) 55%, var(--ember-orange)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ig-hero h1 .alt { display: block; margin-top: 10px; color: var(--bone-300); font-weight: 500; font-size: 0.56em; letter-spacing: -0.025em; }
.ig-subhead { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--bone-100); opacity: 0.92; max-width: 680px; }
.ig-hero-sub { margin-top: 18px; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: var(--bone-100); }
.ig-hero-sub .hot-soft { color: var(--ember-amber); }
.ig-specs { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 16px; font-family: var(--font-mono); font-size: 13px; color: var(--bone-500); }
.ig-specs span { display: inline-flex; align-items: center; }
.ig-specs span:not(:last-child)::after { content: "·"; color: var(--ember-orange); margin-left: 16px; }
.ig-hero .ig-ctas { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ember CTA — the one place a fire gradient is allowed (Ignite identity) */
.btn-ember { display: inline-flex; align-items: center; gap: 9px; padding: 15px 26px; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; border: 1px solid transparent; background: linear-gradient(180deg, var(--ember-amber), var(--ember-orange)); color: #2A1606; transition: box-shadow var(--dur-mid) var(--ease-out), transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out); }
.btn-ember:hover { box-shadow: 0 8px 30px -6px rgba(232,115,28,0.55), 0 0 22px rgba(244,169,60,0.4); transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost { display: inline-flex; align-items: center; gap: 9px; padding: 15px 26px; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 16px; font-weight: 600; cursor: pointer; border: 1px solid var(--ink-600); background: transparent; color: var(--bone-100); transition: border-color var(--dur-fast), color var(--dur-fast); }
.btn-ghost:hover { border-color: var(--ember-amber); color: var(--ember-amber); }

/* ---------- body sections (light) ---------- */
.ig-section { padding: 104px 0; border-bottom: 1px solid var(--border-2); position: relative; }
.ig-section.deep { background: var(--surface-2); }
.ig-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--ember-text); text-transform: uppercase; margin-bottom: 20px; display: inline-flex; align-items: center; gap: 8px; }
.ig-num .slash { color: var(--ember-orange); }
.ig-section h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--text); max-width: 22ch; margin: 0; }
.ig-prose { max-width: 760px; }
.ig-prose p { margin-top: 20px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.ig-prose p.muted { color: var(--text-3); }
.ig-prose p .hot { color: var(--ember-text); font-weight: 600; }

/* tags */
.ig-tags { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 9px; }
.ig-tag { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .03em; color: var(--text-2); background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-pill); padding: 8px 16px; }

/* framework flow pills */
.ig-flow { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.ig-flow .ig-pill { font-family: var(--font-mono); font-size: 13px; color: var(--text); background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-md); padding: 10px 15px; white-space: nowrap; }
.ig-flow .ig-flow-arrow { color: var(--ember-orange); font-family: var(--font-mono); }
.ig-flow + .ig-prose { margin-top: 36px; }

/* timeline (seção 03) */
.ig-timeline { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-2); border: 1px solid var(--border-2); }
.ig-rail { position: absolute; top: 30px; left: 0; right: 0; height: 2px; background: var(--border-2); z-index: 0; }
.ig-spark-runner { position: absolute; top: 31px; left: calc(2% + (96% * var(--p, 0))); transform: translate(-50%, -50%); width: 24px; height: 24px; border-radius: var(--radius-pill); z-index: 4; background: radial-gradient(circle, var(--ember-core), var(--ember-amber) 40%, transparent 72%); box-shadow: 0 0 22px 5px rgba(244,169,60,0.6), 0 0 46px 11px rgba(232,115,28,0.38); transition: left 120ms linear; pointer-events: none; }
.ig-step { position: relative; z-index: 1; background: var(--surface); padding: 54px 22px 24px; transition: background 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.ig-step .ig-step-dot { position: absolute; top: 18px; left: 22px; width: 24px; height: 24px; border-radius: var(--radius-pill); border: 1.5px solid var(--border-control); background: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); transition: all 500ms var(--ease-out); }
.ig-step .ig-step-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.ig-step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--text); margin: 0 0 12px; letter-spacing: -0.01em; }
.ig-step p { font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 0; }
.ig-step.is-lit { background: color-mix(in srgb, var(--ember-amber) 8%, var(--surface)); box-shadow: inset 0 2px 0 0 var(--ember-orange); }
.ig-step.is-lit .ig-step-dot { border-color: var(--ember-amber); background: linear-gradient(180deg, var(--ember-amber), var(--ember-orange)); color: #2A1606; box-shadow: 0 0 16px rgba(244,169,60,calc(0.35 + 0.45 * var(--heat, 0.5))); }
.ig-step.is-lit .ig-step-tag { color: var(--ember-text); }

/* takeaways — bordered cells, ember tick */
.ig-takeaways { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-2); border: 1px solid var(--border-2); }
.ig-take { background: var(--surface); padding: 28px 28px; }
.ig-take .ig-take-tick { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--ember-orange); margin-bottom: 16px; }
.ig-take h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); margin: 0 0 8px; }
.ig-take p { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; }

/* close (ink + fire) */
.ig-close { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--ink-950); }
#ignite-close-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ig-close::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 70% 70% at 50% 55%, transparent 40%, rgba(10,11,10,0.6) 85%); }
.ig-close .wrap { position: relative; z-index: 2; }
.ig-close h2 { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; max-width: 900px; margin: 0 auto; color: var(--bone-50); }
.ig-close h2 .hot { background: linear-gradient(180deg, var(--ember-core), var(--ember-amber) 55%, var(--ember-orange)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ig-close .ig-ctas { margin-top: 42px; display: flex; justify-content: center; }

@media (max-width: 900px) {
  .ig-section { padding: 72px 0; }
  .ig-timeline { grid-template-columns: 1fr; }
  .ig-rail { top: 0; bottom: 0; left: 30px; right: auto; width: 2px; height: auto; }
  .ig-spark-runner { top: calc(0% + (100% * var(--p, 0))); left: 30px; transition: top 120ms linear; }
  .ig-step { padding: 22px 22px 22px 56px; }
  .ig-step .ig-step-dot { top: 22px; left: 18px; }
  .ig-takeaways { grid-template-columns: 1fr; }
  .ig-hero { padding: 108px 0 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-spark-runner, .ig-step { transition: none; }
}
