/* ============================================================
   MULTIPLO PAY — Design System
   Dark Fintech · Glassmorphism · Tech Grid
   ============================================================ */

/* ============ TOKENS ============ */
:root {
  /* Cores base */
  --bg:         #050C14;
  --bg-2:       #070E1A;
  --bg-3:       #0A1422;
  --surface:    rgba(255, 255, 255, 0.04);
  --surface-2:  rgba(255, 255, 255, 0.07);
  --border:     rgba(255, 255, 255, 0.07);
  --border-2:   rgba(255, 255, 255, 0.13);

  /* Acento principal — Teal da marca MultiploPay */
  --gold:       #2DD4BF;          /* teal principal */
  --gold-dim:   #0D9488;          /* teal escuro */
  --gold-glow:  rgba(45, 212, 191, 0.18);
  --gold-soft:  rgba(45, 212, 191, 0.10);

  /* Teal claro (wordmark "Pay") */
  --teal-light: #5EEAD4;

  /* Navy da marca (texto "Multiplo") */
  --navy:       #1B2F45;

  /* Texto */
  --text:       #E8EDF4;
  --text-soft:  #7A8FA6;
  --text-muted: #3D5470;

  /* Status */
  --green:      #2DD4BF;
  --green-soft: rgba(45, 212, 191, 0.12);
  --red:        #F04E4E;
  --red-soft:   rgba(240, 78, 78, 0.12);

  /* Tipografia */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Layout */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --wrap:      1140px;

  /* Transições */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

/* ============ CANVAS (PARTÍCULAS) ============ */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ============ LAYOUT ============ */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ============ UTILITÁRIOS ============ */
.gradient-text {
  background: linear-gradient(135deg, #2DD4BF 0%, #5EEAD4 45%, #14B8A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8em;
}

.eyebrow--light { color: rgba(45, 212, 191, 0.75); }

.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

.eyebrow-dot--gold { background: var(--gold); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Glass card */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease-out);
}

.glass-card:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.1), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}

.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: #041018;
  box-shadow: 0 0 0 0 var(--gold-glow);
  transition: all .2s ease, box-shadow .4s ease;
}

.btn-primary:hover {
  background: var(--teal-light);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text-soft);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.3);
  color: var(--text);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, border-color .3s ease;
}

.site-header.scrolled {
  background: rgba(5, 10, 20, 0.95);
  border-color: var(--border-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { flex-shrink: 0; }

.brand-logo-m {
  flex-shrink: 0;
  display: block;
}

.brand-logo-text {
  display: block;
  overflow: visible;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-word-multiplo { color: var(--text); }
.brand-word-pay      { color: #2DD4BF; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: .9rem;
  font-weight: 500;
}

.main-nav a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color .2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #041018 !important;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all .2s ease !important;
}

.nav-cta:hover {
  background: var(--teal-light) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

/* Grid decorativo sutil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

/* Brilho teal de fundo */
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  max-width: 13ch;
  margin-bottom: .6em;
  line-height: 1.1;
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 44ch;
  line-height: 1.75;
  margin-bottom: 2em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  transition: border-color .2s ease;
}

.badge svg { opacity: 0.6; }
.badge:hover { border-color: var(--border-2); }

/* ============ FLOW DIAGRAM ============ */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow-diagram {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 480px;
  padding: 40px 20px 100px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
}

.node-ring {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  animation: ring-pulse 3s ease-in-out infinite;
}

.node-ring--teal  { border-color: rgba(45, 212, 191, 0.35); animation-delay: .5s; }
.node-ring--green { border-color: rgba(45, 212, 191, 0.2);  animation-delay: 1s; }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.4; }
}

.node-body {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
}

.node-body--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #041018;
  box-shadow: 0 0 30px var(--gold-glow);
}

.node-body--teal {
  background: linear-gradient(135deg, #0D2137 0%, #0A1A2E 100%);
  border-color: rgba(45, 212, 191, 0.4);
  color: #2DD4BF;
  box-shadow: 0 0 28px rgba(45, 212, 191, 0.22);
}

.node-body--green {
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.28);
  color: var(--green);
}

.node-text-mp {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.node-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Connector */
.flow-connector {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.connector-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border-2), var(--border), var(--border-2));
  position: relative;
  overflow: hidden;
}

.connector-dot {
  position: absolute;
  top: 50%; left: -8px;
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: dot-move 2.5s ease-in-out infinite;
}

.connector-dot--gold,
.connector-dot--teal {
  background: var(--gold);
  animation-delay: 1.25s;
}

@keyframes dot-move {
  0% { left: -8px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% + 2px); opacity: 0; }
}

.connector-label {
  font-family: var(--font-mono);
  font-size: .64rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Float cards */
.float-card {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: float-card 4s ease-in-out infinite;
}

.float-card--1 { bottom: 20px; left: 0; animation-delay: 0s; }
.float-card--2 { bottom: 20px; left: 50%; transform: translateX(-50%); animation-delay: 1.3s; }
.float-card--3 { bottom: 20px; right: 0; animation-delay: 2.6s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.float-card--2 {
  animation: float-card-center 4s ease-in-out infinite 1.3s;
}

@keyframes float-card-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

.float-card-label {
  font-family: var(--font-mono);
  font-size: .64rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.float-card-value {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text);
  font-weight: 500;
}

.status-active {
  color: var(--green);
  position: relative;
}

.status-active::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 5px;
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Linha divisória animada */
.hero-rule {
  position: relative;
  overflow: hidden;
}

.rule-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-2) 20%, rgba(45, 212, 191, 0.3) 50%, var(--border-2) 80%, transparent 100%);
  animation: rule-shimmer 4s ease-in-out infinite;
}

@keyframes rule-shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ============ SECTION HEADERS ============ */
.section-header { margin-bottom: 56px; }

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: .3em;
}

.section-lead {
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 0;
}

/* ============ STEPS ============ */
.steps {
  padding: 88px 0;
  position: relative;
}

.steps-track { position: relative; }

.steps-line {
  display: none;
}

.steps-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-marker {
  display: flex;
  align-items: center;
}

.step-num {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: #2DD4BF;
  letter-spacing: .08em;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 6px;
  padding: 3px 8px;
}

.step-card {
  padding: 20px;
  flex: 1;
}

.step-card:hover { transform: translateY(-3px); }

.step-card h3 {
  font-size: .95rem;
  margin-bottom: 8px;
  color: var(--text);
}

.step-card p {
  font-size: .85rem;
  margin: 0;
  line-height: 1.6;
}

/* ============ ADVANTAGES ============ */
.advantages {
  padding: 88px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Brilho teal à esquerda */
.advantages::before {
  content: '';
  position: absolute;
  top: 50%; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.05) 0%, transparent 60%);
  transform: translateY(-50%);
  pointer-events: none;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.adv-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #2DD4BF, transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.adv-card:hover::before { opacity: 1; }
.adv-card:hover { transform: translateY(-4px); }

.adv-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2DD4BF;
  margin-bottom: 18px;
}

.adv-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.adv-card p {
  font-size: .88rem;
  margin: 0;
  line-height: 1.65;
}

/* ============ FORM SECTION ============ */
.form-section {
  padding: 96px 0 112px;
  position: relative;
  overflow: hidden;
}

/* Brilho azulado de fundo */
.form-section::before {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(60, 100, 200, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.form-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.form-intro h2 {
  font-size: 2rem;
  max-width: 16ch;
  margin-bottom: .6em;
}

.form-intro > p {
  font-size: .95rem;
  max-width: 36ch;
  margin-bottom: 2em;
}

.form-guarantees {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-guarantees li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-soft);
}

.form-guarantees svg { flex-shrink: 0; color: var(--green); }

/* Container do formulário */
.form-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-section-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

/* Campos */
.field { margin-bottom: 20px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 7px;
  letter-spacing: .01em;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  background: #0C1828;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

select option {
  background: #0C1828;
  color: var(--text);
}

input::placeholder { color: var(--text-muted); }

input:focus,
select:focus {
  outline: none;
  border-color: #2DD4BF;
  background: rgba(45, 212, 191, 0.04);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}

.input-group {
  position: relative;
}

.input-group input {
  padding-right: 46px;
}

.input-icon-btn {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color .2s ease;
}

.input-icon-btn:hover { color: var(--text-soft); }

/* Select custom */
.select-wrapper { position: relative; }

.select-wrapper select { padding-right: 38px; cursor: pointer; }

.select-arrow {
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

/* Checkbox */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 8px;
  cursor: pointer;
  line-height: 1.55;
}

.checkbox-field input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.checkbox-custom {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-2);
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.checkbox-field:hover .checkbox-custom { border-color: #2DD4BF; }

.checkbox-field input:checked + .checkbox-custom {
  background: #2DD4BF;
  border-color: #2DD4BF;
}

.checkbox-custom::after {
  content: '';
  display: block;
  width: 10px; height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%230A0F1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity .15s ease;
}

.checkbox-field input:checked + .checkbox-custom::after { opacity: 1; }

/* Hints e erros */
.field-hint {
  display: block;
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.field-error {
  display: block;
  font-size: .78rem;
  color: var(--red);
  margin-top: 5px;
  min-height: 1em;
}

/* Botão submit */
.btn-submit {
  width: 100%;
  margin-top: 12px;
  padding: 15px;
  font-size: 1rem;
  position: relative;
}

.btn-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

.btn-submit.is-loading .btn-text { display: none; }
.btn-submit.is-loading .btn-loading { display: inline-flex; }

.spinner {
  animation: spin .8s linear infinite;
}

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

/* Feedback */
.form-feedback {
  margin-top: 16px;
  font-size: .88rem;
  min-height: 1.4em;
  border-radius: var(--radius-sm);
  padding: 0;
  transition: all .3s ease;
}

.form-feedback:not(:empty) { padding: 12px 14px; }

.form-feedback.success {
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.form-feedback.error {
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid rgba(240, 78, 78, 0.2);
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer .brand-name { color: var(--text); }

.footer-note {
  color: var(--text-muted);
  font-size: .8rem;
  max-width: 64ch;
  margin: 0;
  line-height: 1.65;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: flex; justify-content: center; }
  .flow-diagram { max-width: 420px; }
  .steps-list { grid-template-columns: repeat(3, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 80px 0 0; }
  .hero-copy h1 { font-size: 2.1rem; }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-container { padding: 28px 20px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .menu-toggle { display: flex; }
  .steps { padding: 64px 0; }
  .advantages { padding: 64px 0; }
  .form-section { padding: 64px 0 80px; }
}

@media (max-width: 520px) {
  .steps-list { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn-ghost { width: auto; }
  .float-card--3 { display: none; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  #particle-canvas { display: none; }
}

/* ============ PARCELA PREVIEW ============ */
.parcela-preview {
  margin-top: -6px;
  margin-bottom: 20px;
}

.parcela-preview-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.22);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: .84rem;
  color: var(--teal);
  line-height: 1.4;
}

.parcela-preview-inner svg { flex-shrink: 0; opacity: .8; }
.parcela-preview-inner strong { font-weight: 700; }

