.lead-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
}

.lead-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.lead-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.lead-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.lead-card-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.lead-card-header p {
  color: var(--text-light);
  font-size: 15px;
}

.lead-form .form-group {
  margin-bottom: 20px;
}

.lead-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e8f0;
  border-radius: var(--radius-sm);
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--bg);
}

.lead-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(85,185,244,0.1);
}

.lead-form input:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.lead-form input[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-consent {
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.form-consent p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.lead-submit {
  width: 100%;
  justify-content: center;
  font-size: 18px;
  padding: 16px;
  margin-top: 8px;
}

.lead-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.lead-success {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: white;
  box-shadow: 0 4px 20px rgba(46,204,113,0.3);
}

.lead-success h3 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 8px;
}

.lead-success p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.lead-ref {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px !important;
}

.btn-signature {
  font-size: 18px;
  padding: 16px 36px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(255,107,53,0.3); }
  50% { box-shadow: 0 4px 30px rgba(255,107,53,0.5); }
}

@media (max-width: 600px) {
  .lead-card {
    padding: 32px 20px;
    margin: 0 -8px;
    border-radius: var(--radius-sm);
  }
  .lead-card-header h2 {
    font-size: 22px;
  }
}

/* === Progressive disclosure: optional ID/email fields === */
.lead-pro-form .pro-expand-link {
  display: inline-block;
  margin: 4px 0 12px;
  font-size: 13px;
  color: var(--gold, #c9a55a);
  text-decoration: underline dotted;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.lead-pro-form .pro-expand-link:hover { opacity: 0.85; }
.lead-pro-form .pro-extra { display: none; margin-top: 4px; }
.lead-pro-form .pro-extra.is-open { display: block; animation: pro-extra-in 0.25s ease; }
@keyframes pro-extra-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.lead-pro-form .pro-extra .pro-input { margin-bottom: 12px; }
.lead-pro-form .pro-extra-hint {
  font-size: 12px;
  color: var(--text-light, #64748b);
  margin: 0 0 12px;
  line-height: 1.5;
}
