/* ============== CADASTRO.CSS ============== */
/* Cadastro Oficial de Lideranças · MDB em Movimento */

/* ============ STEPS ============ */
.form-step {
  display: none;
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(245, 130, 32, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  animation: fadeStep 0.4s ease;
}
.form-step.active { display: block; }

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

@media (min-width: 768px) {
  .form-step { padding: 2.5rem; }
}

.step-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(245, 130, 32, 0.15);
}
.step-tag {
  display: inline-block;
  background: rgba(245, 130, 32, 0.15);
  color: #D96A0E;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.step-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #2B2B2B;
  margin-bottom: 0.4rem;
}
@media (min-width: 768px) {
  .step-title { font-size: 1.875rem; }
}
.step-subtitle {
  color: rgba(43, 43, 43, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============ FORM GROUPS ============ */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #2B2B2B;
  margin-bottom: 0.4rem;
}
.form-group .hint {
  font-size: 0.8rem;
  color: rgba(43, 43, 43, 0.6);
  margin-bottom: 0.6rem;
  margin-top: -0.2rem;
}
.req {
  color: #F58220;
  font-weight: 900;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(43, 43, 43, 0.12);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2B2B2B;
  background: #FAFAF7;
  transition: all 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #F58220;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* ============ RADIO/CHECK CARDS ============ */
.radio-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
@media (min-width: 640px) {
  .radio-grid { grid-template-columns: repeat(3, 1fr); }
  .check-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .radio-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.radio-card,
.check-card {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
}
.radio-card input,
.check-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-card span,
.check-card span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  background: #FAFAF7;
  border: 1.5px solid rgba(43, 43, 43, 0.1);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2B2B2B;
  transition: all 0.2s ease;
  min-height: 48px;
  line-height: 1.2;
}
.radio-card span i,
.check-card span i {
  color: #F58220;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.radio-card:hover span,
.check-card:hover span {
  border-color: #F58220;
  background: #FFF7EE;
}
.radio-card input:checked + span,
.check-card input:checked + span {
  border-color: #F58220;
  background: linear-gradient(135deg, #F58220 0%, #D96A0E 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}
.radio-card input:checked + span i,
.check-card input:checked + span i {
  color: #fff;
}

/* ============ CONSENT ============ */
.consent {
  display: flex !important;
  gap: 0.7rem;
  align-items: flex-start;
  background: #FFF7EE;
  border: 1.5px solid rgba(245, 130, 32, 0.25);
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  line-height: 1.5;
}
.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: #F58220;
  flex-shrink: 0;
}
.consent span {
  color: #2B2B2B;
}

/* ============ ACTIONS ============ */
.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 130, 32, 0.15);
  flex-wrap: wrap;
}
.step-actions button {
  flex: 1;
  min-width: 140px;
}

.btn-next,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #F58220 0%, #D96A0E 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}
.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.4);
}
.btn-submit {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.btn-submit:hover {
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-prev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: #fff;
  color: #2B2B2B;
  border: 1.5px solid rgba(43, 43, 43, 0.15);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-prev:hover {
  border-color: #F58220;
  color: #F58220;
}

/* ============ ERROR ============ */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #DC2626;
  background: #FEF2F2;
}
.error-text {
  color: #DC2626;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  font-weight: 600;
}
