:root {
  --primary: #0D70A7;
  --primary-dark: #09537d;
  --primary-light: rgba(13, 112, 167, 0.15);
  --primary-glow: rgba(13, 112, 167, 0.35);
  --accent-green: #628831;
  --accent-green-light: #7cb03e;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --bg-body: #091827;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #0D70A7;
  --success: #10b981;
  --error: #ef4444;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 25px 40px -10px rgba(13, 112, 167, 0.4);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  background-image: 
    radial-gradient(at 0% 0%, rgba(13, 112, 167, 0.25) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(98, 136, 49, 0.2) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(9, 24, 39, 0.9) 0px, #050e18 100%);
  background-attachment: fixed;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 16px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

/* Header com a Logo Branca */
.header-brand {
  text-align: center;
  margin-bottom: 28px;
  padding: 10px 0;
}

.header-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Main Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 920px) {
  .form-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
  }
}

/* Coluna da Esquerda (Textos e Benefícios) */
.hero-content {
  padding: 10px 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(13, 112, 167, 0.25);
  color: #38bdf8;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-tag svg {
  width: 14px;
  height: 14px;
  color: var(--accent-green-light);
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #94a3b8;
  margin-bottom: 28px;
  line-height: 1.6;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: rgba(98, 136, 49, 0.25);
  color: #86efac;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.feature-text span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #94a3b8;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: #86efac;
}

/* Card do Formulário (Fundo Branco Elegante com Alto Contraste) */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  color: #1e293b;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0D70A7 0%, #628831 100%);
}

.form-header {
  margin-bottom: 22px;
}

.form-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.88rem;
  color: #64748b;
}

/* Form Elements */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 540px) {
  .form-row.two-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.form-group label .required {
  color: #ef4444;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-icon svg {
  width: 18px;
  height: 18px;
}

.form-control {
  width: 100%;
  padding: 11px 14px 11px 42px;
  font-size: 0.925rem;
  font-family: inherit;
  color: #1e293b;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  outline: none;
}

.form-control.no-icon {
  padding-left: 14px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}

textarea.form-control {
  padding: 11px 14px;
  resize: vertical;
  min-height: 70px;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3.5px var(--primary-glow);
}

.form-control::placeholder {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  font-size: 1.025rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 18px rgba(13, 112, 167, 0.35);
  margin-top: 6px;
}

.btn-submit:hover:not(:disabled) {
  background: var(--primary-dark);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.btn-submit svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn-submit:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.form-footer-privacy {
  text-align: center;
  font-size: 0.775rem;
  color: #94a3b8;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-footer-privacy svg {
  width: 14px;
  height: 14px;
}

/* Spinner */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.75s infinite linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit.loading .spinner {
  display: inline-block;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
  display: none;
}

.alert-box {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: none;
  align-items: center;
  gap: 10px;
}

.alert-box.alert-error {
  display: flex;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Success Card */
.success-card {
  display: none;
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  background-color: #ecfdf5;
  color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(98, 136, 49, 0.2);
}

.success-icon-wrapper svg {
  width: 40px;
  height: 40px;
}

.success-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.success-card p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.lead-reference-box {
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 24px;
}

.lead-reference-box strong {
  color: var(--primary);
  font-family: monospace;
  font-size: 1rem;
  letter-spacing: 1px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background-color: #25D366;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  transform: translateY(-1px);
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
}

.footer-simple {
  text-align: center;
  padding: 24px 16px;
  font-size: 0.8rem;
  color: #64748b;
}
