/* ==========================================================
   MINHA PAUSA · aparência do app
   As cores e fontes ficam aqui em cima, num lugar só.
   ========================================================== */

:root {
  --rose: #A66B78;
  --rose-escuro: #8E5663;
  --rose-claro: #EBD9DD;
  --texto: #40363A;
  --cinza: #75696D;
  --fundo: #F6EEF0;
  --cartao: #FFFFFF;
  --dourado: #C9A24A;
  --dourado-claro: #F3E7C8;
  --dourado-texto: #85661C;   /* dourado mais escuro, só para TEXTOS: fácil de ler no celular */

  --fonte-titulo: "Fraunces", Georgia, serif;
  --fonte-texto: "Nunito", "Segoe UI", system-ui, sans-serif;

  --raio: 20px;
  --raio-botao: 999px;
  --sombra: 0 6px 24px rgba(64, 54, 58, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Caixa do app: largura de celular, centralizada no computador */
.app {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- Títulos e textos ---------- */
h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
p  { margin: 0; }
.suave { color: var(--cinza); }

/* ---------- Marca ---------- */
.marca {
  text-align: center;
  padding: 24px 0 8px;
}
.marca .semente {
  width: 18px;
  height: 24px;
  margin: 0 auto 14px;
  background: var(--dourado);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 0 0 8px var(--dourado-claro);
}
.marca h1 { color: var(--rose); }
.marca .tagline {
  font-family: var(--fonte-titulo);
  font-size: 1.15rem;
  color: var(--dourado-texto);
  margin-top: 4px;
}

/* ---------- Cartões ---------- */
.cartao {
  background: var(--cartao);
  border-radius: var(--raio);
  padding: 22px 20px;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rotulo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cinza);
}
.palavra {
  font-family: var(--fonte-titulo);
  font-size: 1.8rem;
  color: var(--rose);
  letter-spacing: 0.04em;
}

/* ---------- Botões grandes ---------- */
.botao {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  border: none;
  border-radius: var(--raio-botao);
  background: var(--rose);
  color: #fff;
  font-family: var(--fonte-texto);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.botao:hover { background: var(--rose-escuro); }
.botao:active { transform: scale(0.98); }
.botao:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }

.botao.secundario {
  background: transparent;
  color: var(--rose);
  box-shadow: inset 0 0 0 2px var(--rose-claro);
}
.botao.secundario:hover { background: var(--rose-claro); }

.link-ajuda {
  text-align: center;
  color: var(--cinza);
  font-size: 0.95rem;
}

/* ---------- Lista simples ---------- */
.lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================
   FASE 1 · Ritual PAUSA
   ========================================================== */

.centro { text-align: center; align-items: center; }
.destaque-suave { font-family: var(--fonte-titulo); font-size: 1.2rem; color: var(--rose); text-align: center; }
.assinatura { font-family: var(--fonte-titulo); font-style: italic; color: var(--dourado-texto); font-size: 1rem; }
.aviso { font-size: 0.9rem; color: var(--cinza); text-align: center; }
.pequena-nota { font-size: 0.9rem; }

/* Links discretos (Ajuda, Ajustes) */
.link-ajuda {
  background: none; border: none; padding: 8px; margin: 0 auto;
  font-family: var(--fonte-texto); cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px;
}
.rodape { display: flex; justify-content: center; align-items: center; gap: 4px; color: var(--cinza); }
.rodape .link-ajuda { margin: 0; }

/* Campo de texto */
.rotulo-campo { font-weight: 700; }
.campo {
  width: 100%; min-height: 54px; padding: 12px 18px;
  border: 2px solid var(--rose-claro); border-radius: 16px; background: #fff;
  font-family: var(--fonte-texto); font-size: 1.1rem; color: var(--texto);
}
.campo:focus { outline: none; border-color: var(--rose); }

/* Tela inicial */
.topo-inicio { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.saudacao { font-size: 1.8rem; }
.icone-horario { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.14em; margin-left: 0.1em; }
.letras-decor { font-family: var(--fonte-titulo); font-size: 1.6rem; letter-spacing: 0.1em; color: var(--dourado-texto); }
.contador { text-align: center; font-weight: 700; color: var(--rose); font-size: 1.1rem; }

/* Sementinha dourada */
.semente.pequena { width: 14px; height: 19px; margin: 4px auto 8px; background: var(--dourado);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: 0 0 0 6px var(--dourado-claro); }
.cartao .semente:not(.pequena), .celebracao .semente {
  width: 18px; height: 24px; margin: 4px auto 6px; background: var(--dourado);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: 0 0 0 8px var(--dourado-claro);
}
.celebracao .semente.grande { width: 34px; height: 46px; margin: 12px auto 20px; box-shadow: 0 0 0 14px var(--dourado-claro); }

/* Topo do ritual: sair · barra P·A·U·S·A · ajuda */
.topo-ritual { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fechar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: none;
  background: transparent; color: var(--cinza); font-size: 1.1rem; cursor: pointer;
}
.fechar:hover { background: var(--rose-claro); }

.barra-pausa { display: flex; align-items: center; justify-content: center; gap: 2px; }
.barra-pausa .ponto { color: var(--rose-claro); font-weight: 700; }
.letra {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--rose-claro); background: #fff; color: var(--cinza);
  font-family: var(--fonte-titulo); font-size: 1.15rem; font-weight: 600;
  cursor: pointer; transition: background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.letra.atual { border-color: var(--rose); color: var(--rose); }
.letra.acesa {
  background: var(--dourado); border-color: var(--dourado); color: #fff;
  box-shadow: 0 0 0 5px var(--dourado-claro);
  animation: acender 0.6s ease-out;
}
@keyframes acender {
  0%   { transform: scale(0.8); box-shadow: 0 0 0 0 var(--dourado-claro); }
  60%  { transform: scale(1.12); box-shadow: 0 0 0 10px var(--dourado-claro); }
  100% { transform: scale(1); }
}

/* Cada etapa entra suavemente */
.etapa { display: flex; flex-direction: column; gap: 18px; animation: entrar 0.45s ease-out; }
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.etapa > .rotulo { text-align: center; margin-top: 12px; color: var(--rose); }
.sub-etapa { text-align: center; color: var(--cinza); font-family: var(--fonte-titulo); font-style: italic; margin-top: -14px; }
.etapa h2 { text-align: center; }
.etapa > .suave { text-align: center; }

/* P · respiração */
.respiracao { height: 230px; display: flex; align-items: center; justify-content: center; }
.circulo {
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, var(--dourado-claro) 0%, var(--rose-claro) 70%);
  transform: scale(0.55);
  transition: transform 4s ease-in-out;
}
.circulo.expandido { transform: scale(1); }
.frase-respiracao { text-align: center; font-family: var(--fonte-titulo); font-style: italic; font-size: 1.15rem; color: var(--texto); }
.legenda { text-align: center; font-family: var(--fonte-titulo); font-size: 1.4rem; color: var(--rose); min-height: 2em; }

/* A · Afirme */
.palavra.grande { font-size: 2.3rem; }
.mensagem { text-align: left; }
.assinatura-carta { align-self: stretch; text-align: right; margin-top: 4px; }
.afirmacao { text-align: center; padding: 4px 8px; display: flex; flex-direction: column; gap: 8px; }
.frase-afirmacao { font-family: var(--fonte-titulo); font-size: 1.35rem; line-height: 1.4; color: var(--texto); }

/* A · Abra-se */
.maos { font-size: 2.6rem; }

/* Botões do ritual */
.acoes { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }

/* No ritual, o botão principal fica sempre visível na parte de baixo da tela */
.etapa .acoes {
  position: sticky;
  bottom: 0;
  margin: 0 -20px;                 /* encosta nas bordas da tela */
  padding: 22px 20px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(246, 238, 240, 0) 0%, var(--fundo) 22px);
}
.pular {
  background: none; border: none; padding: 12px; cursor: pointer;
  color: var(--cinza); font-family: var(--fonte-texto); font-size: 0.95rem;
}
.botao.dourado { background: var(--dourado); }
.botao.dourado:hover { background: #B38E3C; }
.botao.perigo { background: #9C4A4A; }
.botao.ligar { width: auto; text-decoration: none; text-align: center; white-space: nowrap; }

/* Final do ritual */
.celebracao { text-align: center; display: flex; flex-direction: column; gap: 14px; padding-top: 32px; animation: entrar 0.6s ease-out; }
.titulo-celebracao { color: var(--rose); }
.celebracao.brilho .semente { animation: brilhar 2.4s ease-in-out infinite; }
@keyframes brilhar {
  0%, 100% { box-shadow: 0 0 0 14px var(--dourado-claro); }
  50%      { box-shadow: 0 0 0 22px var(--dourado-claro), 0 0 40px 20px rgba(201, 162, 74, 0.35); }
}
.marco { text-align: center; align-items: center; }
.resumo-pausa { display: flex; justify-content: center; gap: 8px; }
.resumo-pausa .letra { display: inline-flex; align-items: center; justify-content: center; cursor: default; }

/* Lembrete (Fase 2) */
.campo-horario { font-size: 1.4rem; font-weight: 700; text-align: center; color: var(--rose); }
/* Ícone de relógio do campo de horário, desenhado em rosé */
.campo-horario::-webkit-calendar-picker-indicator {
  width: 24px; height: 24px; cursor: pointer; opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A66B78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.destaque-aviso { color: var(--rose); font-weight: 700; }
.destaque-aviso:empty { display: none; }
.convite { text-align: center; align-items: center; }

/* Intenção do Dia (Fase 3) */
.pergunta-etapa { font-size: 1.35rem; }
.lista-intencoes { display: flex; flex-direction: column; gap: 10px; }
.opcao-intencao {
  width: 100%; min-height: 56px; padding: 14px 18px; text-align: left;
  border: 2px solid var(--rose-claro); border-radius: 16px; background: #fff;
  font-family: var(--fonte-texto); font-size: 1.02rem; color: var(--texto); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.opcao-intencao:hover, .opcao-intencao:focus-visible { border-color: var(--rose); background: var(--fundo); outline: none; }
.escrever-minha summary {
  cursor: pointer; padding: 12px 4px; color: var(--rose); font-weight: 700; list-style: none; text-align: center;
}
.escrever-minha summary::-webkit-details-marker { display: none; }
.escrever-minha summary::before { content: "✎ "; }
.form-escrever { display: flex; flex-direction: column; gap: 10px; }
textarea.campo { resize: vertical; line-height: 1.5; font-size: 1rem; }

.cartao-intencao .frase-intencao, .item-historico .frase-intencao {
  font-family: var(--fonte-titulo); font-size: 1.2rem; line-height: 1.4;
}
.link-acao {
  align-self: flex-start; background: none; border: none; padding: 6px 0; cursor: pointer;
  color: var(--rose); font-family: var(--fonte-texto); font-weight: 700; font-size: 0.95rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.pergunta-noite { border-top: 1px solid var(--rose-claro); padding-top: 14px; margin-top: 4px; display: flex; flex-direction: column; gap: 12px; }
.opcoes-noite { display: flex; flex-direction: column; gap: 8px; }
/* Rodapé: links centralizados, com espaço entre eles (sem pontinhos soltos) */
.rodape { flex-wrap: wrap; column-gap: 18px; row-gap: 0; }
.campo::placeholder { color: #B3A6AA; opacity: 1; }
.intencao-final { font-family: var(--fonte-titulo); font-size: 1.1rem; line-height: 1.45; padding: 0 8px; }
.intencao-final .suave { font-family: var(--fonte-texto); font-size: 0.95rem; display: block; }

/* Histórico */
.acoes-item { display: flex; gap: 20px; }
.comentario { font-style: italic; color: var(--cinza); }
.grupo-radios { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--rose); }

/* Pote da Abundância (Fase 4) */
.centro-texto { text-align: center; }
/* (desenho e animação do pote: js/pote.js e css/pote.css) */
.pote-ritual { width: 176px; height: 220px; margin: 12px auto 0; }
.pote-grande { width: 220px; height: 275px; margin: 0 auto; }
.grupo-areas { border: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.grupo-areas legend { margin-bottom: 8px; }
.area input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.area span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--rose-claro); background: #fff; color: var(--texto); font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.area input:checked + span { background: var(--rose); border-color: var(--rose); color: #fff; }
.area input:focus-visible + span { outline: 3px solid var(--dourado); outline-offset: 2px; }
.etiqueta-area {
  align-self: flex-start; display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--dourado-claro); color: var(--dourado-texto); font-size: 0.85rem; font-weight: 700;
}
.centro .etiqueta-area { align-self: center; }
.atalho-pote {
  flex-direction: row; align-items: center; gap: 16px; width: 100%; border: none; cursor: pointer;
  text-align: left; font-family: var(--fonte-texto); font-size: 1rem; color: var(--texto);
}
.atalho-pote:hover { box-shadow: 0 6px 24px rgba(166, 107, 120, 0.18); }
.mini-pote { flex: none; width: 52px; height: 65px; }
.resumo-areas { color: var(--dourado-texto); font-weight: 700; }
.pergunta-semente { color: var(--cinza); font-size: 0.92rem; font-style: italic; margin-bottom: -6px; }

/* Encerramento do teste (Fase 7) */
a.botao { text-align: center; text-decoration: none; line-height: 1.6; }
.campo-codigo { text-align: center; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.campo-codigo::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.convite-15 { margin-top: 4px; }
.bloco-opiniao { display: flex; flex-direction: column; gap: 6px; }
.resumo-caminho {
  font-family: var(--fonte-titulo); font-size: 1.15rem; line-height: 1.5; text-align: center;
  color: var(--rose); padding: 4px 8px;
}
.selo-fundadora {
  display: inline-block; vertical-align: middle; white-space: nowrap;
  font-family: var(--fonte-texto); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--dourado-texto); background: var(--dourado-claro);
  padding: 3px 10px; border-radius: 999px;
}

/* Colocar o app na tela inicial (Fase 8) */
.instalar { display: flex; flex-direction: column; gap: 12px; }
.instalar h2 { margin: 0; }
.instalar .centro { text-align: center; }
.abas {
  display: flex; gap: 4px; padding: 4px;
  background: var(--fundo); border-radius: var(--raio-botao);
}
.aba {
  flex: 1; min-height: 44px; border: 0; border-radius: var(--raio-botao); cursor: pointer;
  background: transparent; color: var(--cinza);
  font-family: var(--fonte-texto); font-size: 1rem; font-weight: 700;
}
.aba.ativa { background: var(--cartao); color: var(--rose); box-shadow: 0 2px 8px rgba(64, 54, 58, 0.1); }
.passos { margin: 0; padding: 0; list-style: none; counter-reset: passo; display: flex; flex-direction: column; gap: 10px; }
.passos li { counter-increment: passo; display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.passos li::before {
  content: counter(passo); flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--dourado-claro); color: var(--dourado-texto); font-weight: 700;
}

/* Compartilhar (Fase 6) */
.botao-compartilhar { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.botao-compartilhar svg { width: 20px; height: 20px; flex: none; }
.botao-compartilhar:disabled { opacity: 0.7; cursor: wait; }

/* Jardim da Jornada (Fase 5) */
.jardim { gap: 18px; }
.semana-jardim { display: flex; flex-direction: column; gap: 6px; }
.canteiros { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.canteiro {
  display: flex; flex-direction: column; align-items: center; padding: 2px 0 4px;
  background: none; border: none; border-radius: 12px; font-family: var(--fonte-texto); color: var(--cinza);
}
button.canteiro { cursor: pointer; }
button.canteiro:hover, button.canteiro:focus-visible { background: var(--fundo); outline: none; }
.canteiro-svg { width: 100%; max-width: 46px; height: auto; display: block; overflow: visible; }
.canteiro-svg.futuro { opacity: 0.5; }
.num-dia { font-size: 0.72rem; font-weight: 700; }
.canteiro.hoje .num-dia { color: var(--dourado-texto); }
.brilho-semente-hoje { transform-box: fill-box; transform-origin: center; animation: pulsar 2.4s ease-in-out infinite; }
@keyframes pulsar { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: .6; transform: scale(1.15); } }
.brotou .planta { transform-box: fill-box; transform-origin: 50% 100%; animation: brotar 1.4s cubic-bezier(.2, .8, .3, 1.2) both; }
@keyframes brotar { 0% { transform: scale(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1); } }
.micro-acao { background: var(--dourado-claro); }
.atalho-jardim .mini-pote { display: flex; align-items: center; justify-content: center; }
.atalho-jardim .canteiro-svg { max-width: 46px; }

/* Ajustes: chave de liga/desliga */
.opcao { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.texto-opcao { display: block; font-size: 0.92rem; margin-top: 4px; }
.chave {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 52px; height: 30px; border-radius: 999px; margin: 0;
  background: var(--rose-claro); position: relative; cursor: pointer; transition: background 0.2s;
}
.chave::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.2); transition: transform 0.2s;
}
.chave:checked { background: var(--rose); }
.chave:checked::after { transform: translateX(22px); }
.chave:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }

/* Ajuda */
.contato { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }

/* Quem prefere menos movimento no celular */
/* (O preview coloca "mostrar-animacoes" para a autora ver o movimento mesmo assim.) */
@media (prefers-reduced-motion: reduce) {
  :root:not(.mostrar-animacoes) *,
  :root:not(.mostrar-animacoes) *::before,
  :root:not(.mostrar-animacoes) *::after { animation: none !important; transition-duration: 0.01s !important; }
}

/* ---------- Telas maiores (computador): só um pouco mais de respiro ---------- */
@media (min-width: 768px) {
  .app { padding-top: 56px; }
}
