/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #0C101D;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container principal */
.form-container {
  width: 100%;
  max-width: 700px;
  padding: 20px;
}

.form-card {
  background-color: #11141f;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
}

/* Header */
.form-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #00c6d6;
}

.form-header p {
  font-size: 14px;
  margin-top: 5px;
  color: #aaa;
}

/* Barra de progresso */
.progress-bar {
  background-color: #333;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
  margin: 15px 0;
}

.progress-fill {
  height: 100%;
  background-color: #00d9ff;
  transition: width 0.3s ease;
}

/* ================== Etapas ==================== */
.form-step {
  display: none;
  /* todas escondidas */
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.form-step.active {
  display: flex;
  /* só a ativa aparece */
}

.form-step label {
  font-size: 18px;
  font-weight: 600;
}

.form-step input,
.form-step textarea {
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  background-color: #1b1f2d;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.form-step input::placeholder,
.form-step textarea::placeholder {
  color: #aaa;
}

/* Opções (radio e checkbox) */
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1b1f2d;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.options label:hover {
  background: #252a3a;
}

.options input {
  accent-color: #00d9ff;
  /* cor personalizada para radio/checkbox */
  transform: scale(1.2);
}

/* Estilo para a mensagem de erro */
.erro-msg {
  color: #ff6b6b;
  /* Cor vermelha suave */
  font-size: 14px;
  margin-top: 8px;
  font-weight: 600;
}

/* Botão */
.botoes {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: 10px;
}

.botoes button {
  flex: 1;
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Botão Voltar */
.btn-voltar {
  background-color: #2a2f42;
  color: #fff;
}

.btn-voltar:hover {
  background-color: #3a3f55;
}

/* Botão Próximo / Finalizar */
.btn-proximo {
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  color: #0c101d;
  font-weight: 600;
}

.btn-proximo:hover {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  transform: scale(1.03);
}


/* ===================== Modal FINAL FORMS MSG SUCESSO ===================== */
.mensagem-sucesso {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  border-radius: 20px;
  padding: 40px 50px;
  text-align: center;
  background: rgba(0, 217, 255, 0.1);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 18px;
  z-index: 9999;
  box-shadow: 0 0 35px rgba(0, 217, 255, 0.6);
  opacity: 0;
  transition: all 0.5s ease;
  overflow: hidden;
}

.mensagem-sucesso.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ====== ÍCONE DE CHECK MELHORADO ====== */
.checkmark-container {
  width: 110px;
  height: 110px;
  margin: 0 auto 25px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: popIn 0.6s ease-out forwards;
}

.checkmark {
  width: 100%;
  height: 100%;
  stroke-width: 4;
  stroke: #00ffdd;
  stroke-miterlimit: 10;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(0, 255, 221, 0.6));
  animation: scaleUp 0.6s ease-in-out forwards;
}

.checkmark-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  stroke-linecap: round;
  animation: drawCircle 0.6s ease-in-out forwards;
}

.checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
  animation: drawCheck 0.4s ease-in-out 0.6s forwards;
}

/* ====== Animações ====== */
@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes scaleUp {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  70% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ====== BRILHO PULSANTE ====== */
.checkmark-container::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  box-shadow: 0 0 35px 10px rgba(0, 255, 221, 0.5);
  opacity: 0;
  animation: glow 1.2s ease-out 1s forwards;
}

@keyframes glow {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

/* ====== Texto secundário ====== */
.mensagem-secundaria {
  font-size: 16px;
  margin-top: 10px;
  color: #b3faff;
  letter-spacing: 0.5px;
  animation: fadeIn 1s ease 0.8s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/* ================= Botões Ações ================= */
.botoes-acoes {
  margin-top: 25px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Botão estilo principal (azul) */
.botoes-acoes a.azul {
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #00f7ff, #00d9ff);
  color: #111;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.botoes-acoes a.azul:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #00d9ff, #6ce0e8);
}

/* Botão estilo transparente */
.botoes-acoes a.transparente {
  padding: 12px 28px;
  border: 2px solid #00f7ff;
  border-radius: 50px;
  background: transparent;
  color: #00f7ff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.botoes-acoes a.transparente:hover {
  background: rgba(0, 247, 255, 0.1);
  transform: translateY(-3px);
}

/* Botão estilo WhatsApp */
.botoes-acoes a.whatsapp {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid #25d366;
  background: transparent;
  color: #25d366;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.botoes-acoes a.whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  transform: translateY(-3px);
}

/* Responsivo */
@media (max-width: 600px) {
  .mensagem-sucesso {
    width: 90%;
    padding: 25px;
    font-size: 16px;
  }
  .botoes-acoes a {
    width: 80%;
    justify-content: center;
    font-size: 15px;
  }
}

/* Draw animations */
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }


/* ======= FIM DO MODAL ======== */





/* Responsivo */
@media (max-width: 600px) {
  .form-card {
    padding: 20px;
  }

  .form-header h2 {
    font-size: 20px;
  }

  .form-step label {
    font-size: 16px;
  }

  .form-step input,
  .form-step textarea {
    font-size: 14px;
  }
}



/* Efeito de troca de página (Solicitar Orçamento) */

body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1;
}


/* Etapa 4 - Objetivo */

#objetivo {
  width: 100%;
  max-width: 100%; /* garante que não ultrapasse a largura do container */
  height: 120px;   /* altura inicial */
  max-height: 300px; /* altura máxima */
  resize: vertical;  /* permite redimensionar apenas verticalmente */
  overflow: auto;    /* barra de rolagem se ultrapassar o limite */
  padding: 10px;
  font-size: 16px;
  border-radius: 15px;
}




/* Campo "Outro" */
/* Igual às outras opções */
.options label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background: #1a1a1a;
  /* cor da caixinha */
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 8px;
}

.label-outro {
  flex-wrap: wrap;
  /* permite o input quebrar pra baixo */
}

.label-outro span {
  white-space: nowrap;
}

.outro-input {
  display: none;
  flex: 1;
  margin-left: 48px;
  /* alinha com o texto, depois do radio */
  margin-right: 45px;
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

/* Ajustes para Mobile */
@media (max-width: 600px) {

  .options label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: #1a1a1a;
    /* cor da caixinha */
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 8px;
  }

  .label-outro {
    flex-wrap: wrap;
    /* permite o input quebrar pra baixo */
  }

  .label-outro span {
    white-space: nowrap;
  }

  .outro-input {
    display: none;
    flex: 1;
    margin-left: 25px;
    /* alinha com o texto, depois do radio */
    margin-right: 15px;
    margin-top: 2px;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
  }

}







/* Campo "Outro CHECKED" */
/* Igual ao campo "Outro" da Etapa 5 */
.options label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background: #1a1a1a;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 8px;
}

.label-outro {
  flex-wrap: wrap;
}

.label-outro span {
  white-space: nowrap;
}

.outro-input {
  display: none;
  flex: 1;
  margin-left: 48px;
  margin-right: 45px;
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

/* Ajustes para Mobile */
@media (max-width: 600px) {
  .label-outro {
    flex-wrap: wrap;
  }

  .outro-input {
    margin-left: 25px;
    margin-right: 15px;
    font-size: 14px;
    width: 100%;
  }
}



