@import url("./boxcerto-blog.css");

body.blog-home,
body.blog-article,
body.seo-hub-page,
body.lead-page {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.blog-home nav,
body.blog-article nav,
body.lead-page nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(160%);
}

.nav-inner {
  width: min(1240px, calc(100% - clamp(40px, 6vw, 80px)));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.money-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.money-nav-links > a:not(.nav-cta) {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 750;
}

.nav-cta,
.btn-read,
.hero-primary,
.btn-cta-white {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding: 0 20px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 30px rgba(79, 70, 229, .22);
  font-weight: 800;
  text-decoration: none;
}

.nav-cta:hover,
.btn-read:hover,
.hero-primary:hover,
.btn-cta-white:hover {
  color: #fff;
  background: var(--brand-deep);
}

.hero-secondary,
.btn-cta-outline,
.btn-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink-2);
  background: var(--bg-panel);
  font-weight: 800;
  text-decoration: none;
}

.hero,
.lead-hero {
  width: min(1240px, calc(100% - clamp(40px, 6vw, 80px)));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 0 clamp(36px, 5vw, 62px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero:not(:has(.hero-copy)) {
  display: block;
  max-width: 900px;
  text-align: center;
}

.hero-copy {
  min-width: 0;
}

.hero-tag,
.eyebrow,
.section-kicker,
.article-inline-cta > strong,
.product-proof-block span,
.blog-trial-cta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1,
.lead-copy h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero:not(:has(.hero-copy)) h1,
.hero:not(:has(.hero-copy)) .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.hero p,
.hero-sub,
.lead-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-3);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.cta-actions,
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.container,
.seo-hub,
.lead-after {
  width: min(1120px, calc(100% - clamp(40px, 6vw, 80px)));
  margin: 0 auto;
}

.container {
  padding: 34px 0 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 34px;
  color: var(--ink-4);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--ink-3);
  font-weight: 700;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h2 {
  margin: 56px 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.article p {
  margin: 0 0 22px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.75;
}

.article ul,
.article ol {
  margin: 0 0 28px;
  padding-left: 0;
  display: grid;
  gap: 12px;
}

.article li {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.article ul li::before,
.article ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
  transform: rotate(45deg);
}

.article ol {
  counter-reset: step;
}

.article ol li {
  counter-increment: step;
}

.article ol li::before {
  content: counter(step);
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  transform: none;
  font-family: var(--font-mono);
  font-size: 11px;
}

.article-inline-cta,
.box-cta,
.blog-trial-cta,
.cta-banner {
  position: relative;
  overflow: hidden;
  margin: 48px 0;
  padding: clamp(26px, 4vw, 34px);
  color: #fff;
  background: #14131A;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.article-inline-cta::after,
.box-cta::after,
.blog-trial-cta::after,
.cta-banner::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 560px;
  height: 320px;
  background: radial-gradient(circle, rgba(79,70,229,.42), transparent 65%);
  pointer-events: none;
}

.article-inline-cta > *,
.box-cta > *,
.blog-trial-cta > *,
.cta-banner > * {
  position: relative;
  z-index: 1;
}

.article-inline-cta p,
.box-cta p,
.blog-trial-cta p,
.cta-banner p {
  color: rgba(255,255,255,.72);
}

.article-inline-cta h2,
.box-cta h2,
.box-cta h3,
.blog-trial-cta h2,
.cta-banner h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
}

.box-destaque,
.box-alerta,
.callout,
.lead-proof-mini {
  margin: 30px 0;
  padding: 22px 24px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.box-destaque strong,
.box-alerta strong,
.callout strong,
.lead-proof-mini strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tabela {
  width: 100%;
  margin: 28px 0 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  border-spacing: 0;
  background: var(--bg-panel);
}

.tabela th,
.tabela td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--ink-2);
  font-size: 15px;
}

.tabela th {
  color: var(--ink);
  background: var(--bg-sunken);
  font-weight: 800;
}

.tabela tr:last-child td {
  border-bottom: 0;
}

.product-proof-block,
.lead-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  margin: 56px 0;
  padding: clamp(28px, 5vw, 54px);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.product-proof-block h2,
.section-heading h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.product-proof-block p,
.section-heading p {
  color: var(--ink-3);
  font-size: 17px;
}

.proof-window {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.proof-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.proof-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.proof-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-3);
}

.proof-row.strong {
  color: var(--ink);
  border-color: var(--brand-soft);
  background: var(--brand-tint);
}

.proof-row b {
  color: var(--brand);
}

.related {
  max-width: 920px;
  margin: 70px auto 0;
}

.related h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.related-grid,
.commercial-grid,
.seo-topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card,
.commercial-grid a,
.seo-topic-list a {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 18px;
  color: var(--ink);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.related-card:hover,
.commercial-grid a:hover,
.seo-topic-list a:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.related-card span,
.commercial-grid span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.related-card strong,
.commercial-grid strong,
.seo-topic-list a {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.lead-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.lead-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.lead-benefits span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--ink-2);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 700;
}

.lead-form-card {
  padding: clamp(24px, 4vw, 34px);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.lead-form-card h2,
.lead-success h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead-form-card p,
.lead-form-card small,
.lead-success p {
  color: var(--ink-3);
}

.lead-form {
  display: grid;
  gap: 10px;
  margin: 22px 0 12px;
}

.lead-form label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 14px;
  color: var(--ink);
  background: var(--bg-sunken);
}

.lead-form button {
  margin-top: 8px;
  cursor: pointer;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.lead-error {
  margin: 0;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
}

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

.success-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.lead-success .btn-read,
.lead-success .btn-link {
  width: 100%;
  margin-top: 12px;
}

.seo-hub-stats {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.seo-hub-stats strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.seo-hub-stats span {
  padding: 12px 14px;
  color: var(--ink-2);
  background: var(--bg-sunken);
  border-radius: var(--r-md);
  font-weight: 700;
}

.money-hero {
  align-items: start;
}

.money-form-card {
  align-self: stretch;
}

.money-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.money-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.money-split h2 {
  max-width: 720px;
  margin: 8px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.money-split p {
  max-width: 680px;
  color: var(--ink-3);
  font-size: 19px;
  line-height: 1.62;
}

.money-proof {
  min-height: 260px;
}

.money-feature-grid article {
  display: grid;
  gap: 9px;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.money-feature-grid article span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.money-feature-grid article strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.money-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 34px 0 52px;
}

.money-before-after > div {
  padding: clamp(22px, 4vw, 34px);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.money-before-after > div:last-child {
  background: var(--brand-tint);
  border-color: var(--brand-soft);
}

.money-before-after span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.money-before-after strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.money-before-after p {
  margin: 0;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.6;
}

.money-faq {
  margin-bottom: 58px;
}

.lead-magnet-grid,
.seo-hub-section {
  margin: 64px 0;
}

.compact-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.numeros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.numero-card {
  padding: 22px;
  text-align: center;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.numero-card .val {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
}

.ok {
  color: var(--green-deep);
  font-weight: 800;
}

.nok {
  color: #dc2626;
  font-weight: 800;
}

body.blog-home footer,
body.blog-article footer,
body.lead-page footer {
  padding: 46px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
  color: var(--ink-4);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-links a {
  color: var(--ink-3);
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero,
  .lead-hero,
  .product-proof-block,
  .lead-after,
  .money-split {
    grid-template-columns: 1fr;
  }

  .related-grid,
  .commercial-grid,
  .seo-topic-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-inner,
  .hero,
  .lead-hero,
  .container,
  .seo-hub,
  .lead-after {
    width: min(100% - 32px, 1240px);
  }

  .nav-inner {
    height: auto;
    min-height: 64px;
    align-items: center;
  }

  .brand span {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero,
  .lead-hero {
    padding-top: 34px;
  }

  .lead-benefits,
  .related-grid,
  .commercial-grid,
  .seo-topic-list,
  .money-before-after {
    grid-template-columns: 1fr;
  }

  .money-nav-links > a:not(.nav-cta) {
    display: none;
  }

  .article p {
    font-size: 17px;
  }

  .product-proof-block,
  .lead-after,
  .article-inline-cta,
  .box-cta,
  .blog-trial-cta,
  .cta-banner {
    border-radius: 18px;
  }

  .tabela {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
