/* ── GELB Feijoada – Public Styles ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --gelb-navy:    #0F1A33;
  --gelb-navy2:   #1B2A4E;
  --gelb-gold:    #E8B948;
  --gelb-cream:   #FAF6EC;
  --gelb-gray:    #6B7280;
  --gelb-border:  #E5E7EB;
  --gelb-radius:  16px;
  --gelb-shadow:  0 25px 60px -20px rgba(15,26,51,.35);
}

.gelb-gold { color: var(--gelb-gold); }

/* ══════════ FORM ══════════════════════════════════════════════════════ */
.gelb-form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: var(--gelb-cream);
  border-radius: 24px;
  padding: 36px 32px;
  font-family: 'Inter', sans-serif;
  box-shadow: var(--gelb-shadow);
}

.gelb-form-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--gelb-border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gelb-navy);
  box-shadow: inset 4px 0 0 var(--gelb-gold);
  margin-bottom: 12px;
}

.gelb-form-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--gelb-navy);
  margin: 0 0 6px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.gelb-form-sub {
  color: var(--gelb-gray);
  font-size: 14px;
  margin: 0 0 24px;
}

.gelb-field {
  margin-bottom: 18px;
}
.gelb-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gelb-navy);
  margin-bottom: 6px;
}
.gelb-field input[type=text],
.gelb-field input[type=tel],
.gelb-field input[type=number],
.gelb-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gelb-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--gelb-navy);
  transition: border-color .2s;
  box-sizing: border-box;
}
.gelb-field input:focus,
.gelb-field select:focus {
  outline: none;
  border-color: var(--gelb-gold);
  box-shadow: 0 0 0 3px rgba(232,185,72,.15);
}
.gelb-field input[type=number] { appearance: textfield; }

.gelb-price {
  display: inline-block;
  background: var(--gelb-navy2);
  color: var(--gelb-gold);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .05em;
  margin-left: 6px;
  font-weight: 700;
}
.gelb-free { background: #059669; color: #fff; }

/* Total box inside form */
.gelb-total-box {
  background: var(--gelb-navy);
  color: var(--gelb-cream);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
  text-align: left;
}
.gelb-total-label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 4px;
}
.gelb-total-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: 36px;
  color: var(--gelb-gold);
}
.gelb-total-detail {
  font-size: 12px;
  opacity: .65;
  margin-top: 6px;
  line-height: 1.7;
}

.gelb-submit-btn {
  display: block;
  width: 100%;
  background: var(--gelb-gold);
  color: var(--gelb-navy);
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-top: 8px;
}
.gelb-submit-btn:hover:not(:disabled) { background: #D4A517; transform: translateY(-1px); }
.gelb-submit-btn:disabled { opacity: .45; cursor: not-allowed; }
.gelb-submit-btn.loading { opacity: .7; }

.gelb-form-footer {
  text-align: center;
  font-size: 12px;
  color: var(--gelb-gray);
  margin-top: 12px;
}

.gelb-form-notice {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}
.gelb-form-notice.success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.gelb-form-notice.error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* ══════════ PAGAMENTO PIX ═════════════════════════════════════════════ */
.gelb-pix-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: var(--gelb-cream);
  border-radius: 24px;
  padding: 36px 32px;
  font-family: 'Inter', sans-serif;
  box-shadow: var(--gelb-shadow);
  text-align: center;
}

.gelb-pix-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gelb-gold);
  margin: 0 auto 16px;
  display: block;
  background: #fff;
  padding: 6px;
  object-fit: contain;
}

.gelb-pix-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--gelb-border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gelb-navy);
  box-shadow: inset 4px 0 0 var(--gelb-gold);
}

.gelb-pix-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 36px;
  color: var(--gelb-navy);
  margin: 18px 0 8px;
  letter-spacing: -1px;
}

.gelb-pix-sub {
  color: var(--gelb-gray);
  font-size: 15px;
  margin: 0 0 20px;
}

.gelb-pix-total-box {
  background: var(--gelb-navy);
  color: var(--gelb-cream);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
  text-align: left;
}
.gelb-pix-total-label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 4px;
}
.gelb-pix-total-val {
  font-family: 'Archivo Black', sans-serif;
  font-size: 36px;
  color: var(--gelb-gold);
}
.gelb-pix-total-detail {
  font-size: 12px;
  opacity: .65;
  margin-top: 6px;
  line-height: 1.7;
}

.gelb-pix-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--gelb-border);
}

.gelb-qr-container {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
}
.gelb-qr-img {
  width: 240px;
  height: 240px;
  border-radius: 8px;
  display: none;
}
.gelb-qr-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gelb-gray);
  font-size: 13px;
  background: #F9FAFB;
  border-radius: 8px;
}
.gelb-qr-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--gelb-border);
  border-top-color: var(--gelb-gold);
  border-radius: 50%;
  animation: gelb-spin .8s linear infinite;
}
@keyframes gelb-spin { to { transform: rotate(360deg); } }

.gelb-pix-chave-box {
  background: var(--gelb-navy);
  color: var(--gelb-cream);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 14px;
}
.gelb-pix-chave-lbl {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
}
.gelb-pix-chave-val {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gelb-gold);
  margin-top: 4px;
  word-break: break-all;
  overflow-wrap: break-word;
}

.gelb-copy-btn {
  width: 100%;
  background: var(--gelb-gold);
  color: var(--gelb-navy);
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .2s;
}
.gelb-copy-btn:hover { background: #D4A517; }
.gelb-copy-btn.copied { background: #059669; color: #fff; }

.gelb-steps {
  margin-top: 24px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--gelb-border);
  border-radius: 16px;
  padding: 20px;
}
.gelb-steps h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  color: var(--gelb-navy);
  margin: 0 0 12px;
}
.gelb-steps ol {
  margin: 0;
  padding-left: 20px;
  color: var(--gelb-navy);
  font-size: 14px;
  line-height: 1.75;
}

.gelb-pix-slogan {
  margin-top: 24px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gelb-gold);
}

.gelb-pix-back {
  display: inline-block;
  margin-top: 14px;
  color: var(--gelb-navy);
  font-size: 13px;
  text-decoration: underline;
}

/* ── v2.0 additions ─────────────────────────────────────────── */
.gelb-form-sub   { font-size: 14px; color: #6B7280; margin-bottom: 20px; }

/* ── v3: campo e-mail obrigatório ── */
.gelb-required {
  color: #E8B948;
  font-size: 12px;
}
.gelb-field input[type="email"] {
  border-color: #e5e7eb;
}
.gelb-field input[type="email"]:focus {
  border-color: #E8B948;
  box-shadow: 0 0 0 3px rgba(232,185,72,.15);
  outline: none;
}
/* placeholder do tel com +55 */
.gelb-tel-input::placeholder {
  color: #9CA3AF;
  font-size: 13px;
}

/* ══════════════════════════════════════════════════════
   BUG FIX #3 – Botão "Enviar comprovante no WhatsApp"
   Estilizado com fundo #25D465 e texto branco
══════════════════════════════════════════════════════ */
.gelb-wpp-deeplink-wrap {
  margin-top: 20px;
  text-align: center;
}
.gelb-wpp-deeplink-hint {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 10px;
}
/* Force override de qualquer estilo do tema WordPress */
.gelb-pix-wrap .gelb-wpp-deeplink-btn,
.gelb-pix-wrap a.gelb-wpp-deeplink-btn:link,
.gelb-pix-wrap a.gelb-wpp-deeplink-btn:visited,
.gelb-pix-wrap a.gelb-wpp-deeplink-btn:hover,
.gelb-pix-wrap a.gelb-wpp-deeplink-btn:active {
  color: #ffffff !important;
  text-decoration: none !important;
}
.gelb-wpp-deeplink-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D465 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(37, 212, 101, .35);
  transition: opacity .15s, transform .1s;
}
.gelb-wpp-deeplink-btn:hover {
  opacity: .92;
  transform: translateY(-1px);
  color: #ffffff !important;
  text-decoration: none !important;
}
.gelb-wpp-deeplink-btn:active {
  transform: translateY(0);
  opacity: .85;
}
.gelb-wpp-deeplink-btn svg {
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   v3.3 – Botão WhatsApp aprimorado + campo hint
══════════════════════════════════════════════════════ */

/* Hint abaixo do campo de telefone */
.gelb-field-hint {
  display: block;
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 4px;
  font-style: italic;
}

/* Seção do botão WhatsApp */
.gelb-wpp-section {
  margin-top: 24px;
  text-align: center;
}
.gelb-wpp-hint {
  font-size: 17px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 14px;
  line-height: 1.4;
}
.gelb-wpp-hint strong {
  color: #0F1A33;
  font-weight: 800;
}

/* Botão principal WhatsApp – novo seletor gelb-wpp-btn */
.gelb-pix-wrap .gelb-wpp-btn,
.gelb-pix-wrap a.gelb-wpp-btn:link,
.gelb-pix-wrap a.gelb-wpp-btn:visited,
.gelb-pix-wrap a.gelb-wpp-btn:hover,
.gelb-pix-wrap a.gelb-wpp-btn:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

.gelb-wpp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  background: #25D465 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none;
  padding: 16px 24px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 212, 101, .40);
  transition: box-shadow .2s, transform .15s, background .15s;
  position: relative;
  overflow: hidden;
}

/* Pulse animation to draw attention */
.gelb-wpp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  opacity: 0;
  animation: gelb-wpp-pulse 2.5s ease-in-out infinite;
}
@keyframes gelb-wpp-pulse {
  0%,100% { opacity: 0; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.015); }
}

.gelb-wpp-btn:hover {
  background: #1ebd57 !important;
  box-shadow: 0 8px 28px rgba(37, 212, 101, .50);
  transform: translateY(-2px);
  color: #ffffff !important;
  text-decoration: none !important;
}
.gelb-wpp-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(37, 212, 101, .30);
}

.gelb-wpp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.gelb-wpp-text {
  flex: 1;
  text-align: left;
}

.gelb-wpp-arrow {
  font-size: 18px;
  opacity: .8;
  flex-shrink: 0;
}

.gelb-wpp-sub {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 8px;
  font-style: italic;
}

/* ── Alternativa: enviar comprovante por e-mail ─────────────── */
.gelb-email-alt {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--gelb-border);
}
.gelb-email-alt-divider {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9CA3AF;
  margin-bottom: 10px;
}
.gelb-email-alt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: var(--gelb-navy) !important;
  text-decoration: none !important;
  border: 1.5px solid var(--gelb-navy);
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.gelb-email-alt-btn:hover {
  background: var(--gelb-navy);
  color: #fff !important;
}
