:root {
  --bg: #1e1e20;
  --bg-card: #252528;
  --bg-card2: #2c2c30;
  --primary: #5a2149;
  --secondary: #523861;
  --accent: #7a3162;
  --text: #f0f0f4;
  --muted: #8e8e9a;
  --border: rgba(90, 33, 73, 0.35);
  --border-light: rgba(255,255,255,0.07);
  --radius: 14px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(30, 30, 32, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo img {
  height: auto;
  width: 180px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 2px 12px rgba(90, 33, 73, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(90, 33, 73, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  background: rgba(90, 33, 73, 0.15);
  border-color: var(--primary);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1rem;
}

/* SECTIONS */
section { padding: 96px 24px; }

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c47eb0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  letter-spacing: -0.015em;
}

h3 { font-size: 1.25rem; }

.text-gradient {
  background: linear-gradient(135deg, #c47eb0 0%, #a06ed6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* HERO */
#hero {
  padding-top: 160px;
  padding-bottom: 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(90, 33, 73, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

#hero h1 { margin-bottom: 24px; }

#hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.badge-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4cdb9c;
}

/* URGENCY */
#urgencia {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

#urgencia .urgency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.urgency-stat-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: none;
  border: none;
  border-left: 3px solid rgba(196, 126, 176, 0.45);
  border-radius: 0;
  padding: 6px 0 6px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #c47eb0 0%, #a06ed6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.stat-desc { font-size: 1.075rem; color: var(--muted); margin-top: 6px; }

/* SERVICES */
#servicos { background: var(--bg); }

.services-list {
  margin-top: 48px;
}

.service-item {
  display: grid;
  grid-template-columns: 36px 1fr 2fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
  align-items: start;
  transition: border-color 0.2s;
}

.service-item:last-child {
  border-bottom: 1px solid var(--border-light);
}

.service-num {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

.service-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.service-item p {
  color: var(--muted);
  font-size: 1.075rem;
  line-height: 1.75;
  margin: 0;
}

/* HOW IT WORKS */
#como-funciona {
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 56px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), var(--border), transparent);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 16px;
}

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #c47eb0;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.step h3 { font-size: 1rem; }
.step p { font-size: 1.05rem; color: var(--muted); }

/* INTEGRATIONS */
#integracoes { background: var(--bg); }

.integrations-subtitle {
  color: var(--muted);
  max-width: 560px;
  margin: 12px 0 48px;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.integration-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 12px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
  display: grid;
  grid-template-rows: 40px auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
}

.integration-chip:hover {
  border-color: var(--border);
  color: var(--text);
  background: var(--bg-card2);
  transform: translateY(-2px);
}

.integration-logo {
  width: auto;
  height: auto;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  display: block;
}

.integration-more-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #c47eb0;
  line-height: 1;
}

.integrations-note {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

/* MONITORING */
#monitoramento {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.monitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 0;
}

.monitor-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.monitor-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.monitor-feature .icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(90,33,73,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.monitor-feature .icon svg {
  width: 20px;
  height: 20px;
  color: #c47eb0;
}

.monitor-feature h4 { margin-bottom: 4px; font-size: 0.95rem; }
.monitor-feature p { font-size: 1.05rem; color: var(--muted); }

.monitor-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
}

.terminal-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-line {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
}

.terminal-line:last-child { border-bottom: none; }
.terminal-line .ok { color: #4cdb9c; }
.terminal-line .warn { color: #febc2e; }
.terminal-line .label { color: #c47eb0; }

/* PRICING */
#valores { background: var(--bg); }

.pricing-two-col {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: stretch;
  margin-top: 56px;
  margin-bottom: 24px;
}

.pricing-block {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.pricing-block.is-recurrent {
  border-color: rgba(196, 126, 176, 0.3);
  background: rgba(90, 33, 73, 0.08);
}

.pricing-block-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(90,33,73,0.2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.pricing-block-badge.recurrent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
}

.pricing-block h3 { margin-bottom: 8px; font-size: 1.3rem; }
.pricing-block .pricing-desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; line-height: 1.6; }

.pricing-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--muted);
}

.pricing-check-list li::before {
  content: '✓';
  color: #4cdb9c;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #c47eb0;
}

.pricing-connector-line {
  flex: 1;
  width: 1px;
  background: var(--border);
}

.pricing-connector-icon {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing-addon {
  background: rgba(90,33,73,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pricing-addon-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.pricing-addon strong { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 6px; }
.pricing-addon p { color: var(--muted); font-size: 1.025rem; line-height: 1.6; margin: 0; }

@media (max-width: 900px) {
  .pricing-two-col { grid-template-columns: 1fr; }
  .pricing-connector { flex-direction: row; height: 48px; }
  .pricing-connector-line { flex: 1; width: auto; height: 1px; }
  .pricing-connector-icon { transform: rotate(90deg); }
  .pricing-addons { grid-template-columns: 1fr; }
}

/* CONSULTANCY */
#consultoria {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
}

.consultoria-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.consultoria-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.consultoria-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 1.075rem;
}

.consultoria-list li span:first-child {
  color: #c47eb0;
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA FINAL */
#cta-final {
  text-align: center;
  padding: 112px 24px;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(90, 33, 73, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

#cta-final h2 { margin-bottom: 16px; }
#cta-final p { color: var(--muted); max-width: 520px; margin: 0 auto 40px; }

.cta-meta {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* FOOTER */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

footer img { height: auto; width: 180px; max-width: 100%; object-fit: contain; display: block; margin-bottom: 18px; }
footer .footer-desc { color: var(--muted); font-size: 0.875rem; max-width: 280px; }
footer .footer-cnpj { color: var(--muted); font-size: 0.8rem; margin-top: 8px; }

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--muted); font-size: 0.8rem; }

/* ICON HELPERS */
.section-label svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }
.pricing-addon-icon { display: flex; align-items: center; justify-content: center; }
.pricing-addon-icon svg { width: 22px; height: 22px; color: #c47eb0; }
.consultoria-box-icon svg { width: 32px; height: 32px; color: #c47eb0; margin-bottom: 16px; display: block; }
.pipedrive-logo {
  height: auto !important;
  width: auto !important;
  max-height: 26px !important;
  max-width: 110px !important;
  filter: brightness(0) invert(0.82);
  object-fit: contain;
}

/* LEGAL PAGES */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-content h1 { margin-bottom: 8px; font-size: 2rem; }
.legal-content .legal-meta { color: var(--muted); font-size: 0.875rem; margin-bottom: 48px; }
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 14px; color: #c47eb0; }
.legal-content p { color: var(--muted); margin-bottom: 14px; font-size: 0.95rem; line-height: 1.8; }
.legal-content ul { margin: 8px 0 14px 20px; }
.legal-content ul li { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 6px; }
.legal-content a { color: #c47eb0; }

/* EXAMPLES SECTION */
#exemplos { padding: 96px 24px; }

.examples-header {
  max-width: 780px;
  margin-bottom: 52px;
}

.examples-intro-text {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-top: 18px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  min-width: 0;
}

.example-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.2s, transform 0.2s;
}

.example-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}

.example-card-img {
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.example-card-body { padding: 24px; }

.example-card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.example-card-body p {
  color: var(--muted);
  font-size: 1.075rem;
  line-height: 1.7;
}

.more-automations { margin-bottom: 32px; }

.more-automations-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.automation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.automation-tag {
  background: var(--bg-card2);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.automation-tag-highlight {
  border-color: var(--border);
  color: #c47eb0;
  font-weight: 600;
}

.examples-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  #urgency .urgency-grid,
  .monitor-grid,
  .consultoria-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-item { grid-template-columns: 28px 1fr; gap: 20px; }
  .service-item p { grid-column: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  section { padding: 72px 20px; }
  .service-item { display: flex; flex-direction: column; gap: 12px; }
  .service-num { display: none; }
  .steps { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .examples-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   FORM HERO
   ============================================= */
#form-hero {
  padding-top: 148px;
  padding-bottom: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#form-hero h1 { margin-bottom: 20px; }

#form-hero .subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* =============================================
   FORM SECTION
   ============================================= */
#form-section {
  padding: 40px 24px 96px;
}

.form-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px 40px 36px;
}

/* Progress indicator */
.form-progress {
  margin-bottom: 36px;
}

.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-dot-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.25s;
  position: relative;
}

.step-check { display: none; width: 14px; height: 14px; }
.step-num-label { display: block; }

.step-dot.current .step-dot-circle {
  border-color: var(--accent);
  background: rgba(90,33,73,0.2);
  color: #c47eb0;
}

.step-dot.completed .step-dot-circle {
  border-color: #4cdb9c;
  background: rgba(76, 219, 156, 0.12);
  color: #4cdb9c;
}

.step-dot.completed .step-check { display: block; }
.step-dot.completed .step-num-label { display: none; }

.step-dot span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.step-dot.current span { color: #c47eb0; }
.step-dot.completed span { color: #4cdb9c; }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  margin: 0 8px;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.step-line.filled { background: #4cdb9c; }

/* Form steps */
.form-step { display: none; }
.form-step.active {
  display: block;
  animation: stepIn 0.2s ease;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* Form fields */
.form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.required-mark { color: #c47eb0; }

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--muted); opacity: 0.7; }
.form-input.has-error { border-color: #ff5f57; }

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Radio cards */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 2px;
  transition: outline 0.15s;
}

.radio-group.has-error {
  outline: 1.5px solid #ff5f57;
  outline-offset: 2px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.radio-card:hover { border-color: rgba(90,33,73,0.5); }

.radio-card input[type="radio"] { display: none; }

.radio-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
  transition: all 0.15s;
  position: relative;
}

.radio-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(90,33,73,0.1);
}

.radio-card:has(input:checked) .radio-check {
  border-color: #c47eb0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.radio-card:has(input:checked) .radio-check::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}

.radio-card span {
  font-size: 0.9rem;
  color: var(--text);
}

/* Field error */
.field-error {
  color: #ff5f57;
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 1.1em;
}

/* Form nav */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

/* Submit spinner */
.btn-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  vertical-align: middle;
  margin-left: 6px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   UTILITY PAGES (obrigado / agendar)
   ============================================= */
.page-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-center-inner {
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.page-center-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(90,33,73,0.18);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.page-center-icon svg {
  width: 32px; height: 32px;
  color: #c47eb0;
}

.page-center-inner h1 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-center-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* =============================================
   RESPONSIVE — form
   ============================================= */
@media (max-width: 600px) {
  .form-card { padding: 28px 20px 24px; }
  .form-nav { flex-direction: column-reverse; gap: 10px; }
  .form-nav .btn { width: 100%; justify-content: center; }
  .step-dot span { display: none; }
  .step-line { margin-bottom: 0; }
}

/* Páginas legais no celular: o menu fixo é mais alto que o padding padrão */
@media (max-width: 600px) {
  .legal-content { padding-top: 160px; }
  .legal-content h1 { font-size: 1.6rem; }
}
