/* SpotGrow — estilos compartilhados (landing, retomada, privacidade, 404). Tokens de docs/spotgrow-brand.md */
:root {
  --green: #1d9e75;
  --green-deep: #0f6e56;
  --mint: #e1f5ee;
  --mint-soft: #f0faf6;
  --forest: #1a2e1f;
  --canvas: #f7fbf9;
  --ink: #14231a;
  --muted: #4d5f55;
  --line: #d6e7df;
  --white: #ffffff;
  --amber: #f2b441;
  --error: #b3261e;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
}
a {
  color: var(--green-deep);
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Botões ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover {
  background: var(--green-deep);
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-block {
  width: 100%;
}

/* ── Topo ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(1200px 520px at 85% -10%, rgba(29, 158, 117, 0.35), transparent 60%), var(--forest);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}
.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-word {
  font-size: 21px;
  letter-spacing: -0.03em;
}
.logo-word b {
  font-weight: 600;
}
.logo-word span {
  font-weight: 400;
  color: #5fd3a7;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0 96px;
}
.eyebrow {
  color: #7fe0bb;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
h1 em {
  font-style: normal;
  color: #5fd3a7;
}
.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 34em;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.proof li::before {
  content: '✓ ';
  color: #5fd3a7;
}

/* ── Prévia do relatório ────────────────────────────────────────────── */
.preview {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
}
.preview-tag {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--amber);
  color: #3b2a00;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
  color: var(--muted);
}
.preview-title {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 600;
}
.chart {
  background: var(--mint);
  border-radius: 12px;
  padding: 14px 12px 8px;
  margin-bottom: 14px;
}
.chart .line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.8s 0.4s ease-out forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}
.up {
  color: var(--green-deep);
  font-weight: 600;
  white-space: nowrap;
}

/* ── Seções ─────────────────────────────────────────────────────────── */
section {
  padding: 88px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head .label {
  color: var(--green-deep);
}
.title {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 10px 0 12px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 16px;
}
.card h3,
.feature h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  font-weight: 600;
}
.card p,
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}
.feature {
  display: flex;
  gap: 14px;
}
.feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mint);
  display: grid;
  place-items: center;
}

/* ── Preço ──────────────────────────────────────────────────────────── */
.pricing {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  border: 2px solid var(--green);
}
.pricing .label {
  color: var(--green-deep);
}
.price {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 12px 0 6px;
}
.price small {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.pricing-list {
  list-style: none;
  text-align: left;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}
.pricing-list li {
  display: flex;
  gap: 10px;
}
.pricing-list li::before {
  content: '✓';
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
}
.note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ── Chamada final ──────────────────────────────────────────────────── */
.cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--forest);
  color: var(--white);
  border-radius: 24px;
  padding: 48px;
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.45), transparent 65%);
}
.cta-box > * {
  position: relative;
}
.cta-box h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 600;
}
.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* ── Rodapé ─────────────────────────────────────────────────────────── */
.site-footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.foot nav {
  display: flex;
  gap: 18px;
}

/* ── Modal e formulário ─────────────────────────────────────────────── */
dialog.lead-dialog {
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
dialog.lead-dialog::backdrop {
  background: rgba(26, 46, 31, 0.6);
  backdrop-filter: blur(3px);
}
.dialog-body {
  position: relative;
  padding: 32px;
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.dialog-close:hover {
  background: var(--mint);
}
.panel h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 10px;
  padding-right: 36px;
}
.panel h2:focus {
  outline: none;
}
.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}
.offer {
  background: var(--mint-soft);
  border: 1px solid var(--mint);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink) !important;
}
.step-indicator {
  color: var(--green-deep);
  margin: 0 0 6px !important;
}
.field {
  margin: 18px 0 0;
}
.field > label,
legend {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--ink);
}
input[type='email'],
input[type='text'],
input[type='password'] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  border: 1.5px solid var(--line);
  border-radius: 12px;
}
input:focus {
  border-color: var(--green);
}
input[aria-invalid='true'] {
  border-color: var(--error);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--green);
}
.consent strong {
  color: var(--ink);
}
fieldset.q {
  border: 0;
  margin: 20px 0 0;
  padding: 0;
  min-width: 0;
}
.opts {
  display: grid;
  gap: 8px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  color: var(--muted);
  transition: border-color 0.15s, background 0.15s;
}
.opt:hover {
  border-color: var(--green);
}
.opt input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--green);
}
.opt:has(input:checked) {
  border-color: var(--green);
  background: var(--mint-soft);
  color: var(--ink);
}
.other {
  margin: 10px 0 0;
}
.other label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.hint {
  margin: 6px 0 0 !important;
  font-size: 13px !important;
  color: var(--muted);
}
.field-error {
  margin: 6px 0 0 !important;
  font-size: 14px !important;
  color: var(--error) !important;
  font-weight: 600;
}
.form-msg {
  min-height: 1em;
  margin: 12px 0 0 !important;
  font-size: 14px !important;
}
.form-msg.error {
  color: var(--error) !important;
  font-weight: 600;
}
.form-actions {
  margin-top: 22px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

/* ── Páginas de texto (privacidade, retomada, 404) ──────────────────── */
.page-header {
  background: var(--forest);
  color: var(--white);
}
.page-header .nav {
  padding: 18px 0;
}
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.doc h1 {
  font-size: clamp(30px, 4.4vw, 42px);
  margin-bottom: 8px;
}
.doc h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 36px 0 10px;
}
.doc p,
.doc li {
  color: #2b3a31;
}
.doc .meta {
  color: var(--muted);
  font-size: 14px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.doc th {
  font-size: 13px;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
}
.summary {
  background: var(--mint-soft);
  border: 1px solid var(--mint);
  border-radius: var(--radius);
  padding: 8px 20px;
}
.resume-card {
  max-width: 560px;
  margin: 0 auto;
}

/* ── Responsivo ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 32px 0 72px;
  }
  .preview {
    transform: none;
    max-width: 460px;
  }
  .steps,
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .cta-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
  .hero-ctas .btn,
  .cta-box .btn {
    width: 100%;
  }
  .nav .btn-sm {
    padding: 0 14px;
  }
  .steps,
  .features {
    grid-template-columns: 1fr;
  }
  section {
    padding: 64px 0;
  }
  .dialog-body {
    padding: 26px 18px;
  }
  .card {
    padding: 22px;
  }
}
@media (max-width: 360px) {
  .logo-word {
    font-size: 18px;
  }
  .nav .btn-sm {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .chart .line {
    stroke-dashoffset: 0;
  }
  html {
    scroll-behavior: auto;
  }
}
