/* Auro Solar - Calculadora Solar */
.asc-calculator {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 30px;
  font-family: inherit;
  color: #1d2127;
}

/* Progress */
.asc-progress {
  position: relative;
  margin-bottom: 40px;
}
.asc-progress-bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.asc-progress-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--asc-progress, 25%);
  background: linear-gradient(90deg, #f5a623, #f7c948);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.asc-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.asc-step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  background: #e8e8e8;
  color: #999;
  transition: all 0.3s;
}
.asc-step-dot.active {
  background: #f5a623;
  color: #fff;
}
.asc-step-dot.completed {
  background: #4caf50;
  color: #fff;
}

/* Steps */
.asc-step { display: none; animation: ascFadeIn 0.4s ease; }
.asc-step.active { display: block; }
@keyframes ascFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.asc-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1d2127;
}
.asc-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0 0 30px;
}

/* Option cards (Step 1) */
.asc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.asc-option-card {
  cursor: pointer;
}
.asc-option-card input { display: none; }
.asc-option-content {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.25s;
  background: #fff;
}
.asc-option-content:hover {
  border-color: #f5a623;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.15);
}
.asc-option-card input:checked + .asc-option-content {
  border-color: #f5a623;
  background: linear-gradient(135deg, #fff8ed, #fff);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.2);
}
.asc-icon {
  width: 48px; height: 48px;
  margin-bottom: 12px;
  color: #f5a623;
}
.asc-option-card input:checked + .asc-option-content .asc-icon {
  color: #e8950a;
}
.asc-option-content span {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Range sliders (Step 2, 3) */
.asc-form-group {
  margin-bottom: 32px;
}
.asc-label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1rem;
}
.asc-range-wrapper {
  position: relative;
}
.asc-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #f5a623 0%, #f5a623 var(--asc-range-pct, 0%), #e0e0e0 var(--asc-range-pct, 0%), #e0e0e0 100%);
  outline: none;
}
.asc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f5a623;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.asc-range::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f5a623;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.asc-range-value {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #f5a623;
  margin: 16px 0 4px;
}
.asc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #999;
}

/* Orientation (Step 2) */
.asc-orientation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.asc-orient-option { cursor: pointer; }
.asc-orient-option input { display: none; }
.asc-orient-content {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 8px;
  text-align: center;
  transition: all 0.25s;
  background: #fff;
}
.asc-orient-content:hover { border-color: #f5a623; }
.asc-orient-option input:checked + .asc-orient-content {
  border-color: #f5a623;
  background: #fff8ed;
}
.asc-orient-arrow {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.asc-orient-content span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}
.asc-orient-content small {
  display: block;
  color: #999;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Extras (Step 3) */
.asc-extras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.asc-extra-option { cursor: pointer; }
.asc-extra-option input { display: none; }
.asc-extra-content {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 8px;
  text-align: center;
  transition: all 0.25s;
  background: #fff;
}
.asc-extra-content:hover { border-color: #f5a623; }
.asc-extra-option input:checked + .asc-extra-content {
  border-color: #f5a623;
  background: #fff8ed;
}
.asc-extra-icon {
  width: 32px; height: 32px;
  margin: 0 auto 8px;
  display: block;
  color: #f5a623;
}
.asc-extra-content span {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Results (Step 4) */
.asc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.asc-result-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid #eee;
}
.asc-result-card.highlight {
  background: linear-gradient(135deg, #fff8ed, #fff3d6);
  border-color: #f5a623;
}
.asc-result-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.asc-result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d2127;
  margin-bottom: 4px;
}
.asc-result-card.highlight .asc-result-value {
  color: #e8950a;
}
.asc-result-label {
  font-size: 0.8rem;
  color: #666;
}
.asc-disclaimer {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Lead form */
.asc-lead-form {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.asc-form-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.asc-form-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 24px;
}
.asc-form-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.asc-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.25s;
  box-sizing: border-box;
  font-family: inherit;
}
.asc-field input:focus {
  outline: none;
  border-color: #f5a623;
}
.asc-field input::placeholder {
  color: #aaa;
}
.asc-privacy {
  font-size: 0.8rem;
  color: #999;
  margin-top: 12px;
}
.asc-privacy a {
  color: #f5a623;
}
.asc-form-message {
  margin-top: 12px;
  font-weight: 600;
  min-height: 24px;
}
.asc-form-message.success { color: #4caf50; }
.asc-form-message.error { color: #e53935; }

/* Buttons */
.asc-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}
.asc-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.asc-btn-next {
  background: #f5a623;
  color: #fff;
  margin-left: auto;
}
.asc-btn-next:hover { background: #e8950a; transform: translateY(-1px); }
.asc-btn-prev {
  background: #e8e8e8;
  color: #666;
}
.asc-btn-prev:hover { background: #d0d0d0; }
.asc-btn-submit {
  background: #f5a623;
  color: #fff;
  padding: 16px 48px;
  font-size: 1.1rem;
  width: 100%;
  border-radius: 10px;
}
.asc-btn-submit:hover { background: #e8950a; transform: translateY(-1px); }
.asc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .asc-calculator { padding: 24px 16px; }
  .asc-title { font-size: 1.3rem; }
  .asc-options-grid { grid-template-columns: 1fr; }
  .asc-orientation-grid { grid-template-columns: repeat(2, 1fr); }
  .asc-extras-grid { grid-template-columns: repeat(2, 1fr); }
  .asc-results-grid { grid-template-columns: repeat(2, 1fr); }
  .asc-form-fields { grid-template-columns: 1fr; }
  .asc-range-value { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .asc-results-grid { grid-template-columns: 1fr; }
}
