/* Precifica — ink + gold. Mobile-first. Not a purple SaaS. */
:root {
  --bg: #12110c;
  --bg-2: #1b1913;
  --paper: #f3ead6;
  --ink: #12110c;
  --cream: #f3ead6;
  --muted: #a79e8a;
  --gold: #f5c400;
  --gold-ink: #16140c;
  --gain: #2fbe6a;
  --loss: #e23a2b;
  --line: #2e2b22;
  --line-soft: #3a362c;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(245, 196, 0, 0.08), transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(245, 196, 0, 0.015) 18px,
      rgba(245, 196, 0, 0.015) 19px
    );
  min-height: 100vh;
}

img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe56a; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* ---------- chrome ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 17, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
}
.brand:hover { color: var(--cream); }
.brand span {
  display: block;
  font-family: var(--font);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold); }
.nav a.nav-pix {
  background: var(--gold);
  color: var(--gold-ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.nav a.nav-pix:hover { background: #ffe56a; color: var(--gold-ink); }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer p { margin: 0 0 8px; max-width: 62ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.site-footer a { color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 12px;
}
.hero__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  text-transform: uppercase;
  max-width: 16ch;
}
.hero p.lead {
  font-size: 1.12rem;
  color: #d8d0bc;
  max-width: 46ch;
  margin: 0 0 22px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  transform: rotate(-2deg);
}

/* ---------- calculator ---------- */
.calc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 16px 16px;
  box-shadow: var(--shadow);
  margin: 8px 0 48px;
}
.calc__grid {
  display: grid;
  gap: 24px;
}
.calc__controls { min-width: 0; }
.calc__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.calc__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 6px 0 16px;
}
.calc__extra { margin: 0 0 14px; }
.calc__note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.calc__note a { color: var(--gold); }
.calc__result { min-width: 0; }
.calc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.calc__actions .btn { flex: 1 1 140px; }

@media (min-width: 880px) {
  .calc { padding: 28px; }
  .calc__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.9fr);
    align-items: start;
    gap: 32px;
  }
  .calc__result { position: sticky; top: 84px; }
}

/* presets / chips */
.presets { margin-bottom: 14px; }
.presets__label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.presets__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  appearance: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-on {
  background: var(--gold);
  color: var(--gold-ink);
  border-color: var(--gold);
}

/* fields */
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fields--target { margin-top: 12px; }
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.field--wide { grid-column: 1 / -1; }
.field__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #d4ccb6;
}
.field__input {
  font: inherit;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
  background: #0e0d0a;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
}
.field__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.18);
}
.field__hint {
  font-size: 0.72rem;
  color: var(--muted);
}
select.field__input { cursor: pointer; }

@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
}

/* toggles */
.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.switch {
  display: inline-flex;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}
.switch__btn {
  appearance: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 8px 14px;
  cursor: pointer;
}
.switch__btn.is-on {
  background: var(--gold);
  color: var(--gold-ink);
}
.toggle-mode {
  appearance: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  background: transparent;
  border: 1px dashed var(--line-soft);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.toggle-mode:hover,
.toggle-mode.is-on {
  border-style: solid;
  border-color: var(--gold);
  color: var(--gold);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #d4ccb6;
  cursor: pointer;
}
.check input { margin-top: 4px; accent-color: var(--gold); }

.muted { color: var(--muted); }

/* buttons */
.btn {
  appearance: none;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-soft);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--solid {
  background: var(--gold);
  color: var(--gold-ink);
  border-color: var(--gold);
}
.btn--solid:hover { background: #ffe56a; }

/* result — cream receipt */
.result-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  padding: 22px 20px 18px;
  box-shadow: 4px 4px 0 var(--gold);
  position: relative;
}
.result-card::before {
  content: "";
  position: absolute;
  inset: 8px 8px auto 8px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 16px);
}
.result-card--error,
.result-card--loss { box-shadow: 4px 4px 0 var(--loss); }
.result-card__kicker {
  margin: 10px 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6454;
}
.result-card__price {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}
.result-card__price.is-loss { color: var(--loss); }
.result-card__profit {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  font-size: 0.95rem;
}
.result-card__profit .muted { color: #6b6454; }
.result-card__profit strong { font-size: 1.15rem; }
.is-gain { color: #157a3e; }
.is-loss { color: var(--loss); }
.result-card__error {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.result-card__note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: #6b6454;
  border-top: 1px dashed #cfc6b0;
  padding-top: 10px;
}

.breakdown {
  list-style: none;
  margin: 14px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #e2d8c0;
}
.breakdown__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.breakdown__row span:last-child { font-weight: 600; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: opacity 0.2s, transform 0.2s;
  max-width: min(90vw, 420px);
  text-align: center;
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- page sections ---------- */
.section { padding: 8px 0 40px; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 18px;
  line-height: 1.05;
}

.steps {
  display: grid;
  gap: 14px;
}
.step {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 18px 16px;
  border-radius: 6px;
}
.step__n {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  margin: 0 0 6px;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.pix {
  background: var(--gold);
  color: var(--gold-ink);
  padding: 22px 20px;
  border-radius: 6px;
  margin: 8px 0 32px;
}
.pix h2 { color: var(--gold-ink); margin-bottom: 8px; }
.pix p { margin: 0 0 12px; max-width: 54ch; }
.pix__key {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.pix__key code,
[data-pix-key] {
  font-family: var(--mono);
  font-size: 0.95rem;
  background: #16140c;
  color: var(--gold);
  padding: 10px 12px;
  border-radius: 4px;
  word-break: break-all;
}
.pix .btn--solid {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--ink);
}
.pix .btn--solid:hover { background: #2a2618; }

.affiliate { margin: 8px 0 40px; }
.affiliate__list {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.affiliate__list a {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--cream);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 600;
}
.affiliate__list a:hover { border-color: var(--gold); color: var(--gold); }
.affiliate__disc {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  gap: 12px;
}
.card {
  border: 1px dashed var(--line-soft);
  padding: 18px 16px;
  border-radius: 6px;
  background: transparent;
}
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.card__soon {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--gold);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.faq { margin: 8px 0 24px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  color: var(--gold);
  margin-right: 10px;
  font-weight: 700;
}
.faq details[open] summary::before { content: "–"; }
.faq details p {
  margin: 8px 0 4px 22px;
  color: #d4ccb6;
}

.prose {
  max-width: 68ch;
}
.prose h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 8px 0 12px;
}
.prose h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.5rem;
  margin: 28px 0 8px;
}
.prose p { color: #ddd6c4; }
.prose ul { color: #ddd6c4; padding-left: 1.2em; }
.prose .meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }

.page-intro { padding-top: 28px; max-width: 62ch; }
.page-intro h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.page-intro p { color: #d8d0bc; }

#ad-slot:empty { display: none; }
#ad-slot {
  min-height: 0;
  margin: 16px 0;
}

.blog-list { list-style: none; padding: 0; margin: 0; }
.blog-list li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.blog-list a { color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.blog-list a:hover { color: var(--gold); }
.blog-list p { margin: 6px 0 0; color: var(--muted); }

/* ---------- modal ---------- */
#pdf-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 5, 0.78);
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
}
#pdf-modal[hidden] { display: none !important; }
#pdf-modal.is-on { display: grid; }
.modal {
  background: var(--paper);
  color: var(--ink);
  max-width: 420px;
  width: 100%;
  padding: 24px 22px;
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--gold);
}
.modal p { margin: 0 0 16px; }
.modal button {
  appearance: none;
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  margin-right: 8px;
  margin-bottom: 6px;
}
.modal [data-print] {
  background: var(--gold-ink);
  color: var(--gold);
  border: 0;
}
.modal [data-print-close] {
  background: transparent;
  border: 1px solid #cfc6b0;
  color: var(--ink);
}

/* ---------- print / quote ---------- */
.print-sheet { display: none; }
.quote {
  font-family: var(--font);
  color: #111;
  background: #fff;
  padding: 24px;
  max-width: 720px;
}
.quote__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 3px solid #f5c400;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.quote__brand {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  margin: 0;
}
.quote__sub,
.quote__meta { margin: 0; color: #555; font-size: 0.9rem; }
.quote__table { width: 100%; border-collapse: collapse; }
.quote__table th {
  text-align: left;
  font-weight: 500;
  padding: 7px 0;
  border-bottom: 1px solid #eee;
}
.quote__table td {
  text-align: right;
  font-weight: 700;
  padding: 7px 0;
  border-bottom: 1px solid #eee;
  font-variant-numeric: tabular-nums;
}
.quote__sell,
.quote__profit {
  font-size: 1.15rem;
  margin: 14px 0 0;
}
.quote__sell strong,
.quote__profit strong { font-size: 1.4rem; }
.quote__disc {
  margin-top: 20px;
  font-size: 0.78rem;
  color: #666;
}

@media print {
  body { background: #fff; }
  body > *:not(#print-sheet) { display: none !important; }
  #print-sheet,
  .print-sheet {
    display: block !important;
    position: static !important;
    background: #fff;
    color: #111;
    padding: 0;
    box-shadow: none;
  }
  #print-sheet[hidden] { display: block !important; }
  .quote { box-shadow: none; max-width: none; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}


/* ---------- comparar marketplaces ---------- */
.compare { margin: 8px 0 32px; }
.compare__panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 22px 18px 18px;
  box-shadow: 6px 6px 0 var(--gold);
}
.compare__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b6454;
}
.compare__title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  line-height: 1;
  margin: 6px 0 14px;
}
.compare__fields {
  display: grid;
  gap: 10px 12px;
  grid-template-columns: 1fr 1fr;
}
.compare__fields .field--wide { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .compare__fields { grid-template-columns: repeat(3, 1fr); }
  .compare__fields .field--wide { grid-column: span 1; }
}
.compare__hint {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: #6b6454;
}
.compare__grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
@media (min-width: 720px) {
  .compare__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .compare__grid { grid-template-columns: repeat(3, 1fr); }
}
.compare-card {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 16px 14px 14px;
  background: #1a1812;
  color: var(--cream);
  position: relative;
}
.compare-card.is-best {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 4px 4px 0 rgba(232, 196, 74, 0.35);
}
.compare-card.is-loss { border-color: var(--loss); }
.compare-card__badge {
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 3px 9px;
  border-radius: 999px;
}
.compare-card__name {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1.05rem;
}
.compare-card__fee {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.compare-card__price {
  font-family: var(--mono, "IBM Plex Mono", monospace);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 4px;
}
.compare-card__price.is-loss { color: var(--loss); }
.compare-card__profit {
  margin: 0 0 10px;
  font-size: 0.92rem;
}
.compare-card__profit strong { color: var(--cream); }
.compare-card__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}
.compare-card__err {
  margin: 0;
  color: var(--loss);
  font-size: 0.9rem;
}
.compare__verdict {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(232, 196, 74, 0.08);
  border-radius: 0 6px 6px 0;
}
.compare__verdict p { margin: 0; color: #ddd6c4; }
.compare__verdict strong { color: var(--gold); }
.card a.card__link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.card a.card__link:hover { text-decoration: underline; }
.card__live {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: #7ddea0;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ---------- gerador de título ML ---------- */
.titlegen { margin: 8px 0 32px; }
.titlegen__panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 22px 18px 18px;
  box-shadow: 6px 6px 0 var(--gold);
}
.titlegen__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b6454;
}
.titlegen__title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  line-height: 1;
  margin: 6px 0 14px;
}
.titlegen__fields {
  display: grid;
  gap: 10px 12px;
  grid-template-columns: 1fr 1fr;
}
.titlegen__fields .field--wide { grid-column: 1 / -1; }
.titlegen__panel .field__label { color: #3a362c; }
.titlegen__panel .field__hint { color: #6b6454; }
.titlegen__panel .field__input {
  color: var(--ink);
  background: #fff;
  border-color: #cfc6b0;
}
@media (min-width: 720px) {
  .titlegen__fields { grid-template-columns: repeat(3, 1fr); }
}
.titlegen__hint {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: #6b6454;
}
.titlegen__list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.title-card {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px;
  background: #1a1812;
}
.title-card__label {
  margin: 0 0 2px;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.title-card__hint {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: var(--muted);
}
.title-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.title-card__input {
  flex: 1;
  font: inherit;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--cream);
  background: #0e0d0a;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
}
.title-card__input:focus {
  outline: none;
  border-color: var(--gold);
}
.title-card__count {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  min-width: 4.5ch;
  text-align: right;
}
.title-card__count.is-ok { color: var(--gain); }
.title-card__count.is-over { color: var(--loss); }
.title-card__copy { margin-top: 10px; }

/* ---------- tabela de taxas ---------- */
.fee-table-wrap {
  overflow-x: auto;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.fee-table caption {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  background: #1a1812;
}
.fee-table th,
.fee-table td {
  text-align: left;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.fee-table th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: #16140c;
}
.fee-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }


/* ---------- calculadora de frete ---------- */
.freightgen { margin: 8px 0 32px; }
.freightgen__out { margin-top: 18px; }
.freightgen__warn {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #1a1812;
  border: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--cream);
}
.freightgen__warn.is-hot {
  border-color: var(--gold);
  color: var(--gold-ink);
  background: #2a2618;
}
.freightgen__embed {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.freightgen__embed h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #3a362c;
}
.freightgen__embed p { margin: 0 0 6px; }
.freightgen__embed .muted { color: #6b6454; }
.result-card__rows {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.result-card__rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.result-card__rows li span { color: var(--muted); }
.result-card__note {
  margin: 12px 0 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- gerador de descrição ---------- */
.descgen { margin: 8px 0 32px; }
.desc-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.desc-card__body textarea {
  white-space: pre-wrap;
  min-height: 140px;
  font-family: inherit;
  width: 100%;
  resize: vertical;
}
.desc-card__body .title-card__count {
  align-self: flex-end;
}


/* ---------- lote por planilha ---------- */
.sheetgen { margin: 8px 0 32px; }
.sheetgen__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.sheetgen__meta { margin: 14px 0 8px; font-size: 0.92rem; }
.sheetgen__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #16140c;
}
.sheetgen__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.sheetgen__table th,
.sheetgen__table td {
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.sheetgen__table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #12110c;
}
.sheetgen__table tr.is-error td {
  color: #e8a0a0;
  background: rgba(180, 40, 40, 0.12);
}
.sheetgen__table tbody tr:nth-child(even):not(.is-error) {
  background: rgba(255,255,255,0.02);
}
.field--check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.field--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.field--check .field__label { margin: 0; }


/* Checklist SEO anúncio */
.checklistanuncio__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.checklistanuncio__item {
  margin: 0;
}
.checklistanuncio__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checklistanuncio__row input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.checklistanuncio__missing {
  margin: 8px 0 0;
  padding-left: 1.2em;
  max-width: 62ch;
}
.checklistanuncio__missing li {
  margin-bottom: 6px;
}

/* ---------- conferidor de repasse ML (cr-) ---------- */
.cr-privacy {
  border: 1px solid var(--gain);
  border-left-width: 4px;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 14px 0 0;
  color: #d8f2e2;
  background: rgba(47, 190, 106, 0.08);
  font-size: 0.95rem;
}
.cr-slots { display: grid; gap: 12px; margin-bottom: 14px; }
@media (min-width: 760px) { .cr-slots { grid-template-columns: 1fr 1fr; } }
.cr-drop {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  border: 2px dashed var(--line-soft); border-radius: 6px; padding: 16px; cursor: pointer;
}
.cr-drop.is-over, .cr-drop:hover { border-color: var(--gold); }
.cr-drop__title { font-weight: 700; }
.cr-drop__hint { color: var(--muted); font-size: 0.88rem; }
.cr-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cr-files { display: grid; gap: 8px; margin-top: 8px; }
.cr-file { border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; font-size: 0.9rem; }
.cr-file.is-bad { border-color: var(--loss); }
.cr-file p { margin: 0 0 4px; overflow-wrap: anywhere; }
.cr-file__rm { background: none; border: 0; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.cr-file__err { color: #ff8a7f; }
.cr-map summary { cursor: pointer; color: var(--gold); font-size: 0.85rem; }
.cr-map__grid { display: grid; gap: 8px; margin-top: 8px; }
@media (min-width: 520px) { .cr-map__grid { grid-template-columns: 1fr 1fr; } }
.cr-opts { margin-bottom: 4px; }
.cr-status { margin: 10px 0; }
.cr-lead { margin: 0 0 4px; font-weight: 600; }
.cr-out { display: grid; gap: 14px; }
.cr-box { border: 1px solid var(--line-soft); border-radius: 6px; padding: 12px 14px; }
.cr-box--warn { border-color: var(--gold); }
.cr-box h3 { margin: 0 0 8px; font-size: 1rem; }
.cr-box ul { margin: 0; padding-left: 1.1em; color: #ddd6c4; font-size: 0.9rem; }
.cr-box code, .cr-table code { font-family: var(--mono); font-size: 0.82rem; }
.cr-chips { margin: 0; }
.cr-table-wrap { overflow-x: auto; }
.cr-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.cr-table th, .cr-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cr-table th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cr-table td.num { text-align: right; white-space: nowrap; }
.cr-table .is-loss { color: #ff8a7f; }
.cr-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; border: 1px solid var(--line-soft); white-space: nowrap; }
.cr-pill--atrasada, .cr-pill--diferenca { background: var(--loss); border-color: var(--loss); color: #fff; }
.cr-pill--cobranca, .cr-pill--aguardando { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.cr-pill--ok { background: var(--gain); border-color: var(--gain); color: #08200f; }
@media (max-width: 640px) {
  .cr-table thead { display: none; }
  .cr-table tr { display: block; border-bottom: 1px solid var(--line-soft); padding: 6px 0; }
  .cr-table td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 3px 4px; }
  .cr-table td::before { content: attr(data-l); color: var(--muted); font-size: 0.78rem; }
  .cr-table td.num { text-align: right; }
}
.cr-cols { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 8px; }
.cr-cols td, .cr-cols th { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; color: #ddd6c4; }
.cr-cols th { color: var(--muted); }
.cr-steps { color: #ddd6c4; padding-left: 1.3em; max-width: 70ch; }
.cr-steps li { margin-bottom: 6px; }
