/* ==========================================================
   WORKSHOP: VENDA MAIS COM TRÁFEGO PAGO
   Inscrição (3 Etapas) · Obsidian Black Luxury UI
   ========================================================== */

:root {
  --black-deep:    #000000;
  --black-base:    #04060A;
  --black-surface: #080C14;
  --black-card:    #0D1320;
  --black-input:   #06080F;

  --electric:      #007BFF;
  --cyan:          #00D9FF;
  --gold:          #FFB703;
  --danger:        #FF3B30;
  --white:         #FFFFFF;
  --muted:         #E2E8F0;
  --subtle:        #8EA4B8;
  --border:        rgba(0, 217, 255, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --grad-cta:      linear-gradient(135deg, #007BFF 0%, #00D9FF 100%);
  --grad-card:     linear-gradient(165deg, rgba(13, 19, 32, 0.96) 0%, rgba(6, 9, 15, 0.98) 100%);

  --font-h: 'Outfit', system-ui, sans-serif;
  --font-b: 'Plus Jakarta Sans', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 9999px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: .25s var(--ease-out);
}

.inscricao-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--black-base);
  background-image: 
    radial-gradient(ellipse at 50% -10%, rgba(0, 123, 255, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 70%, rgba(0, 217, 255, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(0, 123, 255, 0.10) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--white);
}

/* Header */
.inscricao-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.inscricao-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--t);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.back-link:hover {
  color: var(--cyan);
  border-color: rgba(0, 217, 255, 0.35);
  transform: translateX(-3px);
  background: rgba(0, 217, 255, 0.08);
}

.brand-title {
  display: block;
  font-family: var(--font-h);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
}

.brand-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

/* Main Container */
.inscricao-main {
  flex: 1;
  padding: 40px 0 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================
   WIZARD CARD (Fundo Preto Elegante de Alto Contraste)
   ========================================================== */
.wizard-card {
  background: var(--grad-card);
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: var(--r-lg);
  padding: 36px 24px;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(0, 217, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

@media (min-width: 600px) {
  .wizard-card {
    padding: 46px 42px;
  }
}

.wizard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-cta);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.6);
}

/* Step Progress Indicator */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.progress-track {
  position: absolute;
  top: 18px;
  left: 36px;
  right: 36px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: var(--r-pill);
  overflow: hidden;
}

.progress-track-fill {
  height: 100%;
  background: var(--grad-cta);
  width: 0%;
  transition: width 0.4s var(--ease-out);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

.progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--black-card);
  padding: 0 10px;
  border-radius: var(--r-sm);
}

.step-bubble {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--black-deep);
  border: 2px solid rgba(0, 217, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--subtle);
  transition: var(--t);
}

.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.progress-step.active .step-bubble {
  background: var(--grad-cta);
  border-color: #FFFFFF;
  color: #030914;
  box-shadow: 0 0 18px rgba(0, 217, 255, 0.6);
  transform: scale(1.08);
}

.progress-step.active .step-label {
  color: var(--cyan);
  font-weight: 800;
}

.progress-step.completed .step-bubble {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #030914;
}

/* Step Content Container */
.step-pane {
  display: none;
  animation: paneIn 0.35s var(--ease-out);
}

.step-pane.active {
  display: block;
}

@keyframes paneIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-heading {
  margin-bottom: 26px;
  text-align: left;
}

.step-title {
  font-family: var(--font-h);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--white);
  line-height: 1.2;
}

.step-subtitle {
  font-size: 0.92rem;
  color: var(--subtle);
  line-height: 1.5;
}

/* Form Controls */
.form-group {
  margin-bottom: 22px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px 18px;
  background: var(--black-input);
  border: 1.5px solid rgba(0, 217, 255, 0.22);
  border-radius: var(--r-md);
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--t);
  outline: none;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6);
}

.form-input:hover {
  border-color: rgba(0, 217, 255, 0.45);
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 
    0 0 0 4px rgba(0, 217, 255, 0.2),
    inset 0 2px 5px rgba(0, 0, 0, 0.6);
  background: rgba(8, 12, 20, 0.95);
}

.form-input::placeholder {
  color: rgba(142, 164, 184, 0.45);
}

.input-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--subtle);
  margin-top: 8px;
  line-height: 1.4;
}

/* Certificate Selection Cards (Step 2) */
.cert-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.cert-option-label {
  cursor: pointer;
  display: block;
}

.cert-option-input {
  display: none;
}

.cert-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--black-input);
  border: 2px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--r-md);
  transition: var(--t);
}

.cert-option-label:hover .cert-option-card {
  border-color: rgba(0, 217, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.15);
}

.cert-option-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cert-radio-indicator {
  width: 22px;
  height: 22px;
  border-radius: var(--r-pill);
  border: 2px solid rgba(0, 217, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  flex-shrink: 0;
}

.cert-radio-indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  transform: scale(0);
  transition: var(--t);
}

.cert-option-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.cert-option-text span {
  font-size: 0.85rem;
  color: var(--subtle);
  line-height: 1.4;
}

.cert-option-price {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cyan);
  white-space: nowrap;
  padding-left: 12px;
}

.cert-option-input:checked + .cert-option-card {
  border-color: var(--cyan);
  background: rgba(0, 123, 255, 0.15);
  box-shadow: 0 0 24px rgba(0, 217, 255, 0.22);
}

.cert-option-input:checked + .cert-option-card .cert-radio-indicator {
  border-color: var(--cyan);
}

.cert-option-input:checked + .cert-option-card .cert-radio-indicator::after {
  transform: scale(1);
}

/* Step 3: Summary Box */
.summary-box {
  background: var(--black-input);
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: var(--r-md);
  padding: 22px;
  margin-bottom: 26px;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-label {
  color: var(--subtle);
}

.summary-val {
  font-weight: 700;
  color: var(--white);
  text-align: right;
}

.text-cyan {
  color: var(--cyan);
}

.summary-event-banner {
  background: rgba(0, 123, 255, 0.14);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.event-banner-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2px;
}

.event-banner-text span {
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 600;
}

/* Wizard Navigation Buttons */
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cta);
  color: #030914;
  box-shadow: 0 6px 24px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 217, 255, 0.6);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--muted);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 217, 255, 0.35);
  color: var(--white);
}

.btn-wizard {
  flex: 1;
}

/* Success Confirmation State */
.success-card {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(0, 217, 255, 0.15);
  border: 2px solid var(--cyan);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.45);
}

.success-title {
  font-family: var(--font-h);
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}

.success-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 30px;
}
