:root {
    --primary: #00324a;
    --accent: #e09d00;
    --background: #f4f7fa;
    --card: rgba(255, 255, 255, 0.25); /* vidro branco translúcido */
    --border: #d9e2ec;
    --text: #1f2933;
  }

  * {
    box-sizing: border-box;
  }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
}

.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.3); /* branco translúcido */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1; /* garante que fique acima das partículas */
}

  h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
  }

  label {
    font-weight: 600;
    display: block;
    margin-top: 20px;
    margin-bottom: 6px;
  }

  input, textarea {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: #fff;
    transition: border-color 0.3s ease;
  }

  input:focus, textarea:focus {
    border-color: var(--accent);
    outline: none;
  }

  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .form-row > div {
    flex: 1 1 45%;
  }

  .experiencia {
    background-color: #f0f4f8;
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
  }

  .botao {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 30px;
  }

  .botao:hover {
    background-color: #005877;
  }

  .sub-botao {
    background-color: var(--accent);
    color: #fff;
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  @media (max-width: 600px) {
    .form-row > div {
      flex: 1 1 100%;
    }

    .container {
      padding: 25px;
      margin: 20px 20px;
    }

    input, textarea {
      font-size: 1.1rem;
    }
  }

  #drop-area {
    position: relative;
  }

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('https://www.transparenttextures.com/patterns/diamond-upholstery.png'), linear-gradient(135deg, #cceeff, #e6f7ff);
  background-repeat: repeat;
  background-size: auto, cover;
}

.container {
  transition: all 0.5s ease-in-out;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.barra-progresso {
  width: 100%;
  background-color: #eee;
  height: 8px;
  margin-bottom: 20px;
}

.progresso {
  height: 8px;
  background-color: #4CAF50;
  width: 0%;
  transition: width 0.3s ease;
}

#barra-progresso {
  position: fixed;       /* fixa no topo */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f0f0f0;
  height: 8px;
  z-index: 9999;
}

#progresso {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #e09d00 0%, #00324a 50%, #a035dd 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;   /* gradiente ocupa toda a barra */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: width 0.2s ease;
}

.etapa {
  display: none;
}

.etapa.ativa {
  display: block;
}

.botao-navegacao {
  background: linear-gradient(135deg, #00324a, #005f73);
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.botao-navegacao::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.4s ease;
}

.botao-navegacao:hover::after {
  left: 0;
}

.botao-navegacao:hover {
  background: linear-gradient(135deg, #005f73, #007f8c);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.botao-navegacao:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.botao-navegacao.finalizar {
  background: linear-gradient(135deg, #e09d00, #ffcc00);
  color: #1f2933;
  font-weight: 700;
  padding: 12px 32px;
  font-size: 18px;
  border-radius: 50px;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(224, 157, 0, 0.4);
  position: relative;
  transition: all 0.3s ease;
}

.botao-navegacao.finalizar::after {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: bold;
  color: #1f2933;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.botao-navegacao.finalizar:hover::after {
  opacity: 1;
}

.botao-navegacao.finalizar:hover {
  background: linear-gradient(135deg, #ffcc00, #ffe680);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224, 157, 0, 0.5);
}

/* Estilo do botão Gerar e Adicionar */
#gerarFrase,
#adicionarObjetivo {
  background-color: #00324a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  margin-right: 10px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#gerarFrase:hover,
#adicionarObjetivo:hover {
  background-color: #005a80;
  transform: scale(1.03);
}

/* Estilo do select de intuito */
#intuito {
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 10px;
  width: 100%;
  max-width: 400px;
}

/* Estilo do campo de objetivo */
[name="objetivo"] {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 600px;
  margin-top: 10px;
  box-sizing: border-box;
}

#fraseGerada {
  margin-top: 15px;
  font-size: 1.15rem;
  line-height: 1.6;
  font-style: italic;
  color: #1f2933;
  background-color: #f0f4f8;
  padding: 14px 18px;
  border-left: 4px solid #e09d00;
  border-radius: 6px;
  max-width: 800px;
}

#notificacoes {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
  font-family: 'Inter', sans-serif;
}

.notificacao {
  background-color: #ffffff;
  border-left: 4px solid #d4af37; /* dourado */
  color: #333;
  padding: 10px 16px;
  left: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  font-size: 0.95rem;
  font-weight: 500;
  animation: fadeInClean 0.5s ease-in-out;
  position: relative;
}

.notificacao::before {
  position: absolute;
  left: 12px;
  top: 10px;
  font-size: 1rem;
  opacity: 0.7;
}

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

@media (max-width: 480px) {
  #notificacoes {
    top: 60px;
    padding: 0 12px;
  }

  .notificacao {
    font-size: 1rem;
    padding: 12px;
  }
}

input::placeholder,
textarea::placeholder {
  text-transform: capitalize;
}

input.mesAno::-webkit-calendar-picker-indicator {
  display: none !important;
}
input.mesAno[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}

.botao-ia-particles {
  position: relative;
  display: block;
  margin: 60px auto 0; /* centralizado + espaçamento acima */
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(to right, #e09d00, #00324a);
  border: none;
  border-radius: 40px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
  width: fit-content;
  min-width: 180px;
  text-align: center;
}

.botao-ia-particles::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, #ffffff88, transparent);
  transform: skewX(-20deg);
  animation: brilhoBotao 2.5s infinite;
}

@keyframes brilhoBotao {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: 125%; }
}

.botao-ia-particles:hover {
  transform: scale(1.05);
}

/* Partículas flutuantes */
.botao-ia-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: flutuar 3s infinite ease-in-out;
}

@keyframes flutuar {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translate(-10px, -15px) scale(1.1);
    opacity: 0.7;
  }
  50% {
    transform: translate(15px, -5px) scale(1.2);
    opacity: 0.5;
  }
  75% {
    transform: translate(-5px, 10px) scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes sumir-suave {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

.botao-ia-particles.derretendo {
  animation: sumir-suave 0.6s ease-out forwards;
}

/* Container geral da barra + frase */
.bloco-barra {
  margin-bottom: 32px;
  max-width: 600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Barra de progresso + número */
.barra-container {
  margin-top: 24px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
}

.barra-wrapper {
  flex: 1;
  height: 14px;
  background-color: #eee;
  border-radius: 7px;
  overflow: hidden;
}

.barra {
  height: 100%;
  background: linear-gradient(to right, #e09d00, #00324a);
  transform: scaleX(0); /* começa zerada */
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
  border-radius: 7px;
}

.porcentagem {
  font-weight: bold;
  color: #00324a;
  min-width: 40px;
  text-align: right;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
  opacity: 1;
}

/* Frases abaixo da barra */
.frases-barra {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: #555;
  text-align: left;
  line-height: 1.3;
}

.frases-barra li {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  margin-left: 2px;
  margin-top: -2px;
}

.frases-barra li.visivel {
  display: block;
  opacity: 1;
}

.primeiro-emprego {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.primeiro-emprego input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #007bff;
  cursor: pointer;
}

.primeiro-emprego label {
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.flash-luz {
  position: relative;
  overflow: hidden;
}

.flash-luz::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), rgba(255,255,255,0.6), rgba(255,255,255,0.2));
  transform: skewX(-20deg);
  animation: flash 0.6s ease-out;
}

@keyframes flash {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Estilo geral para inputs e selects */
input[type="text"],
select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease-in-out;
}

/* Foco */
input[type="text"]:focus,
select:focus {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
}

/* Ajuste do select para ficar alinhado */
select {
  background-color: #fff;
  cursor: pointer;
  min-width: 120px; /* largura mínima */
}

#estado {
  display: block;
  margin-top: 15px; /* espaço pequeno entre cidade e estado */
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}