/* Blog WHITE — funil informativo + ebook discreto */

:root {
  --wf-bg: #f4f6f9;
  --wf-surface: #ffffff;
  --wf-text: #1a2332;
  --wf-muted: #5c6b7f;
  --wf-line: #e2e8f0;
  --wf-primary: #0b5cab;
  --wf-primary-dark: #084a8a;
  --wf-accent: #0ea5e9;
  --wf-ebook: #f0f7ff;
  --wf-ebook-border: #c7ddfc;
  --wf-radius: 14px;
  --wf-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --wf-font: "Inter", system-ui, -apple-system, sans-serif;
  --wf-serif: "Merriweather", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.wf-body {
  margin: 0;
  font-family: var(--wf-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wf-text);
  background: var(--wf-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--wf-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wf-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.wf-header {
  background: var(--wf-surface);
  border-bottom: 1px solid var(--wf-line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
}

.wf-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wf-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.wf-logo:hover {
  text-decoration: none;
}

.wf-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--wf-primary), var(--wf-accent));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-logo__text {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  display: block;
}

.wf-logo__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--wf-muted);
  letter-spacing: 0.02em;
}

.wf-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.wf-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--wf-muted);
  text-decoration: none;
}

.wf-nav a:hover {
  color: var(--wf-primary);
}

/* Hero */
.wf-hero {
  padding: 32px 0 28px;
  background: linear-gradient(180deg, #e8f2fc 0%, var(--wf-bg) 100%);
}

.wf-hero--soft {
  border-bottom: 1px solid var(--wf-line);
}

.wf-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wf-primary);
  margin: 0 0 10px;
}

.wf-title {
  font-family: var(--wf-serif);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--wf-text);
}

.wf-meta {
  font-size: 13px;
  color: var(--wf-muted);
  margin: 0;
}

.wf-meta i {
  margin-right: 4px;
  opacity: 0.75;
}

/* Layout */
.wf-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 32px 20px 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .wf-layout {
    grid-template-columns: 1fr;
  }
}

/* Article */
.wf-article {
  background: var(--wf-surface);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow);
  padding: 28px 32px 32px;
  border: 1px solid var(--wf-line);
}

@media (max-width: 600px) {
  .wf-article {
    padding: 20px 18px 24px;
  }
}

.wf-cover {
  height: 200px;
  border-radius: 10px;
  margin-bottom: 28px;
  background:
    linear-gradient(135deg, rgba(11, 92, 171, 0.15) 0%, rgba(14, 165, 233, 0.2) 50%, rgba(11, 92, 171, 0.08) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230b5cab' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border: 1px solid var(--wf-line);
}

.wf-section {
  margin-bottom: 24px;
}

.wf-h2 {
  font-family: var(--wf-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--wf-text);
  line-height: 1.35;
}

.wf-p {
  color: var(--wf-muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 14px;
}

.wf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--wf-line);
}

.wf-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--wf-primary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #d4e4f7;
}

.wf-tag:hover {
  background: #dceaf9;
  text-decoration: none;
}

.wf-disclaimer {
  font-size: 12px;
  color: #94a3b8;
  margin: 24px 0 0;
  line-height: 1.5;
}

/* Sidebar */
.wf-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* E-book card — venda discreta */
.wf-ebook {
  background: var(--wf-ebook);
  border: 1px solid var(--wf-ebook-border);
  border-radius: var(--wf-radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(11, 92, 171, 0.08);
}

.wf-ebook__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wf-primary);
  background: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--wf-ebook-border);
  margin-bottom: 12px;
}

.wf-ebook__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wf-primary), var(--wf-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.wf-ebook__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
  color: var(--wf-text);
}

.wf-ebook__text {
  font-size: 13px;
  color: var(--wf-muted);
  margin: 0 0 12px;
  line-height: 1.55;
}

.wf-ebook__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 12px;
  color: var(--wf-muted);
  text-align: left;
}

.wf-ebook__list li {
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.wf-ebook__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wf-primary);
  font-weight: 700;
  font-size: 11px;
}

.wf-ebook__cta {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--wf-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.wf-ebook__cta:hover {
  background: var(--wf-primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.wf-ebook__note {
  font-size: 11px;
  color: #94a3b8;
  margin: 10px 0 0;
}

.wf-widget {
  background: var(--wf-surface);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 18px 20px;
  box-shadow: var(--wf-shadow);
}

.wf-widget--muted {
  background: #f8fafc;
}

.wf-widget__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--wf-text);
}

.wf-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wf-widget__list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--wf-line);
  font-size: 14px;
  line-height: 1.4;
}

.wf-widget__list li:last-child {
  border-bottom: none;
}

.wf-widget__list a {
  color: var(--wf-muted);
  text-decoration: none;
}

.wf-widget__list a:hover {
  color: var(--wf-primary);
}

.wf-widget__p {
  font-size: 13px;
  color: var(--wf-muted);
  margin: 0;
  line-height: 1.55;
}

/* Footer */
.wf-footer {
  background: var(--wf-surface);
  border-top: 1px solid var(--wf-line);
  padding: 24px 20px;
  margin-top: 8px;
}

.wf-footer__inner {
  text-align: center;
  font-size: 13px;
  color: var(--wf-muted);
}

.wf-footer__inner p {
  margin: 4px 0;
}

.wf-footer a {
  color: var(--wf-muted);
}

.wf-footer a:hover {
  color: var(--wf-primary);
}

/* Legacy class aliases (templates antigos) */
.page-funnel-white .white-funnel-main,
.white-funnel-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.white-funnel-article {
  background: var(--wf-surface);
  border-radius: var(--wf-radius);
  padding: 24px 32px;
  box-shadow: var(--wf-shadow);
}

.white-funnel-eyebrow { color: var(--wf-primary); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.white-funnel-title { font-family: var(--wf-serif); font-size: 1.75rem; margin: 0 0 16px; }
.white-funnel-p { color: var(--wf-muted); line-height: 1.7; }

/* Fluxo WHITE — espelha etapas BLACK */
.wf-body--funnel .wf-header__inner {
  flex-wrap: wrap;
}

.wf-header__progress {
  flex: 1;
  min-width: 180px;
  max-width: 280px;
}

.wf-header__progress-label {
  display: block;
  font-size: 12px;
  color: var(--wf-muted);
  margin-bottom: 6px;
}

.wf-header__progress-bar {
  height: 6px;
  background: var(--wf-line);
  border-radius: 999px;
  overflow: hidden;
}

.wf-header__progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--wf-primary), var(--wf-accent));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.wf-flow {
  padding: 16px 20px 0;
}

.wf-flow__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--wf-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.wf-flow__track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wf-flow__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--wf-line);
  border-radius: 999px;
  background: var(--wf-surface);
  font-size: 12px;
  color: var(--wf-muted);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.wf-flow__item:hover {
  text-decoration: none;
  border-color: var(--wf-primary);
  color: var(--wf-primary);
}

.wf-flow__item.is-current {
  border-color: var(--wf-primary);
  background: #eef4ff;
  color: var(--wf-primary);
  font-weight: 600;
}

.wf-flow__item.is-done {
  border-color: #c6e7d4;
  background: #f0fdf4;
  color: #166534;
}

.wf-flow__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wf-line);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wf-flow__item.is-current .wf-flow__dot {
  background: var(--wf-primary);
  color: #fff;
}

.wf-flow__item.is-done .wf-flow__dot {
  background: #22c55e;
  color: #fff;
}

.wf-funnel-card {
  background: var(--wf-surface);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow);
  overflow: hidden;
}

.wf-funnel-card__head {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--wf-line);
  background: linear-gradient(180deg, #f8fafc 0%, var(--wf-surface) 100%);
}

.wf-funnel-card__title {
  font-family: var(--wf-serif);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  margin: 8px 0 12px;
  line-height: 1.3;
  color: var(--wf-text);
}

.wf-funnel-card__summary {
  margin: 0;
  color: var(--wf-muted);
  font-size: 15px;
  line-height: 1.6;
}

.wf-funnel-card__body {
  padding: 20px 28px 28px;
}

.wf-list {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--wf-muted);
}

.wf-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.wf-funnel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--wf-line);
}

.wf-funnel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.wf-funnel-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.wf-funnel-cta--primary {
  background: linear-gradient(135deg, var(--wf-primary), var(--wf-primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 92, 171, 0.35);
  flex: 1;
  justify-content: center;
  min-width: 200px;
}

.wf-funnel-cta--ghost {
  background: var(--wf-bg);
  color: var(--wf-muted);
  border: 1px solid var(--wf-line);
}

.wf-widget--flow .wf-flow-map {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wf-flow-map li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--wf-line);
}

.wf-flow-map li:last-child {
  border-bottom: none;
}

.wf-flow-map a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  color: var(--wf-muted);
  text-decoration: none;
}

.wf-flow-map li.is-current a {
  color: var(--wf-primary);
  font-weight: 600;
}

.wf-flow-map li.is-done a {
  color: #166534;
}

.wf-widget__p--small {
  font-size: 12px;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .wf-flow__label {
    max-width: 88px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .wf-funnel-card__head,
  .wf-funnel-card__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .wf-funnel-actions {
    flex-direction: column;
  }

  .wf-funnel-cta {
    width: 100%;
  }
}

.wf-plumify-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: #eef6ff;
  border: 1px solid #c7ddfc;
  font-size: 14px;
  color: #1e3a5f;
  line-height: 1.5;
}

.wf-plumify-note i {
  color: var(--wf-primary);
  margin-top: 2px;
}

.wf-ebook--hero {
  border: 2px solid var(--wf-ebook-border);
}

/* Formulários e checkout WHITE */
.wf-form {
  margin: 20px 0 8px;
}

.wf-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--wf-text);
  margin: 14px 0 6px;
}

.wf-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--wf-font);
  border: 1px solid var(--wf-line);
  border-radius: 10px;
  background: #fff;
  color: var(--wf-text);
}

.wf-input:focus {
  outline: none;
  border-color: var(--wf-primary);
  box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.12);
}

.wf-form-hint {
  font-size: 13px;
  color: var(--wf-muted);
  margin: 10px 0 0;
  line-height: 1.5;
}

.wf-form-submit {
  margin-top: 20px;
  width: 100%;
}

.wf-legal-links {
  font-size: 13px;
  color: var(--wf-muted);
  margin: 12px 0 0;
}

.wf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--wf-muted);
  margin: 18px 0;
  line-height: 1.5;
}

.wf-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.wf-order {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid var(--wf-line);
  border-radius: 12px;
  background: #fafbfd;
}

.wf-order__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--wf-line);
  font-size: 14px;
}

.wf-order__total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--wf-primary);
}

.wf-pix-shell {
  margin: 16px 0;
}

.wf-pix-state {
  text-align: center;
  padding: 20px 12px;
}

.wf-pix-state[hidden] {
  display: none !important;
}

.wf-pix-error-msg {
  color: #b91c1c;
  margin-bottom: 12px;
}

.wf-pix-success {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.wf-pix-details {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  text-align: left;
}

.wf-pix-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--wf-line);
}

.wf-pix-detail span {
  color: var(--wf-muted);
}

.wf-pix-qr-wrap {
  margin: 16px auto;
  max-width: 220px;
}

.wf-pix-qr {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--wf-line);
}

.wf-pix-code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.4;
  padding: 12px;
  background: #f1f5f9;
  border-radius: 8px;
  word-break: break-all;
  margin: 12px 0;
  text-align: left;
}

.wf-download-box {
  text-align: center;
  padding: 12px 0 8px;
}

.wf-footer .wf-legal-links {
  margin-top: 8px;
  text-align: center;
}
