/* ========================================================
   Adeus, Excel — Seus Primeiros Passos em R
   Página de vendas — visual sóbrio, produto técnico
   ======================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --text: #191c20;
  --text-muted: #565f6b;
  --border: #e3e6ea;
  --accent: #2E6E9E;
  --accent-dark: #1f4f73;
  --accent-tint: #eaf1f7;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --max-width: 1120px;
  --max-width-narrow: 720px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--accent-tint);
  color: var(--accent-dark);
  padding: 2px 6px;
  border-radius: 4px;
}

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; }

h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.text-center { text-align: center; }

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.note {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: scale(0.98); }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--sm { padding: 8px 16px; font-size: 0.88rem; }

/* ---------- sticky bar ---------- */
.stickybar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}
.stickybar.is-shown { transform: translateY(0); }
.stickybar__text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}
.stickybar .btn { flex-shrink: 0; }

/* ========================================================
   1. HERO
   ======================================================== */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero__headline {
  font-size: clamp(2.6rem, 1.9rem + 3vw, 4.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero__headline--sentence {
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem);
  max-width: 600px;
}
.hero__sub {
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  max-width: 480px;
}
.hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 28px;
}
.hero__footnote {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 20px;
}
.hero__price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero__price-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero__microline {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero__microline--faint {
  margin-top: 18px;
  color: var(--text-muted);
  opacity: 0.8;
}
.hero__visual {
  position: relative;
  min-height: 340px;
}
.hero__img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(20, 30, 45, 0.1);
}
.hero__img--back {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
}
.hero__img--front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 62%;
  box-shadow: 0 16px 40px rgba(20, 30, 45, 0.16);
}

/* ========================================================
   1b. POST-HERO STRIP (not just a PDF + support)
   ======================================================== */
.post-hero {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.not-just-pdf {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 18px;
}
.support-strip {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.support-strip p {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.support-strip a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.support-strip a:hover { text-decoration: underline; }

/* ========================================================
   2 / 8. check-list
   ======================================================== */
.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 1.02rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 3px;
}

/* ========================================================
   3. TANGIBILIZAÇÃO
   ======================================================== */
.task-list {
  list-style: none;
  counter-reset: task;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  max-width: 880px;
}
.task-list li {
  counter-increment: task;
  position: relative;
  padding-left: 42px;
  font-size: 1.02rem;
  font-weight: 500;
}
.task-list li::before {
  content: counter(task, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  border: 1px solid var(--border);
  background: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-intro {
  margin: 48px 0 24px;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.proof-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.proof-card img { width: 100%; height: auto; }
.proof-card figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
}
.proof-card--wide {
  grid-column: span 2;
}

/* ========================================================
   4. QUEBRAR BARREIRA
   ======================================================== */
.barrier__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.flow-steps {
  list-style: none;
  counter-reset: step;
  margin: 24px 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.flow-steps li {
  counter-increment: step;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  background: var(--accent-tint);
  color: var(--accent-dark);
  padding: 8px 14px;
  border-radius: 999px;
}
.flow-steps li::before {
  content: counter(step) ". ";
  font-weight: 600;
}
.pull-quote {
  font-size: 1.3rem;
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0 0;
  color: var(--text);
}
.pull-quote--left { text-align: left; }
.barrier__visual img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(20, 30, 45, 0.08);
}

/* ========================================================
   5. TIMELINE
   ======================================================== */
.timeline {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}
.timeline li {
  position: relative;
  padding: 0 0 34px 44px;
  border-left: 2px solid var(--border);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2px;
}
.timeline__desc {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}
.timeline__note {
  margin-top: 24px;
  font-style: italic;
  color: var(--text-muted);
}

/* ========================================================
   7. PARA QUEM É
   ======================================================== */
.for-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.for-list li {
  font-size: 1.05rem;
  padding-left: 4px;
}
.for-list__or {
  color: var(--accent);
  font-weight: 600;
  margin-right: 4px;
}

/* ========================================================
   9. FILMSTRIP
   ======================================================== */
.filmstrip {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 24px;
}
.filmstrip__item {
  flex: 0 0 auto;
  width: 168px;
  margin: 0;
  text-align: center;
}
.filmstrip__item--wide { width: 240px; }
.filmstrip__item img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}
.filmstrip__item--wide img { height: 156px; object-fit: contain; }
.filmstrip__item figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.filmstrip__arrow {
  flex: 0 0 auto;
  color: var(--border);
  font-size: 1.3rem;
}

.mock-doc {
  height: 118px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-doc__line {
  display: block;
  height: 7px;
  border-radius: 3px;
  background: var(--border);
}
.mock-doc__line--title { height: 10px; width: 70%; background: var(--accent-tint); }
.mock-doc__line--short { width: 40%; }

.mock-folder {
  height: 118px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  text-align: left;
}
.mock-folder__item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
}
.mock-folder__item--muted { color: var(--text-muted); }
.mock-folder--compact { height: auto; }

/* ========================================================
   11. OFERTA
   ======================================================== */
.offer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(20, 30, 45, 0.06);
}
.offer-card__product { max-width: 320px; margin: 0 auto 28px; }
.offer-card--compact { padding: 40px 40px; }
.offer-card__title { font-size: 1.4rem; margin-bottom: 8px; }
.offer-card__desc { color: var(--text-muted); margin-bottom: 20px; }
.offer-card__price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}
.offer-card__price-note {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}
.offer-card__access {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================================
   12. FECHAMENTO
   ======================================================== */
.closing__text {
  font-size: 1.15rem;
  color: var(--text-muted);
}
.closing__emphasis {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 32px;
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 260px; margin-top: 24px; }
  .barrier__grid { grid-template-columns: 1fr; }
  .barrier__visual { order: -1; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-card--wide { grid-column: span 2; }
  .task-list { grid-template-columns: 1fr; }
  .stickybar__text { font-size: 0.78rem; }
}

@media (max-width: 520px) {
  .section { padding: 64px 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card--wide { grid-column: span 1; }
  .offer-card { padding: 36px 22px; }
}
