body {
    background-color: #0f0f0f;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

section {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    select, textarea {
    width: 100%;
    background-color: #0f0f0f;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

}

h1, h2 {
    color: #d4af37; /* dourado */
}

footer {
    text-align: center;
    opacity: 0.6;
    margin-top: 40px;
}
button {
    margin-top: 10px;
    padding: 10px;
    background-color: #d4af37;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background-color: #121212;
    border-left: 4px solid #444;
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

li.facil { border-color: green; }
li.media { border-color: orange; }
li.dificil { border-color: red; }

li.concluida {
    opacity: 0.5;
    text-decoration: line-through;
}
#statusDia {
    margin-top: 15px;
    font-weight: bold;
}

.sucesso {
    color: #4caf50;
}

.falha {
    color: #f44336;
}
#diasSemana {
  list-style: none;
  padding: 0;
}

#diasSemana li {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: #111;
  color: #f5c542;
}

.dia-ok {
  background: #0f2a18;
}

.dia-falha {
  background: #2a0f0f;
}
#corridaOuro {
    margin-top: 20px;
}

.marcos {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.8;
}

.barra {
    width: 100%;
    height: 18px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

#progresso {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #cd7f32, #c0c0c0, #ffd700);
    transition: width 0.4s ease;
}

#textoEvolucao {
    font-size: 14px;
    opacity: 0.9;
}

/* ===============================
   SEMANA
=============================== */

#diasSemana {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

#diasSemana li {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 500;
  color: #ccc;
}

.dia-ok {
  border: 1px solid #d4af37;
  color: #d4af37;
}

.dia-falha {
  border: 1px solid #555;
  color: #777;
}

/* ===============================
   EVOLUÇÃO DA SEMANA
=============================== */

#progressoSemana {
  margin-top: 15px;
}

.barra-progresso {
  width: 100%;
  height: 12px;
  background: #2a2a2a;
  border-radius: 20px;
  overflow: hidden;
}

.barra-preenchida {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #cd7f32, #c0c0c0, #d4af37);
  transition: width 0.4s ease;
}

.texto-progresso {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #aaa;
}

/* ===============================
   RESULTADO FINAL DA SEMANA
=============================== */

#resultadoSemana {
  margin-top: 10px;
  font-size: 1rem;
  color: #ddd;
}

* {
  transition: background-color 0.25s ease,
              color 0.25s ease,
              border 0.25s ease,
              transform 0.25s ease;
}

section {
  animation: fadeUp 0.4s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
li.concluida {
  opacity: 0.6;
  text-decoration: line-through;
}

button:hover {
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}
/* ===============================
   REFINO DE TÍTULOS
=============================== */

h2 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #d4af37;
  margin-bottom: 10px;
}
/* ===============================
   FLUXO ENTRE SEÇÕES
=============================== */

section + section {
  margin-top: 32px;
}
/* ===============================
   LAYOUT TAREFAS + SEMANA
=============================== */

.bloco-duplo {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

/* cartões mais equilibrados */
#tarefas,
#semana {
  background: #121212;
  padding: 16px;
  border-radius: 14px;
}

/* mobile: empilha */
@media (max-width: 768px) {
  .bloco-duplo {
    grid-template-columns: 1fr;
  }
}
body {
  font-size: 16px;
}

section {
  width: 100%;
  font-size: 1rem;
}
#tarefas,
#semana {
  background: #111;
  padding: 16px;
  border-radius: 12px;
/* ===============================
   LAYOUT TAREFAS + SEMANA
=============================== */

.bloco-duplo {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

#tarefas,
#semana {
  background: #111;
  padding: 16px;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .bloco-duplo {
    grid-template-columns: 1fr;
  }
}
