/**
 * seo.css — pt-BR search guide pages (/por-que-vendas-nao-batem-com-repasse-mercado-livre/,
 * /quanto-mercado-livre-desconta-de-cada-venda/, /lucro-real-por-produto-sku-mercado-livre/).
 *
 * External CSS only (CSP-safe). Colors mirror themes/mercado.css. These pages
 * do not use tailwind.css, so the Tailwind purge never sees them.
 */

.seo-page {
  margin: 0;
  background: #fff;
  color: #15181f;
  font-family: Inter, "Helvetica Neue", system-ui, sans-serif;
  line-height: 1.65;
  text-size-adjust: 100%;
}

.seo-page a {
  color: #0a5038;
  text-underline-offset: 2px;
}

.seo-page a:hover {
  color: #10714e;
}

.seo-header {
  border-bottom: 1px solid #e3e7ec;
  background: #fff;
}

.seo-header-inner,
.seo-main,
.seo-footer-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding-inline: 1rem;
}

.seo-header-inner {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #15181f;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.seo-brand:hover {
  color: #15181f;
}

.seo-main {
  padding-block: 2rem 3rem;
}

.seo-crumbs {
  margin: 0 0 1rem;
  color: #5c6a7e;
  font-size: 0.875rem;
}

.seo-main h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.seo-meta {
  margin: 0 0 1.5rem;
  color: #5c6a7e;
  font-size: 0.875rem;
}

.seo-main h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.seo-main h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.seo-main p,
.seo-main li {
  font-size: 1rem;
}

.seo-main ul,
.seo-main ol {
  padding-left: 1.4rem;
}

.seo-main li {
  margin: 0.45rem 0;
}

.seo-answer {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(21, 148, 104, 0.24);
  border-left-width: 4px;
  border-radius: 12px;
  background: rgba(21, 148, 104, 0.08);
}

.seo-answer-label {
  margin: 0 0 0.35rem;
  color: #0a5038;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seo-answer p:last-child {
  margin-bottom: 0;
}

.seo-formula {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f5f7fa;
  font-weight: 600;
}

.seo-example {
  margin: 1.25rem 0;
  border: 1px solid #e3e7ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: rgba(0, 55, 112, 0.08) 0 1px 3px;
}

.seo-example-flag {
  margin: 0;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #e3e7ec;
  border-radius: 12px 12px 0 0;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.85rem;
  font-weight: 700;
}

.seo-example-body {
  padding: 0.75rem 1rem 1rem;
}

.seo-example-body > p:first-child {
  margin-top: 0.25rem;
}

.seo-table-wrap {
  overflow-x: auto;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.seo-table th,
.seo-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid #e3e7ec;
  text-align: left;
  vertical-align: top;
}

.seo-table th {
  color: #5c6a7e;
  font-size: 0.8rem;
  font-weight: 600;
}

.seo-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.seo-table .total th,
.seo-table .total td {
  border-bottom: 0;
  font-weight: 700;
}

.seo-table .neg {
  color: #c23a3f;
}

.seo-cta {
  margin: 2rem 0;
  padding: 1.25rem;
  border-radius: 12px;
  background: #f5f7fa;
  text-align: center;
}

.seo-cta p {
  margin: 0 0 0.75rem;
}

.seo-cta .seo-cta-note {
  margin: 0.75rem 0 0;
  color: #5c6a7e;
  font-size: 0.875rem;
}

.seo-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #10714e;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 113, 78, 0.35);
}

.seo-page a.seo-cta-btn,
.seo-page a.seo-cta-btn:hover {
  color: #fff;
}

.seo-cta-btn:hover {
  background: #0a5038;
}

.seo-cta .seo-cta-alt {
  margin: 0.75rem 0 0;
  color: #5c6a7e;
  font-size: 0.9rem;
}

.seo-page a.seo-cta-quiet {
  color: #5c6a7e;
  text-decoration: underline;
}

.seo-page a.seo-cta-quiet:hover {
  color: #10714e;
}

.seo-faq h3 {
  margin-top: 1.25rem;
}

.seo-faq p {
  margin: 0.25rem 0 0;
}

.seo-sources li,
.seo-related li {
  overflow-wrap: anywhere;
}

.seo-disclaimer {
  margin-top: 2rem;
  color: #5c6a7e;
  font-size: 0.875rem;
}

.seo-footer {
  border-top: 1px solid #e3e7ec;
  background: #f5f7fa;
  color: #5c6a7e;
  font-size: 0.875rem;
}

.seo-footer-inner {
  padding-block: 1.5rem 5rem;
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.seo-footer-links li {
  margin: 0;
  font-size: 0.875rem;
}

.seo-footer .consent-reconfigure-link {
  padding: 0;
  border: 0;
  background: none;
  color: #0a5038;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 40rem) {
  .seo-main h1 {
    font-size: 2.1rem;
  }

  .seo-main {
    padding-block: 3rem 4rem;
  }
}
