/* =============================================
   CADASTRO.CSS — layout dividido de cadastro
   ============================================= */

/* Remove padding do body nessa página */
body.pagina-cadastro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── HEADER SIMPLES ─── */
.cad-header {
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cad-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: auto;
  display: block;
}

/* ─── LAYOUT PRINCIPAL ─── */
.cad-main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  
}

/* ─── LADO ESQUERDO ─── */
.cad-lado-esquerdo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
  padding: 48px 56px;
  background: linear-gradient(145deg, #050B14 0%, #0a1a0f 100%);
  position: relative;
  overflow: hidden;
}

/* Brilho decorativo de fundo */
.cad-lado-esquerdo::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,224,108,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cad-esq-conteudo {
  position: relative;
  max-width: 420px;
}

.cad-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #12E06C;
  margin-bottom: 16px;
}

.cad-titulo {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.cad-titulo em {
  font-style: normal;
  color: #12E06C;
  text-shadow: 0 0 28px rgba(18,224,108,0.45);
}

.cad-subtitulo {
  color: #A0AAB5;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cad-beneficios {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cad-beneficios li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #E6EDF3;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px 16px;
}

/* ─── LADO DIREITO ─── */
.cad-lado-direito {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: #0F1A2C;
}

.cad-card {
  width: 100%;
  height: auto;
  max-width: 400px;
}

.cad-progresso {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  color: #7f8b84;
  font-size: 11px;
  font-weight: 800;
}

.cad-progresso span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cad-progresso b {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 10px;
}

.cad-progresso .ativo {
  color: #12e06c;
}

.cad-progresso .ativo b {
  border-color: #12e06c;
  background: rgba(18, 224, 108, 0.13);
}

.cad-progresso i {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.cad-tempo {
  margin: 0 0 16px;
  color: #aeb9b2;
  font-size: 11px;
  text-align: center;
}

/* Contexto do caminho escolhido antes do cadastro */
.cad-intencao {
  margin-bottom: 16px;
  padding: 15px;
  border: 1px solid rgba(18, 224, 108, 0.24);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(18, 224, 108, 0.08), rgba(255, 255, 255, 0.025));
}

.cad-intencao-kicker {
  color: #12e06c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.cad-intencao h2 {
  margin: 5px 0 6px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
}

.cad-intencao p {
  margin: 0;
  color: #aeb9b2;
  font-size: 12px;
  line-height: 1.5;
}

.cad-perfis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.cad-perfil-btn {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #141b17;
  color: #dce7e0;
  font: 800 12px 'Montserrat', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.cad-perfil-btn:hover,
.cad-perfil-btn:focus-visible,
.cad-perfil-btn.ativo,
.cad-perfil-btn[aria-pressed="true"] {
  border-color: #12e06c;
  background: rgba(18, 224, 108, 0.14);
  color: #12e06c;
}

.cad-acesso-rapido {
  padding: 14px;
  border: 1px solid rgba(18, 224, 108, 0.28);
  border-radius: 12px;
  background: rgba(6, 18, 12, 0.7);
}

.cad-acesso-rapido > div {
  margin-bottom: 11px;
  text-align: center;
}

.cad-acesso-rapido > div span,
.cad-verificacao-kicker {
  color: #12e06c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.cad-acesso-rapido h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 14px;
}

.cad-acesso-rapido .cad-feedback {
  min-height: 0;
  margin: 0;
}

.cad-acesso-rapido .cad-feedback:not(:empty) {
  min-height: 18px;
  margin-top: 8px;
}

/* ─── ABAS ─── */
.cad-tabs {
  display: flex;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}

.cad-tab {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #A0AAB5;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cad-tab.active {
  background: #12E06C;
  color: #050B14;
}

/* ─── FORMULÁRIO ─── */
.cad-form {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.cad-form.active {
  display: flex;
}

.cad-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cad-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #A0AAB5;
}

.cad-field input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.cad-field input:focus {
  border-color: #12E06C;
  background: rgba(18,224,108,0.05);
}

.cad-field input::placeholder {
  color: #4a5568;
}

/* ─── BOTÃO PRINCIPAL ─── */
.cad-btn-primary {
  width: 100%;
  padding: 14px;
  background: #12E06C;
  color: #050B14;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.5px;
  margin-top: 4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(18,224,108,0.3);
}

.cad-btn-primary:hover {
  background: #0fb357;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(18,224,108,0.4);
}

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

/* ─── DIVISOR ─── */
.cad-divisor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.cad-divisor::before,
.cad-divisor::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.cad-divisor span {
  font-size: 12px;
  color: #A0AAB5;
  white-space: nowrap;
}

/* ─── BOTÃO GOOGLE ─── */
.cad-btn-google {
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  color: #1f1f1f;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s, transform 0.15s;
}

.cad-btn-google:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cad-google-icon {
  width: 18px;
  height: 18px;
}

/* Segurança e mensagens da conta */
.cad-senha-wrap {
  position: relative;
}

.cad-senha-wrap input {
  padding-right: 78px;
}

.cad-mostrar-senha {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  min-width: 58px;
  min-height: 36px;
  padding: 8px 7px;
  border: 0;
  background: transparent;
  color: #12E06C;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.cad-senha-dica,
.cad-seguranca {
  color: #A0AAB5;
  font-size: 11px;
  line-height: 1.5;
}

.cad-senha-dica.media {
  color: #f0b429;
}

.cad-senha-dica.forte {
  color: #12E06C;
}

.cad-link-button {
  align-self: center;
  border: 0;
  background: transparent;
  color: #12E06C;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cad-feedback {
  min-height: 18px;
  color: #A0AAB5;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.cad-feedback.sucesso {
  color: #12E06C;
}

.cad-feedback.aviso {
  color: #f0b429;
}

.cad-feedback.erro {
  color: #ff6b6b;
}

.cad-field-validation {
  display: block;
  min-height: 0;
  margin-top: 0;
  color: #ff8f8f;
  font-size: 12px;
  line-height: 1.45;
}

.cad-field-validation:not(:empty) {
  margin-top: 7px;
}

.cad-btn-primary:disabled,
.cad-btn-google:disabled,
.cad-link-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.cad-seguranca {
  margin-top: 16px;
  text-align: center;
}

.cad-seguranca + .cad-seguranca {
  margin-top: 8px;
}

.cad-seguranca a {
  color: #55ed96;
}

.cad-garantias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
}

.cad-garantias li {
  position: relative;
  padding-left: 14px;
  color: #c4cec8;
  font-size: 10px;
  font-weight: 700;
}

.cad-garantias li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #12e06c;
}

.cad-verificacao {
  padding: 22px;
  border: 1px solid rgba(18, 224, 108, 0.35);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(18, 224, 108, 0.1), rgba(255, 255, 255, 0.025));
  text-align: center;
}

.cad-verificacao[hidden] {
  display: none;
}

.cad-verificacao-icone {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  background: #12e06c;
  color: #041008;
  font-size: 24px;
  font-weight: 900;
}

.cad-verificacao h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
}

.cad-verificacao p,
.cad-verificacao li {
  color: #b4c0b9;
  font-size: 12px;
  line-height: 1.55;
}

.cad-verificacao ol {
  margin: 16px 0;
  padding: 14px 14px 14px 34px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  text-align: left;
}

.cad-verificacao .cad-btn-primary {
  margin-bottom: 10px;
}

/* ─── RESPONSIVO ─── */
@media (max-width: 768px) {
  .cad-main {
    grid-template-columns: 1fr;
  }

  .cad-lado-esquerdo {
    padding: 40px 24px;
    min-height: auto;
  }

  .cad-beneficios {
    display: none; /* esconde em mobile para não poluir */
  }

  .cad-lado-direito {
    padding: 32px 20px;
  }

  .cad-progresso {
    gap: 7px;
    font-size: 10px;
  }

  .cad-garantias {
    gap: 6px 10px;
  }
}
