/* ==========================================================================
   SGMAN — Páginas de SEO (recursos e comparativos)
   Complementa lp_style_v2.css. Carregar DEPOIS dele.
   ========================================================================== */

/* ── Breadcrumb ─────────────────────────────────── */
.sg-breadcrumb {
  padding: 96px 60px 0;
  background: #0a0f1e;
}
.sg-breadcrumb ol {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1200px;
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: .82rem; color: var(--text-muted);
}
.sg-breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.sg-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.sg-breadcrumb a:hover { color: var(--accent); }
.sg-breadcrumb [aria-current] { color: #e8eaf0; }

/* ── Hero ───────────────────────────────────────── */
.sg-hero {
  min-height: auto !important;
  padding-top: 32px !important;
  align-items: center;
  max-width: none;
}
.sg-hero__text { flex: 1 1 420px; max-width: 600px; display: flex; flex-direction: column; gap: 14px; }
.sg-hero__text h1 { margin: 0; }
.sg-hero__text h2 { margin: 0; }
.sg-hero__text p  { margin: 0; }
.sg-hero__text--center { max-width: 920px; text-align: center; align-items: center; }
.sg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sg-hero__visual { flex: 1 1 420px; max-width: 620px; display: flex; justify-content: center; }

.sg-shot {
  margin: 0; width: 100%;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: #0d1b35;
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 60px rgba(0,229,160,.08);
}
.sg-shot img { display: block; width: 100%; height: auto; }
.sg-shot--phone { max-width: 300px; border-radius: 28px; padding:10px }
.sg-shot--plain { background: transparent; border: 0; box-shadow: none; max-width: 460px; }
.sg-shot--plain img { filter: drop-shadow(0 20px 40px rgba(0,229,160,.18)); }

/* ── Bandas de seção ────────────────────────────── */
.sg-band     { background: linear-gradient(135deg, #0a0f1e 0%, #0d1b35 100%); border-top: 1px solid rgba(255,255,255,.06); }
.sg-band-alt { background: linear-gradient(135deg, #060c1a 0%, #0a1428 100%); border-top: 1px solid rgba(0,229,160,.08); }
.lp-section h2.sg-h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin: 0; }
.sg-center { width: 100%; display: flex; justify-content: center; }

/* ── Prosa (conteúdo longo de SEO) ──────────────── */
.sg-prose { width: 100%; max-width: 820px; margin: 0 auto; }
.lp-section .sg-prose h2 {
  color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 800;
  margin: 40px 0 14px; letter-spacing: -.01em;
}
.lp-section .sg-prose h2:first-child { margin-top: 0; }
.lp-section .sg-prose h3 { color: #fff; font-weight: 700; font-size: 1.1rem; margin: 28px 0 10px; }
.lp-section .sg-prose p,
.sg-prose li { color: #aab3c3; font-size: 1.02rem; line-height: 1.8; }
.sg-prose strong { color: #e8eaf0; }
.sg-prose a { color: var(--accent); }
.sg-prose ul:not(.checklist-li) { padding-left: 20px; }
.sg-formula {
  margin: 18px 0; padding: 16px 20px;
  background: rgba(0,229,160,.06); border: 1px solid rgba(0,229,160,.25);
  border-left: 4px solid var(--accent); border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #e8eaf0; font-size: .95rem; overflow-x: auto;
}
.sg-callout {
  margin: 22px 0; padding: 18px 20px; border-radius: 12px;
  background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.3);
  color: #cfd6e3; line-height: 1.7;
}

/* ── Benefícios ─────────────────────────────────── */
.sg-benefits {
  width: 100%; max-width: 1140px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.sg-benefit {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 26px 22px; transition: .25s;
}
.sg-benefit:hover { border-color: rgba(0,229,160,.35); transform: translateY(-4px); }
.lp-section .sg-benefit h3 { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 14px 0 8px; }
.lp-section .sg-benefit p  { margin: 0; font-size: .92rem; line-height: 1.65; }

/* ── Passos ─────────────────────────────────────── */
.sg-steps {
  list-style: none; counter-reset: step; padding: 0; margin: 0 auto;
  width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 14px;
}
.sg-steps > li {
  counter-increment: step; position: relative;
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 20px 22px;
}
.sg-steps > li::before {
  content: counter(step);
  flex: 0 0 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0f1e; font-weight: 900;
}
.lp-section .sg-steps h3 { color: #fff; font-weight: 700; font-size: 1.02rem; margin: 6px 0 4px; }
.lp-section .sg-steps p  { margin: 0; font-size: .93rem; line-height: 1.65; }
.sg-steps--compact { margin-top: 20px; }

/* ── Split (texto + imagem) ─────────────────────── */
.sg-split { align-items: center; }
.sg-split__text { flex: 1 1 420px; max-width: 560px; margin: 0; }
.sg-split__visual { flex: 1 1 380px; max-width: 560px; }

/* ── FAQ ────────────────────────────────────────── */
.sg-faq { width: 100%; max-width: 860px; margin: 0 auto; }
.sg-faq details {
  border: 1px solid rgba(0,229,160,.2); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 14px; background: rgba(255,255,255,.03);
}
.sg-faq summary {
  cursor: pointer; font-weight: 700; color: #fff; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.sg-faq summary::-webkit-details-marker { display: none; }
.sg-faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.sg-faq details[open] summary::after { content: '–'; }
.lp-section .sg-faq-a p { margin: 12px 0 0; color: #aab3c3; line-height: 1.75; }

/* ── Cards de link (relacionados / hubs) ────────── */
.sg-link-grid {
  width: 100%; max-width: 1140px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px;
}
.sg-link-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: .25s;
}
.sg-link-card:hover {
  transform: translateY(-4px); border-color: rgba(0,229,160,.4);
  box-shadow: 0 12px 30px rgba(0,0,0,.35); text-decoration: none;
}
.sg-link-card__title { color: #fff; font-weight: 700; font-size: 1rem; margin-top: 6px; }
.sg-link-card__desc  { color: #8892a4; font-size: .88rem; line-height: 1.55; flex: 1; }
.sg-link-card__more  { color: var(--accent); font-size: .85rem; font-weight: 600; }

/* ── Comparativo: VS ────────────────────────────── */
.sg-vs {
  width: 100%; margin-top: 18px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; text-align: left;
}
.sg-vs__side {
  border-radius: 16px; padding: 20px 22px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.sg-vs__side--us { background: rgba(0,229,160,.07); border-color: rgba(0,229,160,.35); }
.sg-vs__name { display: block; color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 6px; }
.lp-section .sg-vs__side p { margin: 0; font-size: .92rem; line-height: 1.6; }
.sg-vs__mid {
  align-self: center; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  color: #fff; font-weight: 900; font-size: .9rem;
}

/* ── Comparativo: tabela ────────────────────────── */
.sg-table-wrap {
  width: 100%; max-width: 1000px; overflow-x: auto;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.1);
}
.sg-compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.sg-compare th, .sg-compare td {
  padding: 14px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .92rem; line-height: 1.55; color: #aab3c3;
}
.sg-compare thead th {
  background: rgba(255,255,255,.05); color: #fff; font-weight: 800; font-size: .95rem;
}
.sg-compare tbody th { color: #e8eaf0; font-weight: 600; width: 26%; }
.sg-compare .sg-us { background: rgba(0,229,160,.05); color: #e8eaf0; }
.sg-compare thead .sg-us { background: rgba(0,229,160,.14); color: var(--accent); }
.sg-compare tbody tr:last-child th, .sg-compare tbody tr:last-child td { border-bottom: 0; }
.sg-yes { color: var(--accent); font-weight: 900; }
.sg-no  { color: #5b6476; }

/* ── Comparativo: qual escolher ─────────────────── */
.sg-choose {
  width: 100%; max-width: 1000px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.sg-choose__card {
  border-radius: 18px; padding: 28px 26px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  display: flex; flex-direction: column; gap: 6px;
}
.sg-choose__card--us { background: rgba(0,229,160,.06); border-color: rgba(0,229,160,.35); }
.lp-section .sg-choose__card h3 { color: #fff; font-weight: 800; font-size: 1.1rem; margin: 0 0 6px; }
.sg-choose__card .teste-button { align-self: flex-start; margin-top: auto; }
ul.checklist-li.sg-neutral li::before { content: '•'; color: #8892a4; }

/* ── Fontes ─────────────────────────────────────── */
.sg-sources { width: 100%; max-width: 860px; margin: 0 auto; }
.lp-section .sg-sources h2 { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.lp-section .sg-sources p { font-size: .88rem; }
.sg-sources ul { padding-left: 18px; margin: 0; }
.sg-sources li { font-size: .85rem; color: #8892a4; line-height: 1.8; }
.sg-sources a { color: #8892a4; }
.sg-sources a:hover { color: var(--accent); }
.sg-sources-wrap { padding-top: 56px; padding-bottom: 56px; }

/* ── Responsivo ─────────────────────────────────── */
@media (max-width: 768px) {
  .sg-breadcrumb { padding: 84px 20px 0; }
  .sg-hero { padding-top: 20px !important; }
  .sg-hero__text, .sg-hero__visual { flex-basis: 100%; }
  .sg-vs { grid-template-columns: 1fr; }
  .sg-vs__mid { justify-self: center; }
  .sg-choose { grid-template-columns: 1fr; }
  .sg-steps > li { padding: 16px; gap: 14px; }
}

/* ── Ajustes finos ──────────────────────────────── */
body.sg-page { margin: 0; }
.sg-hero .hero-badge { align-self: flex-start; margin-bottom: 4px; }
.sg-hero__text--center .hero-badge { align-self: center; }
.lp-section .sg-steps a,
.lp-section .sg-benefit a,
.lp-section .sg-faq a,
.lp-section .sg-compare a { color: var(--accent); }
a.btn-outline-hero { display: inline-flex; align-items: center; text-decoration: none; }

/* ── Comparativos com 3 colunas ─────────────────── */
.sg-vs--3 { grid-template-columns: 1fr auto 1fr auto 1fr; }
.sg-choose--3 { grid-template-columns: repeat(3, 1fr); max-width: 1140px; }
@media (max-width: 900px) {
  .sg-vs--3 { grid-template-columns: 1fr; }
  .sg-choose--3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FERRAMENTAS (calculadoras)
   ========================================================================== */
.sg-calc {
  width: 100%; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.25fr); gap: 24px;
  align-items: start;
}
.sg-calc__card {
  background: rgba(13,27,53,.85); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 26px 24px; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.sg-calc__card--out { border-color: rgba(0,229,160,.3); position: sticky; top: 90px; }
.lp-section .sg-calc__title {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 800; font-size: 1.05rem; margin: 0 0 18px;
}
.sg-calc__title i { color: var(--accent); }

.sg-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.sg-field label { color: #e8eaf0; font-weight: 600; font-size: .9rem; margin: 0; }
.sg-field small { color: #8892a4; font-size: .8rem; line-height: 1.45; }
.sg-input {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.sg-input:focus-within { border-color: rgba(0,229,160,.55); box-shadow: 0 0 0 3px rgba(0,229,160,.12); }
.sg-input input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: #fff; font-size: 1.05rem; font-weight: 600; padding: 11px 14px;
}
.sg-input span {
  display: flex; align-items: center; padding: 0 14px;
  color: #8892a4; font-size: .85rem; background: rgba(255,255,255,.03);
  border-left: 1px solid rgba(255,255,255,.08); white-space: nowrap;
}
.sg-input span.pre { border-left: 0; border-right: 1px solid rgba(255,255,255,.08); }
.sg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sg-field.is-invalid .sg-input { border-color: #ff6b6b; }

.sg-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sg-kpi {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 16px;
}
.sg-kpi--main { grid-column: 1 / -1; background: rgba(0,229,160,.07); border-color: rgba(0,229,160,.3); }
.sg-kpi__label { color: #8892a4; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.sg-kpi__value { color: #fff; font-weight: 800; font-size: 1.7rem; line-height: 1.15; margin-top: 6px; font-variant-numeric: tabular-nums; }
.sg-kpi--main .sg-kpi__value { font-size: 2.4rem; color: var(--accent); }
.sg-kpi__hint { color: #8892a4; font-size: .8rem; margin-top: 4px; line-height: 1.45; }

.sg-status {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.sg-status--ok   { background: rgba(0,229,160,.12); color: #00e5a0; border: 1px solid rgba(0,229,160,.35); }
.sg-status--warn { background: rgba(255,193,7,.12); color: #ffc107; border: 1px solid rgba(255,193,7,.35); }
.sg-status--bad  { background: rgba(255,107,107,.12); color: #ff8a8a; border: 1px solid rgba(255,107,107,.35); }

.sg-insight {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: rgba(37,99,235,.09); border: 1px solid rgba(37,99,235,.3);
  color: #cfd6e3; font-size: .9rem; line-height: 1.6;
}
.sg-insight strong { color: #fff; }

.sg-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.sg-bar__top { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; color: #cfd6e3; margin-bottom: 4px; }
.sg-bar__top b { color: #fff; font-variant-numeric: tabular-nums; }
.sg-bar__track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.sg-bar__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent2)); width: 0; transition: width .35s ease; }

.sg-calc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sg-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,.18); color: #e8eaf0;
  border-radius: 999px; padding: 9px 16px; font-size: .85rem; font-weight: 600;
}
.sg-btn-ghost:hover { border-color: rgba(0,229,160,.5); color: #00e5a0; }

.sg-chart { width: 100%; height: auto; margin-top: 14px; display: block; }
.sg-chart text { fill: #8892a4; font-size: 11px; }

.sg-calc-cta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
  color: #aab3c3; font-size: .9rem; line-height: 1.6;
}
.sg-calc-cta a { color: var(--accent); font-weight: 600; }

@media (max-width: 860px) {
  .sg-calc { grid-template-columns: 1fr; }
  .sg-calc__card--out { position: static; }
  .sg-field-row { grid-template-columns: 1fr; }
}
.sg-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sg-kpi__value .sg-sub { display: block; font-size: .85rem; font-weight: 600; color: #8892a4; margin-top: 2px; }
.sg-insight .sg-sub { font-weight: 400; color: #aab3c3; }
@media (max-width: 420px) { .sg-kpi__value { font-size: 1.4rem; } }
.sg-calc > *, .sg-field-row > *, .sg-kpis > * { min-width: 0; }
.sg-calc__card { min-width: 0; }
.sg-field small a { color: var(--accent); }
.sg-input span { flex-shrink: 0; }
@media (max-width: 860px) {
  .sg-calc__card { padding: 22px 16px; }
}

/* ==========================================================================
   SEGMENTOS
   ========================================================================== */
.sg-pains {
  width: 100%; max-width: 1140px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.sg-pain {
  border-radius: 14px; padding: 20px; background: rgba(255,107,107,.05);
  border: 1px solid rgba(255,107,107,.2); border-left: 4px solid rgba(255,107,107,.6);
}
.lp-section .sg-pain h3 { color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.lp-section .sg-pain p { margin: 0; font-size: .9rem; line-height: 1.6; }

.sg-tags { width: 100%; max-width: 1000px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sg-tag {
  padding: 8px 14px; border-radius: 999px; font-size: .88rem; color: #e8eaf0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.sg-quote {
  width: 100%; max-width: 820px; margin: 0 auto; padding: 28px 30px; border-radius: 18px;
  background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.3);
}
.lp-section .sg-quote p { color: #e8eaf0; font-size: 1.1rem; line-height: 1.7; margin: 0 0 12px; font-style: italic; }
.sg-quote cite { color: #a78bfa; font-style: normal; font-size: .88rem; font-weight: 600; }
.sg-group-title { width: 100%; max-width: 1140px; display: flex; align-items: center; gap: 10px; }
.lp-section .sg-group-title h2 { color: #fff; font-size: 1.3rem; font-weight: 800; margin: 0; }
.sg-group-title i { color: var(--accent); font-size: 1.2rem; }
