/* ================================
   JORNADA APP — TIMER
================================ */

body {
  overflow-y: auto;
  background: var(--escuro3);
}

/* --- CABEÇALHO --- */
.timer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 52px 20px 16px;
}

.timer-header-titulo {
  font-size: 13px;
  font-weight: 600;
  color: var(--ouro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- SELETOR DE TIPOS --- */
.tipos-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 4px;
  scrollbar-width: none;
  margin-bottom: 16px;
}

.tipo-pill {
  padding: 8px 16px;
  background: var(--escuro2);
  border: 1px solid var(--borda);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--texto-muted);
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
  flex-shrink: 0;
}

.tipo-pill.ativo {
  background: rgba(202, 144, 18, 0.18);
  border-color: var(--ouro);
  color: var(--ouro-claro);
}

/* --- INFO DO TIPO --- */
.tipo-info {
  margin: 0 20px 16px;
}

.tipo-versiculo {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(202, 144, 18, 0.05);
  border-left: 2px solid var(--ouro);
  border-radius: 0 10px 10px 0;
}

.verso-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(236, 168, 21, 0.75);
  line-height: 1.55;
}

.verso-ref {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ouro);
  margin-top: 6px;
  letter-spacing: 0.1em;
}

/* --- INTENÇÃO --- */
.intencao-input {
  width: 100%;
  min-height: 100px;
  background: var(--escuro2);
  border: 1px solid var(--borda);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  padding: 14px 16px;
  resize: none;
  outline: none;
  margin-bottom: 16px;
}

.intencao-input::placeholder {
  color: var(--texto-muted);
  font-size: 14px;
}

.intencao-input:focus {
  border-color: var(--ouro-medio);
}

/* --- TIMER HERO --- */
.timer-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 20px 0;
  text-align: center;
}

.timer-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 16px;
}

.anel-container {
  position: relative;
  width: 260px;
  height: 260px;
}

.timer-tempo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--branco);
  letter-spacing: 0.04em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  line-height: 1;
  white-space: nowrap;
}

.timer-tempo-label {
  font-size: 10px;
  color: var(--texto-muted);
  letter-spacing: 0.12em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 18px);
  white-space: nowrap;
}

/* --- STATS --- */
.timer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 16px 20px 0;
}

.timer-stat {
  background: var(--escuro2);
  border: 1px solid var(--borda);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}

.timer-stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ouro-claro);
}

.timer-stat-label {
  font-size: 10px;
  color: var(--texto-muted);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* --- INTENÇÃO ATIVA --- */
.intencao-card {
  margin: 14px 20px 0;
}

.intencao-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

/* --- CONTROLES --- */
.timer-controles {
  display: flex;
  gap: 12px;
  padding: 16px 20px 0;
}

.timer-controles .btn-primario {
  margin-top: 0;
  flex: 1;
  font-size: 13px;
  padding: 15px;
}

.btn-encerrar {
  padding: 15px 20px;
  background: transparent;
  color: rgba(255, 100, 100, 0.8);
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 100, 100, 0.25);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-encerrar:active {
  background: rgba(255, 100, 100, 0.08);
}

/* --- CONCLUSÃO --- */
.conclusao-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 32px 100px;
  text-align: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 25%, rgba(202, 144, 18, 0.12) 0%, transparent 65%), var(--escuro3);
}

.conclusao-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--ouro-claro);
  margin-top: 20px;
}

.conclusao-sub {
  font-size: 14px;
  color: var(--texto-muted);
  margin-top: 8px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.conclusao-stats {
  display: flex;
  gap: 24px;
  margin: 8px 0 32px;
}

.conclusao-stat {
  background: var(--escuro2);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
}

.conclusao-stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--ouro-claro);
}

.conclusao-stat-label {
  font-size: 11px;
  color: var(--texto-muted);
  margin-top: 4px;
}

.conclusao-bg .btn-primario {
  max-width: 300px;
}

.conclusao-bg .btn-fantasma {
  max-width: 300px;
}

/* --- CORREÇÃO NAVEGAÇÃO TIMER --- */
.nav-inferior {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
}

.nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
}

/* --- CORREÇÃO BOTÃO CENTRALIZADO --- */
#btn-iniciar {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 340px !important;
}

/* --- REMOVE ESPAÇO EM BRANCO --- */
#painel-selecao {
  padding-bottom: 0px;
}

#painel-timer {
  padding-bottom: 100px;
}

#painel-conclusao {
  padding-bottom: 100px;
}
/* avisos de saúde do timer */
.tipo-nota { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: #A8DCF0; }
.tipo-nota[hidden], .lembrete-agua[hidden] { display: none; }
.tipo-aviso { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: #cdbf9f; }
.tipo-aviso a { color: #E8C97A; }
.lembrete-agua { margin: 0 20px 14px; padding: 11px 13px; font-size: 13.5px; line-height: 1.45; text-align: center; color: #A8DCF0; background: rgba(15, 35, 50, .8); border: 1px solid #50A0C8; border-radius: 12px; }
.folha.aviso-ester p { font-size: 14px; color: #e6dcc6; margin: 0 0 10px; }
.aviso-ester ul { margin: 0 0 10px; padding-left: 20px; font-size: 14px; }
.aviso-ester li { margin-bottom: 3px; }
.aviso-voltar { display: block; width: 100%; margin-top: 8px; padding: 12px; background: none; border: 0; color: #E8C97A; font: 700 14px 'Nunito', sans-serif; cursor: pointer; }

.conclusao-quebra { margin: 14px 20px 0; padding: 12px 14px; border: 1px solid rgba(236,168,21,.35); border-radius: 12px; background: rgba(236,168,21,.07); color: #e6dcc6; font: 14px/1.5 "Nunito", sans-serif; text-align: left; }
.conclusao-quebra[hidden] { display: none; }
