/* ===========================================
   🌸 FEMFLOW – EVOLUÇÃO
   Arquivo dedicado para evolução.html
   Mantém 100% dos efeitos originais
   =========================================== */

/* Paleta já definida em themes.css
   mas deixo redundância mínima para segurança */
:root {
  --terracota: #4F6F68;
  --pessego:   #6B6B6B;
  --teal:      #335953;
  --bege:      #E5E5E5;
}

/* ============================
   Estrutura geral
============================ */
body {
  font-family: "Lato", sans-serif;
  background: var(--bege);
  color: var(--teal);
  text-align: center;
  padding-top: 90px; /* devido ao header fixo */
}

/* Títulos */
#tituloPagina {
  font-family: 'Playfair Display', serif;
  color: var(--terracota);
  font-size: 1.8rem;
  margin: 0;
}

.evo-subtitle {
  font-size: 1rem;
  color: var(--teal);
  opacity: 0.8;
  margin-top: 4px;
}

/* ============================
   Container principal
============================ */
.evo-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ============================
   Cards gerais
============================ */
.evo-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.evo-card h2,
.evo-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--terracota);
  margin-bottom: 8px;
}

/* ============================
   Barra de progresso
============================ */
.evo-progress {
  width: 100%;
  height: 18px;
  background: rgba(240,236,233,0.8);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 8px;
}

.evo-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--terracota), var(--pessego), var(--teal));
  transition: width 1.2s ease-in-out;
}

.texto-progresso {
  font-weight: bold;
  margin-bottom: 4px;
}

/* ============================
   Gráfico PSE
============================ */
.evo-chart {
  padding-bottom: 20px;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 260px;       /* necessário pro Chart.js */
  margin: 0 auto;
}

canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Legenda */
.evo-legend {
  color: #666;
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ============================
   Mensagem final
============================ */
.mensagem-final {
  background: rgba(239,189,166,0.40);
  border-left: 4px solid var(--terracota);
  padding: 16px;
  color: var(--teal);
  font-weight: 600;
  border-radius: 12px;
  margin-top: 18px;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  line-height: 1.5;
  text-align: center;
}

/* Botão Novo Ciclo */
.evo-btn {
  background: var(--teal);
  color: white;
  padding: 12px 18px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  width: 90%;
  max-width: 330px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.evo-btn:hover {
  background: var(--terracota);
}

#voltarFlow {
  margin-top: 34px;
  margin-bottom: 40px;
}
