/* Cadastro Styles */

/* Hero Section */
.hero-register {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-register h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-register p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Registration Section */
.registration-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.registration-content {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Step Progress */
.step-progress {
  display: flex;
  background: #1e3c72;
  padding: 2rem;
  justify-content: center;
  gap: 2rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: all 0.3s ease;
}

.step.active {
  color: white;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: #ffd700;
  color: #1e3c72;
}

/* Form Steps */
.registration-form {
  padding: 3rem;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.form-step h2 {
  font-size: 2rem;
  color: #1e3c72;
  margin-bottom: 0.5rem;
}

.form-step > p {
  color: #666;
  margin-bottom: 2rem;
}

/* Plans Selection */
.plans-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.plan-option input[type="radio"] {
  display: none;
}

.plan-option .plan-card {
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  height: 100%;
}

.plan-option .plan-card:hover {
  border-color: #1e3c72;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 60, 114, 0.1);
}

.plan-option input[type="radio"]:checked + .plan-card {
  border-color: #1e3c72;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30, 60, 114, 0.2);
}

.plan-card.premium {
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #ffd700;
  color: #1e3c72;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.plan-header h3 {
  font-size: 1.5rem;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.plan-price {
  margin-bottom: 1rem;
}

.price-from {
  font-size: 0.9rem;
  color: #666;
  display: block;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3c72;
}

.price-period {
  font-size: 1rem;
  color: #666;
}

.plan-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.plan-features h4 {
  font-size: 1rem;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.plan-features ul {
  list-style: none;
  padding: 0;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.plan-features .fas {
  color: #28a745;
  width: 16px;
}

.plan-pricing-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.tier-volume {
  color: #666;
}

.tier-price {
  font-weight: 600;
  color: #1e3c72;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

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

.form-group label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e3c72;
}

.form-group small {
  color: #666;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Specialties Grid */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.specialty-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.specialty-option:hover {
  border-color: #1e3c72;
  background: #f8f9ff;
}

.specialty-option input[type="checkbox"]:checked + span {
  color: #1e3c72;
  font-weight: 500;
}

.specialty-option input[type="checkbox"]:checked {
  accent-color: #1e3c72;
}

/* Form Sections */
.form-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
}

.form-section h3 {
  color: #1e3c72;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Selected Plan Summary */
.selected-plan-summary {
  margin-bottom: 2rem;
}

.selected-plan-summary h4 {
  color: #1e3c72;
  margin-bottom: 1rem;
}

.plan-summary-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid #1e3c72;
}

.plan-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.plan-name-selected {
  font-weight: 600;
  color: #1e3c72;
}

.plan-price-selected {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3c72;
}

.plan-note {
  color: #28a745;
  font-size: 0.9rem;
  margin: 0;
}

/* Payment Methods */
.payment-methods h4 {
  color: #1e3c72;
  margin-bottom: 1rem;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.payment-option:hover {
  border-color: #1e3c72;
  background: white;
}

.payment-option input[type="radio"]:checked + .payment-icon + span {
  color: #1e3c72;
  font-weight: 600;
}

.payment-option input[type="radio"]:checked ~ * {
  color: #1e3c72;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-icon {
  font-size: 1.5rem;
  color: #666;
  transition: color 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-icon {
  color: #1e3c72;
}

/* Payment Forms */
.payment-form {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.pix-info,
.boleto-info {
  text-align: center;
  padding: 2rem;
}

.pix-info i,
.boleto-info i {
  font-size: 3rem;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.pix-info h4,
.boleto-info h4 {
  color: #1e3c72;
  margin-bottom: 1rem;
}

/* Terms Section */
.terms-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  margin-top: 0.25rem;
}

.checkbox-label a {
  color: #1e3c72;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.btn-back,
.btn-next,
.btn-submit {
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-back {
  background: #6c757d;
  color: white;
}

.btn-back:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.btn-next,
.btn-submit {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.btn-submit {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.btn-submit:hover {
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: white;
}

.benefits-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1e3c72;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: #f8f9fa;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.benefit-icon i {
  font-size: 2rem;
  color: white;
}

.benefit-item h3 {
  font-size: 1.5rem;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-register h1 {
    font-size: 2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .step-progress {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-label {
    display: none;
  }
  
  .plans-selection {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .payment-options {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-back,
  .btn-next,
  .btn-submit {
    width: 100%;
    justify-content: center;
  }
  
  .registration-form {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-register {
    padding: 100px 0 60px;
  }
  
  .registration-section {
    padding: 40px 0;
  }
  
  .registration-content {
    margin: 0 1rem;
    border-radius: 15px;
  }
  
  .step-progress {
    padding: 1.5rem;
  }
  
  .registration-form {
    padding: 1.5rem 1rem;
  }
  
  .form-section {
    padding: 1.5rem;
  }
}
