/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #f9fafb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Container Principal */
.container {
  width: 100%;
  max-width: 28rem;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

/* Barra de Progresso */
.progress-bar-container {
  width: 100%;
  background-color: #f3f4f6;
  height: 0.5rem;
}

.progress-bar {
  background-color: #DA291C;
  height: 0.5rem;
  transition: width 0.5s ease-out;
}

/* Conteúdo */
.content {
  padding: 2rem;
}

/* Utilitários */
.hidden {
  display: none !important;
}

/* Animações */
.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Botão Voltar */
.btn-back {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.btn-back:hover {
  color: #4b5563;
}

.icon-small {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}

/* Títulos */
.title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Step 1: Opções de Objetivo */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.option-btn {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid #f3f4f6;
  border-radius: 0.75rem;
  background: white;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.2s;
}

.option-btn:hover {
  border-color: #DA291C;
  background-color: #fef2f2;
}

.option-btn:hover .option-icon {
  background-color: white;
  color: #DA291C;
}

.option-btn:hover .option-label {
  color: #DA291C;
}

.option-btn:hover .icon-arrow {
  color: #DA291C;
}

.option-icon {
  background-color: #f3f4f6;
  padding: 0.5rem;
  border-radius: 50%;
  color: #4b5563;
  transition: all 0.2s;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.option-label {
  margin-left: 1rem;
  font-weight: 500;
  color: #374151;
  flex: 1;
  transition: color 0.2s;
}

.icon-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: #d1d5db;
  transition: color 0.2s;
}

/* Step 2: Valores */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-btn {
  width: 100%;
  padding: 1rem;
  text-align: left;
  border: 2px solid #f3f4f6;
  border-radius: 0.75rem;
  background: white;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.value-btn:hover {
  border-color: #DA291C;
  background-color: #fef2f2;
}

.value-btn:hover .radio-circle {
  border-color: #DA291C;
  background-color: #DA291C;
}

.radio-circle {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  transition: all 0.2s;
}

/* Step 3: Formulário */
.form-dados {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #9ca3af;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
}

.input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px #ef4444;
}

.select {
  appearance: none;
  background-color: white;
  cursor: pointer;
}

/* Botão Submit */
.btn-submit {
  width: 100%;
  background-color: #DA291C;
  color: white;
  font-weight: 700;
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.btn-submit:hover {
  background-color: #b91c1c;
}

.btn-submit:active {
  transform: scale(0.95);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.disclaimer {
  font-size: 0.75rem;
  text-align: center;
  color: #9ca3af;
  margin-top: 1rem;
}

/* Step 4: Sucesso */
.success-container {
  text-align: center;
  padding: 2rem 0;
}

.success-icon-wrapper {
  width: 5rem;
  height: 5rem;
  background-color: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #16a34a;
}

.success-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.success-text {
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.summary-box {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  text-align: left;
}

.summary-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.summary-item {
  color: #1f2937;
}

.btn-whatsapp {
  width: 100%;
  background-color: #16a34a;
  color: white;
  font-weight: 700;
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #15803d;
}