/* ==========================================================================
   VETORIZE.AI — design system
   Navy profundo + azul elétrico + branco. Inter. Faixas alternadas
   dark/light em sangria total, cards 14px, botões 10px com seta,
   kickers azuis em caixa alta, grade + blocos de pixel como motivo.
   ========================================================================== */

:root {
  /* superfícies */
  --navy: #0b1220;
  --navy-deep: #070d19;
  --navy-card: #111a2e;
  --navy-line: rgba(255, 255, 255, 0.08);
  --navy-line-strong: rgba(255, 255, 255, 0.14);
  --page: #f5f7fb;
  --card: #ffffff;
  --card-soft: #f3f6fb;
  --line: #e6eaf2;
  --line-strong: #d3dae6;

  /* tinta */
  --ink: #0b1220;
  --ink-soft: #2a3447;
  --muted: #5b6577;
  --on-dark: #ffffff;
  --on-dark-muted: #a9b4c7;

  /* marca */
  --blue: #1a7dff;
  --blue-hover: #0f6be8;
  --blue-deep: #0d5fd6;
  --blue-soft: #eaf2ff;
  --blue-mid: #bcd6ff;
  --blue-glow: rgba(26, 125, 255, 0.38);

  --green: #22c55e;
  --danger: #e5484d;
  --danger-soft: #fdecec;

  /* compat: aliases dos tokens antigos */
  --rust: var(--blue);
  --rust-deep: var(--blue-deep);
  --rust-soft: var(--blue-soft);

  --sans: "Inter", "Segoe UI", -apple-system, system-ui, sans-serif;
  --display: var(--sans);
  --mono: "Inter", ui-monospace, monospace;

  --r-card: 14px;
  --r-el: 10px;
  --shell: 1240px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 10px 30px rgba(11, 18, 32, 0.06);
  --shadow-lift: 0 6px 16px rgba(11, 18, 32, 0.08), 0 24px 48px rgba(26, 125, 255, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  container-type: inline-size;
}
h1, h2, h3 { font-family: var(--sans); letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; }
a { color: inherit; }
button { font-family: var(--sans); }

/* faixa em sangria total, com o conteúdo alinhado à largura do shell */
.bleed {
  margin-left: calc(50% - 50cqw);
  margin-right: calc(50% - 50cqw);
  padding-left: max(24px, calc(50cqw - var(--shell) / 2));
  padding-right: max(24px, calc(50cqw - var(--shell) / 2));
}

/* utilitários da identidade */
.kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.accent { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-el);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s, box-shadow 0.2s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px var(--blue-glow); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 12px 30px var(--blue-glow); }
.btn-secondary { background: transparent; color: var(--on-dark); border-color: var(--navy-line-strong); }
.btn-secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ------- topo ------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc(50cqw - var(--shell) / 2));
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
  color: var(--on-dark);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: auto; display: block; object-fit: contain; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.brand-name em { font-style: normal; color: var(--blue); }
.brand-tagline { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 3px; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 13.5px; font-weight: 500; color: var(--on-dark-muted); text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: #fff; }
@media (max-width: 860px) { .nav { display: none; } }
.top-actions { display: flex; align-items: center; gap: 10px; }
.brand-tag { display: none; }

/* ------- estrutura ------- */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px 0; }

/* ------- hero (navy, grade + blocos de pixel + arte do V) ------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 80px;
  background: radial-gradient(900px 520px at 78% 40%, rgba(26, 125, 255, 0.22), transparent 60%), var(--navy);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(1000px 600px at 70% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(1000px 600px at 70% 50%, #000 30%, transparent 85%);
}
.hero-copy { max-width: 600px; }
.hero-copy .kicker { margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue); }
.hero-sub { font-size: 17px; line-height: 1.6; color: var(--on-dark-muted); max-width: 520px; margin-bottom: 30px; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-stats { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-stats li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--on-dark-muted); }
.hero-stats li::before {
  content: "";
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 125, 255, 0.18);
}
.hero-art { position: relative; min-height: 400px; display: grid; place-items: center; }
.hero-art img {
  position: relative;
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(26, 125, 255, 0.35));
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.art-glow {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 125, 255, 0.35), transparent 62%);
  filter: blur(10px);
}
.art-pixels {
  position: absolute;
  right: 6%;
  bottom: 8%;
  display: grid;
  grid-template-columns: repeat(4, 16px);
  gap: 4px;
  opacity: 0.85;
}
.art-pixels i { width: 16px; height: 16px; background: var(--blue); border-radius: 2px; }
.art-pixels i:nth-child(2), .art-pixels i:nth-child(7), .art-pixels i:nth-child(12) { opacity: 0.55; }
.art-pixels i:nth-child(4), .art-pixels i:nth-child(9), .art-pixels i:nth-child(14) { opacity: 0.3; }
.art-pixels i:nth-child(6), .art-pixels i:nth-child(11), .art-pixels i:nth-child(16) { opacity: 0.15; }
.art-note {
  position: absolute;
  left: 4%;
  bottom: 10%;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
  transform: rotate(-8deg);
  opacity: 0.95;
}
.art-note::before {
  content: "↗";
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  margin-bottom: 2px;
  margin-left: 30px;
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-art { min-height: 300px; }
  .art-note { display: none; }
}

/* ------- cabeçalho de seção ------- */
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 12px; }
.section-head p { font-size: 15.5px; color: var(--muted); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: var(--on-dark-muted); }

/* ------- passos "como funciona" (faixa navy) ------- */
.steps-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--navy-deep);
  color: var(--on-dark);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  position: relative;
  padding: 24px;
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: var(--r-card);
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover { border-color: rgba(26, 125, 255, 0.5); transform: translateY(-3px); }
.step-card.featured { border-color: rgba(26, 125, 255, 0.45); box-shadow: 0 0 0 1px rgba(26, 125, 255, 0.15), 0 20px 50px rgba(26, 125, 255, 0.12); }
.step-no { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 18px; }
.step-ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(26, 125, 255, 0.12);
  margin-bottom: 18px;
}
.step-ico svg { width: 24px; height: 24px; }
.step-ico svg rect, .step-ico svg path, .step-ico svg circle { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-ico svg circle.ct { fill: var(--blue); }
.step-card h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: #fff; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; line-height: 1.55; color: var(--on-dark-muted); }

/* ------- bancada (faixa clara) ------- */
.workbench-wrap { padding-top: 64px; padding-bottom: 72px; background: var(--page); }
.workbench {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px) { .workbench { grid-template-columns: 1fr; } }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--shadow);
}
.panel-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 28px 0 16px;
}
.panel-label .pl-n { font-size: 11.5px; font-weight: 700; letter-spacing: 0; color: var(--blue); }
.panel-label:first-child { margin-top: 0; }

/* ------- dropzone ------- */
.dropzone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-card);
  background: var(--card-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.dragover { border-color: var(--blue); background: var(--blue-soft); }
.dropzone:hover .dz-icon rect, .dropzone.dragover .dz-icon rect,
.dropzone:hover .dz-icon path, .dropzone.dragover .dz-icon path,
.dropzone:hover .dz-icon circle, .dropzone.dragover .dz-icon circle { stroke: var(--blue); }
.dz-idle { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 30px 18px; text-align: center; }
.dz-icon { width: 40px; height: 40px; margin-bottom: 8px; }
.dz-icon rect, .dz-icon path, .dz-icon circle { fill: none; stroke: var(--muted); stroke-width: 1.8; }
.dz-idle strong { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dz-idle span { font-size: 12px; color: var(--muted); }
.dz-loaded { display: flex; gap: 14px; padding: 14px; align-items: center; }
.dz-loaded img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.dz-meta { min-width: 0; }
.dz-meta strong { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-meta span { font-size: 12px; color: var(--muted); }
.link-btn {
  display: inline-block;
  margin-top: 4px;
  background: none;
  border: none;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------- lote ------- */
.batch-box { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; margin-top: 14px; background: var(--card-soft); }
.batch-list { list-style: none; max-height: 180px; overflow: auto; margin-bottom: 12px; font-size: 12.5px; }
.batch-list li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; color: var(--muted); }
.batch-list li.ok { color: var(--ink); }
.batch-list li.err { color: var(--danger); }
.batch-list li .st { flex-shrink: 0; }
.go-btn.slim { padding: 11px 18px; width: auto; font-size: 13.5px; }

/* ------- modo segmentado ------- */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-el);
  background: var(--card-soft);
  padding: 4px;
  gap: 4px;
}
.seg-btn {
  padding: 9px;
  background: none;
  border: none;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.seg-btn.active { background: var(--blue); color: #fff; font-weight: 600; box-shadow: 0 4px 12px var(--blue-glow); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ------- predefinições ------- */
.presets { display: flex; gap: 8px; flex-wrap: wrap; }
.preset-btn {
  flex: 1;
  padding: 9px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-el);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.preset-btn:hover { border-color: var(--blue); color: var(--blue); }
.preset-btn.active { background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue-mid); font-weight: 600; }

/* ------- sliders / selects ------- */
.ctrl { margin-bottom: 16px; }
.ctrl label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 500; margin-bottom: 7px; color: var(--ink-soft); }
.ctrl output { font-size: 12.5px; font-weight: 700; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; appearance: none; height: 4px; border-radius: 2px; background: var(--line-strong); outline: none; }
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--blue-mid), 0 2px 6px rgba(26, 125, 255, 0.35);
  cursor: grab;
  transition: box-shadow 0.15s;
}
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--blue), 0 0 0 6px rgba(26, 125, 255, 0.18); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--blue-mid); cursor: grab; }
input[type="range"]:disabled { opacity: 0.35; }
input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
select {
  width: 100%;
  padding: 10px 12px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-el);
  font-family: var(--sans);
  font-size: 13px;
  transition: border-color 0.15s;
}
select:focus-visible, input[type="text"]:focus-visible, textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
select:disabled { opacity: 0.35; cursor: not-allowed; }
.ctrl.disabled label { opacity: 0.45; }
.ctrl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ctrl-row .ctrl label { justify-content: flex-start; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); cursor: pointer; margin: 4px 0 14px; }
.check input { accent-color: var(--blue); margin-top: 2px; }
.check.tight { margin: 8px 0 0; }
.check.main-check { margin: 18px 0 4px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* ajustes avançados recolhidos: o painel principal fica curto */
.check.main-check.first { margin-top: 0; }
.adv { margin: 18px 0 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.adv > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); user-select: none;
}
.adv > summary::-webkit-details-marker { display: none; }
.adv > summary::after {
  content: ''; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform 0.2s;
}
.adv[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.adv > summary:hover { color: var(--blue-deep); }
.adv-sub { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.adv-body { padding: 4px 14px 6px; border-top: 1px solid var(--line); }
.adv-body > .ctrl:first-child { margin-top: 14px; }

/* ------- botão principal ------- */
.go-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--r-el);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--blue-glow);
  transition: transform 0.12s, box-shadow 0.2s, background 0.15s, opacity 0.2s;
  margin-top: 8px;
}
.go-btn:hover:not(:disabled) { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 12px 30px var(--blue-glow); }
.go-btn:disabled { background: var(--line-strong); color: #fff; cursor: not-allowed; box-shadow: none; }
.go-btn svg { width: 20px; height: 20px; }
.go-btn svg path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.go-btn.busy { pointer-events: none; opacity: 0.65; }
.error { margin-top: 12px; padding: 11px 14px; background: var(--danger-soft); border: 1px solid #f6c9cb; border-radius: var(--r-el); color: var(--danger); font-size: 13px; }

/* ------- resultado ------- */
.result { min-height: 560px; display: flex; flex-direction: column; }
.result-empty, .result-loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: var(--muted); text-align: center; font-size: 14px; }
.result-empty svg { width: 110px; height: 110px; }
.result-empty .re-curve { fill: none; stroke: var(--blue-mid); stroke-width: 2; stroke-dasharray: 5 7; }
.result-empty line { stroke: var(--line-strong); stroke-width: 1.5; }
.result-empty circle { fill: var(--blue); }
.result-empty circle.hollow { fill: #fff; stroke: var(--blue); stroke-width: 1.5; }
.result-loading svg { width: 220px; height: 90px; }
.load-curve { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.6s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 340; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -340; } }
.result-loading p { font-size: 13px; }

/* ------- visualização ------- */
.result-view { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.stats { display: flex; gap: 7px; flex-wrap: wrap; }
.stat {
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 6px 12px;
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.stat b { color: var(--ink); font-weight: 700; }
.stat.good { background: #eafaf0; border-color: #c9efd7; }
.stat.good b { color: #15803d; }
.stat.warn b { color: #b45309; }
.stat.bad { background: var(--danger-soft); }
.stat.bad b { color: var(--danger); }
.palette { display: flex; gap: 5px; }
.swatch { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.12); }

/* ------- painel de camadas ------- */
.layers-panel { display: flex; gap: 8px; flex-wrap: wrap; }
.layer-row { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); transition: border-color 0.15s, opacity 0.15s; }
.layer-row:hover { border-color: var(--blue); }
.layer-row.off { opacity: 0.4; }
.layer-eye { background: none; border: none; cursor: pointer; padding: 0; line-height: 1; font-size: 14px; color: var(--ink); }
.layer-color { width: 22px; height: 22px; padding: 0; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 6px; background: none; cursor: pointer; }
.layer-color::-webkit-color-swatch-wrapper { padding: 1px; }
.layer-color::-webkit-color-swatch { border: none; border-radius: 4px; }
.layer-name { font-size: 12px; font-weight: 500; color: var(--ink-soft); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layer-count { font-size: 11px; color: var(--muted); }
.heat-btn { margin-left: 10px; padding: 4px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 500; cursor: pointer; text-transform: none; letter-spacing: 0; }
.heat-btn:hover { border-color: var(--blue); color: var(--blue); }
.heat-btn.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.stack { position: relative; }
.stack svg { width: 100%; height: 100%; display: block; }
.stack .heat { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.stack.show-heat .heat { display: block; }

/* ------- reconstrução de texto ------- */
.text-panel { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; background: var(--card-soft); }
.text-panel .panel-label { margin: 0 0 10px; }
.tw-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); }
.tw-row:first-child { border-top: none; }
.tw-word { font-size: 13.5px; font-weight: 600; color: var(--ink); min-width: 120px; }
.tw-conf { font-size: 10.5px; color: var(--muted); }
.tw-row select { width: auto; min-width: 180px; padding: 7px 10px; font-size: 12.5px; }
.tw-row .ghost-btn.small { padding: 7px 14px; font-size: 12px; }
.tw-row.done .tw-word { color: #15803d; }

/* ------- comparação ------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; flex: 1; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare figure { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.compare figcaption { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.compare figcaption small { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.canvas { height: 400px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: auto; display: grid; place-items: center; background: var(--card-soft); }
.checker {
  background-image:
    linear-gradient(45deg, #e8ecf3 25%, transparent 25%, transparent 75%, #e8ecf3 75%),
    linear-gradient(45deg, #e8ecf3 25%, transparent 25%, transparent 75%, #e8ecf3 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  background-color: #f7f9fc;
}
.canvas img, .canvas svg { display: block; transform-origin: center; max-width: none; }

/* ------- variações ------- */
.variations-strip { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.var-thumb { text-align: center; }
.var-thumb .box {
  width: 108px; height: 76px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(45deg, #e8ecf3 25%, transparent 25%, transparent 75%, #e8ecf3 75%),
    linear-gradient(45deg, #e8ecf3 25%, transparent 25%, transparent 75%, #e8ecf3 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  background-color: #f7f9fc;
}
.var-thumb svg { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.var-thumb .lbl { font-size: 10.5px; color: var(--muted); margin-top: 5px; display: block; font-weight: 500; }
.var-note { font-size: 11px; color: var(--muted); align-self: center; max-width: 130px; }

/* ------- ações do resultado ------- */
.result-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }
.zoom-ctrl { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 300px; }
.zoom-ctrl label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.zoom-ctrl output { font-size: 12px; font-weight: 700; color: var(--ink); min-width: 46px; font-variant-numeric: tabular-nums; }
.editor-ctrl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.editor-ctrl .hint { margin: 0; font-size: 11.5px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ghost-btn { padding: 11px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-el); color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.ghost-btn:hover { border-color: var(--blue); color: var(--blue-deep); }
.ghost-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.ghost-btn.small { padding: 7px 14px; font-size: 12px; }
.ghost-btn.wide { width: 100%; padding: 13px; }
.ghost-btn.wide.busy { opacity: 0.6; pointer-events: none; }
.dl-btn {
  padding: 11px 20px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--r-el);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.2s, background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 18px var(--blue-glow);
}
.dl-btn:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 10px 24px var(--blue-glow); }
.dl-btn:disabled { opacity: 0.6; }
.dl-btn.small { padding: 8px 14px; font-size: 12.5px; }
.dl-btn.ghosted { background: var(--card); color: var(--ink); border: 1px solid var(--line); font-weight: 500; box-shadow: none; }
.dl-btn.ghosted:hover { border-color: var(--blue); color: var(--blue-deep); box-shadow: none; }
.dl-btn.wide { width: 100%; justify-content: center; padding: 15px; font-size: 15px; }

/* ------- conta + assinatura (no topo navy) ------- */
.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: transparent;
  color: #fff;
  border: 1px solid var(--navy-line-strong);
  border-radius: var(--r-el);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.login-btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.login-btn svg { width: 15px; height: 15px; }
.account-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--navy-card); border: 1px solid var(--navy-line-strong); border-radius: 999px; padding: 5px 14px 5px 6px; color: #fff; }
.account-chip img { width: 28px; height: 28px; border-radius: 50%; }
.account-chip .acc-name { font-size: 12.5px; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--navy-line-strong); color: var(--on-dark-muted); cursor: pointer; }
.plan-badge.pro { background: var(--blue); border-color: var(--blue); color: #fff; }
.plan-badge.avulso { background: rgba(26, 125, 255, 0.18); border-color: rgba(26, 125, 255, 0.55); color: #cfe3ff; cursor: default; white-space: nowrap; }
@media (max-width: 640px) { .plan-badge .badge-date { display: none; } }
.plan-badge.upgrade { background: rgba(26, 125, 255, 0.18); border-color: rgba(26, 125, 255, 0.5); color: #8fc0ff; }
.acc-out { background: none; border: none; cursor: pointer; color: var(--on-dark-muted); font-size: 11.5px; padding: 0; text-decoration: underline; text-underline-offset: 2px; }

/* ------- modais ------- */
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(7, 13, 25, 0.6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.modal { position: relative; width: min(440px, 100%); background: var(--card); border-radius: 18px; padding: 30px; box-shadow: 0 30px 80px rgba(7, 13, 25, 0.45); }
.modal .panel-label { color: var(--blue); border: none; padding: 0; margin: 0; }
.modal-x { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 26px; color: var(--muted); cursor: pointer; }
.modal-title { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 12px 0 6px; }
.modal-title em { font-style: normal; color: var(--blue); }
.price-line { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 16px; }
.price { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.per { color: var(--muted); font-size: 15px; }
.perks { list-style: none; margin: 0 0 20px; display: grid; gap: 8px; }
.perks li { font-size: 13.5px; color: var(--ink-soft); }
.perks b { font-weight: 700; }
.hint.center { text-align: center; margin-top: 10px; }

/* ------- modal de login (Google + e-mail/senha) ------- */
.auth-modal { width: min(400px, 100%); }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; margin-top: 14px; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-el); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color 0.15s, box-shadow 0.2s; }
.google-btn:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.google-btn svg { width: 18px; height: 18px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#authForm { display: flex; flex-direction: column; gap: 10px; }
.auth-input { width: 100%; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-el); font-family: var(--sans); font-size: 14px; color: var(--ink); }
.auth-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
#authSubmit { margin-top: 4px; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.auth-switch .link-btn { font-size: 13px; font-weight: 600; }

/* ------- rodapé (navy) ------- */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 36px max(24px, calc(50cqw - var(--shell) / 2));
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-line);
  color: var(--on-dark-muted);
  font-size: 12.5px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 36px; height: auto; }
.foot-brand strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.foot-brand strong em { font-style: normal; color: var(--blue); }
.foot-brand span { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.foot-cols { display: flex; flex-direction: column; gap: 4px; }
.foot-copy { color: var(--on-dark-muted); }

/* ------- landing: vídeo de fundo do hero (opcional) ------- */
.hero-video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.hero-veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11, 18, 32, 0.96) 0%, rgba(11, 18, 32, 0.78) 45%, rgba(11, 18, 32, 0.55) 100%); }

/* ------- landing: vídeo de destaque (copy) ------- */
.video-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 56px;
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--page);
}
.video-section .section-head { margin-bottom: 26px; }
.video-card {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(11, 18, 32, 0.22), 0 0 0 8px rgba(26, 125, 255, 0.06);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card .video-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(11, 18, 32, 0.7); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.video-card .video-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(26, 125, 255, 0.3); }
.video-sound {
  position: absolute; right: 12px; bottom: 12px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(11, 18, 32, 0.7); backdrop-filter: blur(6px);
  color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.video-sound:hover { background: var(--blue); border-color: var(--blue); }
@media (max-width: 920px) { .video-section { grid-template-columns: 1fr; gap: 32px; } }

/* ------- landing: faixa final de CTA ------- */
.cta-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background: radial-gradient(700px 400px at 50% 110%, rgba(26, 125, 255, 0.22), transparent 60%), var(--navy);
  color: var(--on-dark);
  text-align: center;
}
.cta-section .kicker { margin-bottom: 16px; }
.cta-section h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; margin-bottom: 12px; }
.cta-section p { color: var(--on-dark-muted); font-size: 16px; margin-bottom: 28px; }
.hero-cta.center { justify-content: center; margin-bottom: 14px; }
.cta-note { font-size: 12.5px; color: var(--on-dark-muted); }

/* ------- página do app (bancada) ------- */
.app-page .shell { padding-bottom: 0; }
.app-page .workbench-wrap { padding-top: 32px; padding-bottom: 56px; min-height: calc(100vh - 72px); }

/* ------- landing: vídeo no hero + V grandão na seção de baixo ------- */
.hero .hero-art { min-height: 520px; }
.hero .video-card { max-width: 340px; border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(26, 125, 255, 0.08); }
@media (max-width: 960px) { .hero .hero-art { min-height: 0; } .hero .video-card { max-width: 300px; } }

.showcase-section {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    radial-gradient(800px 500px at 72% 50%, rgba(26, 125, 255, 0.14), transparent 60%),
    var(--page);
  overflow: hidden;
}
.showcase-copy .section-head { margin-bottom: 26px; }
.showcase-art { position: relative; display: grid; place-items: center; min-height: 480px; }
.showcase-art img {
  position: relative;
  width: min(100%, 760px);
  height: auto;
  filter: drop-shadow(0 34px 70px rgba(26, 125, 255, 0.35));
  animation: floatY 7s ease-in-out infinite;
}
.showcase-art .art-glow { width: 640px; height: 640px; background: radial-gradient(circle, rgba(26, 125, 255, 0.28), transparent 62%); }
.showcase-art .art-pixels { right: 2%; bottom: 6%; }
.showcase-art .art-note { color: var(--ink); left: 0; bottom: 4%; }
@media (max-width: 960px) {
  .showcase-section { grid-template-columns: 1fr; gap: 24px; }
  .showcase-art { min-height: 320px; }
  .showcase-art .art-note { display: none; }
}

/* ------- telas de conta (entrar, assinar, redefinir senha) ------- */
.auth-page {
  background:
    radial-gradient(800px 480px at 50% -10%, rgba(26, 125, 255, 0.25), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--navy);
  color: var(--ink);
}
.auth-wrap { min-height: calc(100vh - 72px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 20px 56px; }
.auth-card { width: min(440px, 100%); background: var(--card); border-radius: 18px; padding: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.auth-card .kicker { margin-bottom: 12px; }
.auth-title { font-size: 28px; color: var(--ink); margin-bottom: 18px; }
.auth-lead { font-size: 14.5px; color: var(--muted); margin: -6px 0 20px; }
.auth-lead b { color: var(--ink); word-break: break-all; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; background: var(--card-soft); border: 1px solid var(--line); border-radius: var(--r-el); }
.auth-tab { padding: 9px; border: none; border-radius: 7px; background: none; color: var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.auth-tab.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.auth-card .google-btn { margin-top: 0; }
.auth-card .hint { margin: 0; }
#forgotForm { display: flex; flex-direction: column; gap: 10px; }
#forgotForm[hidden] { display: none; }
.auth-switch { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.auth-legal { max-width: 440px; text-align: center; font-size: 11.5px; color: var(--on-dark-muted); }
.ok-box { margin-top: 12px; padding: 11px 14px; background: #eafaf0; border: 1px solid #c9efd7; border-radius: var(--r-el); color: #15803d; font-size: 13px; }
.plan-card .price-line { margin-top: 0; }
.plan-card .perks { margin-bottom: 22px; }
a.dl-btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.waiting { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px; background: var(--blue-soft); border: 1px solid var(--blue-mid); border-radius: var(--r-el); }
.waiting strong { display: block; font-size: 13.5px; color: var(--ink); }
.waiting span { font-size: 12.5px; color: var(--muted); }
.spin { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2.5px solid var(--blue-mid); border-top-color: var(--blue); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#paidBtn { display: block; margin: 14px auto 0; }
.auth-page .login-btn { border-color: var(--navy-line-strong); }
.price { white-space: nowrap; }
.price-line { flex-wrap: nowrap; }
@media (max-width: 480px) {
  .auth-card { padding: 24px 20px; }
  .auth-title { font-size: 24px; }
  .plan-card .price { font-size: 30px; }
}

/* ------- landing: vídeo institucional (logo abaixo do hero) ------- */
.video-inst {
  padding-top: 24px;
  padding-bottom: 88px;
  background:
    radial-gradient(900px 420px at 50% 62%, rgba(26, 125, 255, 0.2), transparent 65%),
    linear-gradient(var(--navy), var(--navy-deep));
  color: var(--on-dark);
  text-align: center;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.video-inst .section-head h2 { color: #fff; }
.inst-player {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--navy-line-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(26, 125, 255, 0.07), 0 0 120px rgba(26, 125, 255, 0.18);
}
.inst-player video { width: 100%; height: 100%; display: block; object-fit: cover; }
.inst-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  background: radial-gradient(circle at center, rgba(7, 13, 25, 0.15), rgba(7, 13, 25, 0.45));
  color: #fff;
  cursor: pointer;
  transition: background 0.25s;
}
.inst-play:hover { background: radial-gradient(circle at center, rgba(7, 13, 25, 0.05), rgba(7, 13, 25, 0.35)); }
.inst-play-ico {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 12px rgba(26, 125, 255, 0.22), 0 18px 50px rgba(26, 125, 255, 0.55);
  transition: transform 0.2s;
}
.inst-play:hover .inst-play-ico { transform: scale(1.07); }
.inst-play-ico svg { width: 36px; height: 36px; margin-left: 5px; fill: #fff; }
.inst-play-txt { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.inst-play-txt small { font-weight: 500; opacity: 0.8; margin-left: 4px; }
.inst-player.playing .inst-play { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .video-inst { padding-bottom: 56px; }
  .inst-player { border-radius: 12px; }
  .inst-play-ico { width: 68px; height: 68px; }
  .inst-play-ico svg { width: 28px; height: 28px; }
}

/* ------- páginas legais (privacidade, termos) ------- */
.legal-page { background: var(--page); }
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.legal .kicker { margin-bottom: 12px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); color: var(--ink); margin-bottom: 6px; }
.legal-date { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 19px; color: var(--ink); letter-spacing: -0.01em; margin: 32px 0 10px; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 20px; display: grid; gap: 6px; }
.legal a { color: var(--blue-deep); }
.legal-back { margin-top: 36px; }
.foot-legal a { color: var(--on-dark-muted); text-decoration: none; }
.foot-legal a:hover { color: #fff; }
.auth-legal a { color: #8fc0ff; }

/* ------- planos (mensal x avulso) ------- */
.plans { display: grid; gap: 12px; margin-bottom: 14px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.plan strong { font-size: 15px; color: var(--ink); }
.plan.best { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.plan-tag { position: absolute; top: -11px; right: 14px; padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price span { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-price small { color: var(--muted); font-size: 13px; }
.plan-note { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.plan .dl-btn.wide, .plan .plan-btn { padding: 13px; font-size: 14px; text-align: center; justify-content: center; display: flex; text-decoration: none; }
a.ghost-btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ------- planos lado a lado (assinatura e home) ------- */
.auth-card.plan-card { width: min(920px, 100%); padding: 40px; }
.plans-head { text-align: center; max-width: 560px; margin: 0 auto 28px; }
.plans-head .auth-lead { margin: 0; }
.plans { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 26px 24px 24px; }
.plan strong { font-size: 17px; }
.plan-price span { font-size: 36px; }
.plan-note { min-height: 2.6em; }
.plan .dl-btn.wide, .plan .plan-btn { margin-bottom: 18px; }
.plan-feats { list-style: none; display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); }
.plan-feats li:last-child { color: var(--blue-deep); font-weight: 600; }
.plan.chosen { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.fineprint { display: block; margin-top: 4px; font-size: 11.5px; }
.auth-card.plan-card .waiting, .auth-card.plan-card #paidBtn, .auth-card.plan-card .error { max-width: 560px; margin-left: auto; margin-right: auto; }
@media (max-width: 480px) { .auth-card.plan-card { padding: 26px 18px; } .plan-price span { font-size: 30px; } }

/* home: seção de preços */
.pricing-section { padding-top: 80px; padding-bottom: 80px; background: var(--page); }
.pricing-section .section-head { text-align: center; margin: 0 auto 36px; }
.pricing-section .plans { max-width: 920px; margin: 0 auto; }
.pricing-section .plan { box-shadow: var(--shadow); }
.pricing-section .plan.best { box-shadow: 0 0 0 4px var(--blue-soft), var(--shadow-lift); }
.pricing-section .hint.center { margin-top: 18px; }
