/* ============================================================
   APLICAÇÃO & CHECKOUT EXPRESS — Protocolo DNA
   Design de Alta Performance & Alinhamentos Milimétricos
   ============================================================ */

.checkout-modal-card {
  max-width: 590px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(201, 164, 60, 0.12), transparent 70%),
    rgba(10, 14, 20, 0.95);
  border: 1px solid rgba(201, 164, 60, 0.25);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 100px -20px rgba(0, 0, 0, 0.9),
    0 0 60px -15px rgba(201, 164, 60, 0.22);
}

/* Header */
.app-head {
  padding: 18px 56px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.app-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-mark {
  display: flex;
  align-items: center;
  height: 24px;
}

.app-mark img {
  height: 24px;
  width: auto;
  display: block;
}

.app-head-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

.app-head-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-60);
  white-space: nowrap;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 164, 60, 0.08);
  border: 1px solid rgba(201, 164, 60, 0.3);
  color: var(--g-claro);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  white-space: nowrap;
}

.secure-badge svg {
  color: var(--g-claro);
  flex-shrink: 0;
}

/* Body */
.checkout-modal-body {
  padding: 28px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-title-wrap .step-q {
  font-family: var(--f-display);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0;
}

.modal-title-wrap em.g-italic {
  font-style: italic;
  font-weight: 300;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--t-60);
}

/* Form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.f-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-lab {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-60);
  padding-left: 2px;
}

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

.field {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 16px;
  height: 50px;
  transition: all .25s ease;
}

.field:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(201, 164, 60, 0.35);
}

.field:focus-within {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--g-base);
  box-shadow: 0 0 0 3px rgba(201, 164, 60, 0.16), 0 0 20px rgba(201, 164, 60, 0.12);
}

.field-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--t-40);
  margin-right: 12px;
  flex-shrink: 0;
  transition: color .2s ease;
}

.field:focus-within .field-ico {
  color: var(--g-claro);
}

.field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  font-family: var(--f-body);
  font-size: 14.5px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.field.has-error {
  border-color: rgba(235, 87, 87, 0.75);
  box-shadow: 0 0 0 3px rgba(235, 87, 87, 0.15);
}

.f-err {
  margin: -2px 0 2px;
  padding-left: 2px;
  font-size: 12px;
  color: #ff6b6b;
  line-height: 1.4;
}

/* Trust Badges Bar */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 2px 0 2px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--t-70);
  font-size: 11.5px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.trust-item svg {
  color: var(--g-claro);
  flex-shrink: 0;
}

/* ============================================================
   SUPER BOTÃO DE CHECKOUT DOURADO (HIGH IMPACT & ALIGNED)
   ============================================================ */
.btn-checkout-gold {
  position: relative;
  width: 100%;
  height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 225, 130, 0.7);
  background: linear-gradient(135deg, #F5E19A 0%, #D4AF37 45%, #C29B27 75%, #F0D58A 100%);
  background-size: 200% auto;
  color: #05080C;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow:
    0 12px 35px -5px rgba(201, 164, 60, 0.5),
    0 4px 15px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transition: all .3s cubic-bezier(.2, .7, .2, 1);
  overflow: hidden;
  margin-top: 2px;
}

.btn-checkout-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
  animation: goldShine 3.5s infinite;
}

@keyframes goldShine {
  0% { left: -120%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

.btn-checkout-gold:hover {
  transform: translateY(-2px);
  background-position: right center;
  box-shadow:
    0 18px 45px -5px rgba(201, 164, 60, 0.65),
    0 8px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.btn-checkout-gold:active {
  transform: translateY(1px);
  box-shadow:
    0 6px 20px -3px rgba(201, 164, 60, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-checkout-gold:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.2);
}

.btn-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}

.btn-checkout-gold:hover .btn-arrow {
  transform: translateX(4px);
}

.checkout-footer-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--t-40);
}

.checkout-footer-note b {
  color: var(--t-80);
}

/* Footer do Modal */
.app-foot {
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-40);
}

.app-foot .sep {
  opacity: 0.4;
  margin: 0 6px;
}

/* Responsivo */
@media (max-width: 600px) {
  .checkout-modal-card {
    max-width: 100%;
    border-radius: 16px;
  }
  .app-head {
    padding: 16px 48px 16px 18px;
  }
  .app-head-tag {
    display: none;
  }
  .app-head-sep {
    display: none;
  }
  .checkout-modal-body {
    padding: 22px 18px 22px;
    gap: 18px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }
  .trust-item {
    justify-content: flex-start;
  }
  .btn-checkout-gold {
    font-size: 12.5px;
    height: 50px;
    padding: 0 16px;
  }
}
