/* ============================================================
   101 Banhos e Receitas Energéticas — Cartas por Clarice
   Identidade: bege creme · roxo profundo · dourado âmbar
   ============================================================ */

:root {
  --bege: #FBF4EA;
  --bege-2: #F3E8D6;
  --roxo: #3A2357;
  --roxo-2: #4E3270;
  --roxo-suave: #6B4E8E;
  --dourado: #EFB23C;
  --dourado-escuro: #C98A1E;
  --branco-quente: #FFFDF8;
  --texto: #3A2357;
  --texto-suave: #6E6076;
  --sombra: 0 10px 40px rgba(58, 35, 87, 0.12);
  --sombra-sutil: 0 4px 18px rgba(58, 35, 87, 0.08);
  --raio: 22px;
  --raio-sm: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  font-family: "Lora", Georgia, serif;
  color: var(--texto);
  background:
    radial-gradient(1200px 600px at 50% -10%, #2a1840 0%, #1b1029 60%, #140c1f 100%);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  padding: 0;
}

/* ---------- moldura tipo celular no desktop ---------- */
#app {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  max-height: 932px;
  background: var(--bege);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
@media (min-width: 480px) {
  #app { border-radius: 38px; height: 92dvh; }
}

/* ---------- textura/estrelinhas de fundo ---------- */
#app::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(239,178,60,0.10) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 12%, rgba(239,178,60,0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 30%, rgba(58,35,87,0.05) 0 2px, transparent 3px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- scroll interno ---------- */
.scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 96px;
}
.scroll::-webkit-scrollbar { width: 0; }

/* =================== HEADER =================== */
.topbar {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, var(--roxo) 0%, var(--roxo-2) 100%);
  color: var(--bege);
  padding: 20px 22px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--sombra-sutil);
}
.topbar .voltar {
  background: rgba(251,244,234,0.12);
  border: none; color: var(--bege);
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 20px; cursor: pointer; flex: none;
  display: none; align-items: center; justify-content: center;
  transition: background .2s;
}
.topbar .voltar:hover { background: rgba(251,244,234,0.22); }
.topbar.tem-voltar .voltar { display: flex; }
.topbar .titulo {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}
.topbar .sub {
  font-family: "Playfair Display", serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--dourado);
  letter-spacing: .3px;
  margin-top: 1px;
}

/* =================== VIEWS =================== */
.view { display: none; padding: 22px 20px 0; animation: surge .35s ease; }
.view.ativa { display: block; }
@keyframes surge { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.saudacao {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: var(--roxo-suave);
  margin-bottom: 2px;
}
.saudacao b { color: var(--roxo); font-weight: 600; }
.secao-titulo {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--roxo);
  margin: 26px 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.secao-titulo .linha { flex: 1; height: 1px; background: linear-gradient(90deg, var(--dourado), transparent); }

/* =================== CARTA DO DIA =================== */
.carta-dia {
  margin-top: 16px;
  border-radius: var(--raio);
  background: linear-gradient(155deg, var(--roxo) 0%, var(--roxo-2) 70%, #5b3a82 100%);
  color: var(--bege);
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sombra);
  cursor: pointer;
}
.carta-dia::after {
  content: "✦"; position: absolute; right: 18px; top: 14px;
  color: var(--dourado); font-size: 1.1rem; opacity: .8;
}
.carta-dia .rotulo {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase; letter-spacing: 3px;
  font-size: .8rem; color: var(--dourado);
}
.carta-dia .nome-carta {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem; margin: 6px 0 4px;
}
.carta-dia .msg { font-size: .98rem; line-height: 1.5; color: #efe6f7; }
.carta-dia .msg-longa { font-size: 1.02rem; line-height: 1.68; max-width: 30rem; margin-left: auto; margin-right: auto; }
.carta-dia .toque { margin-top: 10px; font-size: .82rem; color: var(--dourado); font-family: "Cormorant Garamond", serif; letter-spacing: 1px; }
.carta-dia .simbolo {
  font-size: 3.2rem; text-align: center; margin-bottom: 6px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.3));
}

/* =================== GRID CATEGORIAS =================== */
.grid-cat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cat-card {
  background: var(--branco-quente);
  border-radius: var(--raio-sm);
  padding: 18px 16px;
  box-shadow: var(--sombra-sutil);
  cursor: pointer;
  border: 1px solid rgba(58,35,87,0.06);
  transition: transform .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
}
.cat-card:active { transform: scale(.97); }
.cat-card:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.cat-card .emoji { font-size: 2rem; display: block; margin-bottom: 8px; }
.cat-card .nome { font-family: "Playfair Display", serif; font-size: 1.02rem; color: var(--roxo); line-height: 1.2; }
.cat-card .qtd { font-family: "Cormorant Garamond", serif; font-size: .92rem; color: var(--dourado-escuro); margin-top: 4px; }
.cat-card.especial {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, #fff7e6 0%, #fdeccb 100%);
  border: 1px solid rgba(239,178,60,0.4);
  display: flex; align-items: center; gap: 14px;
}
.cat-card.especial .emoji { margin: 0; font-size: 2.4rem; }
.cat-card.especial .nome { font-size: 1.1rem; }
.cat-card.especial .sub { font-family: "Cormorant Garamond", serif; color: var(--texto-suave); font-size: .92rem; }

/* =================== BUSCA =================== */
.busca-wrap { position: relative; margin-top: 4px; }
.busca-wrap input {
  width: 100%; border: 1px solid rgba(58,35,87,0.15);
  background: var(--branco-quente);
  border-radius: 999px; padding: 14px 18px 14px 46px;
  font-family: "Lora", serif; font-size: 1rem; color: var(--texto);
  box-shadow: var(--sombra-sutil); outline: none;
}
.busca-wrap input:focus { border-color: var(--dourado); }
.busca-wrap .lupa { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--roxo-suave); }

/* =================== LISTA DE RECEITAS =================== */
.cat-cabecalho {
  text-align: center; padding: 8px 0 4px;
}
.cat-cabecalho .emoji { font-size: 2.6rem; }
.cat-cabecalho .desc { font-family: "Cormorant Garamond", serif; color: var(--texto-suave); font-size: 1.05rem; margin-top: 2px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 6px; }
.chips::-webkit-scrollbar { height: 0; }
.chip {
  flex: none; border: 1px solid rgba(58,35,87,0.18);
  background: transparent; color: var(--roxo);
  border-radius: 999px; padding: 7px 15px;
  font-family: "Lora", serif; font-size: .86rem; cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.chip.ativo { background: var(--roxo); color: var(--bege); border-color: var(--roxo); }

.receita-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--branco-quente);
  border-radius: var(--raio-sm);
  padding: 14px 16px; margin-bottom: 11px;
  box-shadow: var(--sombra-sutil); cursor: pointer;
  border: 1px solid rgba(58,35,87,0.05);
  transition: transform .15s, box-shadow .15s;
}
.receita-item:active { transform: scale(.98); }
.receita-item:hover { box-shadow: var(--sombra); }
.receita-item .ri-emoji { font-size: 1.7rem; flex: none; }
.receita-item .ri-texto { flex: 1; min-width: 0; }
.receita-item .ri-nome { font-family: "Playfair Display", serif; font-size: 1.02rem; color: var(--roxo); line-height: 1.2; }
.receita-item .ri-desc { font-size: .86rem; color: var(--texto-suave); margin-top: 4px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.receita-item .ri-tag { font-family: "Cormorant Garamond", serif; font-size: .78rem; color: var(--dourado-escuro); text-transform: uppercase; letter-spacing: 1px; }
.receita-item .ri-fav { flex: none; font-size: 1.1rem; color: var(--dourado); }

.vazio { text-align: center; color: var(--texto-suave); font-family: "Cormorant Garamond", serif; font-size: 1.1rem; padding: 40px 20px; }

/* =================== DETALHE DA RECEITA =================== */
.det-hero {
  text-align: center; padding: 6px 0 8px;
}
.det-hero .emoji { font-size: 3rem; }
.det-hero .tipo { font-family: "Cormorant Garamond", serif; text-transform: uppercase; letter-spacing: 2px; color: var(--dourado-escuro); font-size: .82rem; }
.det-hero h2 { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--roxo); line-height: 1.2; margin: 4px 14px 0; }
.det-hero .desc { font-family: "Cormorant Garamond", serif; font-size: 1.18rem; color: var(--texto-suave); margin: 10px 14px 0; line-height: 1.4; }

.bloco {
  background: var(--branco-quente);
  border-radius: var(--raio-sm);
  padding: 16px 18px; margin-top: 14px;
  box-shadow: var(--sombra-sutil);
  border: 1px solid rgba(58,35,87,0.05);
}
.bloco h3 {
  font-family: "Playfair Display", serif; font-size: 1.05rem; color: var(--roxo);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.bloco .parte-rotulo {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  color: var(--dourado-escuro); margin: 10px 0 6px; font-size: 1rem;
}
ul.ingr { list-style: none; }
ul.ingr li { padding: 7px 0 7px 24px; position: relative; line-height: 1.4; border-bottom: 1px dashed rgba(58,35,87,0.08); }
ul.ingr li:last-child { border-bottom: none; }
ul.ingr li::before { content: "🌿"; position: absolute; left: 0; font-size: .85rem; }

.passo { line-height: 1.6; color: var(--texto); }
.passo + .passo { margin-top: 10px; }

.momento {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bege-2); border-radius: 999px;
  padding: 8px 16px; color: var(--roxo); font-size: .95rem;
}

.aviso {
  background: #fdf0e0; border-left: 4px solid var(--dourado);
  border-radius: 10px; padding: 12px 14px; margin-top: 10px;
  font-size: .9rem; color: #7a5a1c; line-height: 1.45;
}
.aviso::before { content: "⚠️ "; }

.combina {
  background: linear-gradient(120deg, var(--roxo) 0%, var(--roxo-2) 100%);
  color: var(--bege); border-radius: var(--raio-sm);
  padding: 16px 18px; margin-top: 14px;
}
.combina h3 { color: var(--dourado); font-family: "Playfair Display", serif; font-size: 1rem; margin-bottom: 6px; }
.combina p { line-height: 1.5; font-size: .96rem; }

.dica { font-family: "Cormorant Garamond", serif; font-size: 1.05rem; color: var(--roxo-suave); margin-top: 12px; padding-left: 24px; position: relative; line-height: 1.4; }
.dica::before { content: "💡"; position: absolute; left: 0; }
.nota { font-size: .85rem; color: var(--texto-suave); margin-top: 8px; font-style: italic; }

.btn-fav {
  width: 100%; margin-top: 18px;
  background: var(--branco-quente); color: var(--roxo);
  border: 1.5px solid var(--dourado); border-radius: 999px;
  padding: 14px; font-family: "Lora", serif; font-size: 1rem;
  cursor: pointer; transition: all .2s;
}
.btn-fav.salvo { background: var(--dourado); color: var(--roxo); border-color: var(--dourado); }

.rodape-marca {
  text-align: center; margin: 28px 0 10px;
  font-family: "Cormorant Garamond", serif; color: var(--texto-suave); font-size: .95rem;
}
.rodape-marca b { color: var(--roxo); }

/* =================== BOTTOM NAV =================== */
.tabbar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-around;
  background: rgba(255,253,248,0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(58,35,87,0.08);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.tabbar button {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--texto-suave); font-family: "Lora", serif; font-size: .7rem;
  padding: 4px 10px; transition: color .2s;
}
.tabbar button .ico { font-size: 1.3rem; }
.tabbar button.ativo { color: var(--roxo); }
.tabbar button.ativo .ico { transform: translateY(-1px); }

/* =================== ONBOARDING / LOGIN SIMPLES =================== */
.modal {
  position: absolute; inset: 0; z-index: 50;
  background: linear-gradient(160deg, #2a1840, #160d23);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px; text-align: center; color: var(--bege);
}
.modal.aberto { display: flex; animation: surge .4s ease; }
.modal .lua { font-size: 3.4rem; margin-bottom: 8px; }
.modal h1 { font-family: "Playfair Display", serif; font-size: 1.9rem; line-height: 1.2; }
.modal h1 .ouro { color: var(--dourado); }
.modal h1 .ouro-sub {
  display: inline-block; margin-top: 4px;
  color: var(--dourado); font-size: 1.25rem; font-weight: 500;
  letter-spacing: .5px;
}
.modal p { font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: #d9cce8; margin: 12px 0 22px; line-height: 1.4; max-width: 320px; }
.modal input {
  width: 100%; max-width: 300px; text-align: center;
  border: none; border-radius: 999px; padding: 15px 20px;
  font-family: "Lora", serif; font-size: 1.05rem; color: var(--roxo);
  background: var(--bege); outline: none; margin-bottom: 16px;
}
.modal button {
  background: var(--dourado); color: var(--roxo); border: none;
  border-radius: 999px; padding: 14px 40px; font-family: "Lora", serif;
  font-size: 1.05rem; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(239,178,60,.3);
}
.modal button:disabled { opacity: .6; cursor: default; }

/* ---- login / área de membros ---- */
.login-form { display: flex; flex-direction: column; align-items: center; width: 100%; }
.login-form input { margin-bottom: 14px; }
.auth-erro {
  display: none; max-width: 300px; margin: 2px auto 14px;
  font-family: "Lora", serif; font-size: .92rem; line-height: 1.35;
  color: #ffd9d0; background: rgba(255,120,100,.12);
  border-radius: 14px; padding: 10px 14px;
}
.auth-erro.ok { color: #d7f5dc; background: rgba(120,220,150,.14); }
.auth-troca { margin-top: 18px; font-family: "Cormorant Garamond", serif; font-size: 1.05rem; color: #d9cce8; }
.auth-troca a { color: var(--dourado); font-weight: 600; cursor: pointer; text-decoration: underline; }
.sair-conta {
  display: block; margin: 18px auto 4px; background: none; border: none;
  color: var(--texto-suave); font-family: "Cormorant Garamond", serif;
  font-size: 1rem; text-decoration: underline; cursor: pointer;
}

/* =================== CTA CONSULTA =================== */
.cta-consulta {
  display: block; text-align: center; text-decoration: none;
  background: linear-gradient(120deg, var(--dourado) 0%, #f5c75e 100%);
  color: var(--roxo); border-radius: var(--raio-sm);
  padding: 18px; margin-top: 18px; box-shadow: var(--sombra-sutil);
}
.cta-consulta .t { font-family: "Playfair Display", serif; font-size: 1.1rem; }
.cta-consulta .s { font-family: "Cormorant Garamond", serif; font-size: 1rem; margin-top: 2px; }

/* =================== LUA — faixa na home =================== */
.lua-strip {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; padding: 12px 16px;
  background: linear-gradient(120deg, #2c1b45 0%, #4e3270 100%);
  color: var(--bege); border-radius: var(--raio-sm);
  box-shadow: var(--sombra-sutil); cursor: pointer;
  border: 1px solid rgba(239,178,60,0.25);
}
.lua-strip:active { transform: scale(.99); }
.lua-strip-emoji { font-size: 1.5rem; flex: none; }
.lua-strip-txt { flex: 1; font-size: .92rem; }
.lua-strip-txt b { color: var(--dourado); }
.lua-strip-seta { color: var(--dourado); font-size: 1.2rem; }

/* =================== LUA — tela =================== */
.lua-hero { text-align: center; padding: 8px 0 4px; }
.lua-hero-emoji { font-size: 4rem; filter: drop-shadow(0 6px 16px rgba(239,178,60,.35)); }
.lua-hero-rotulo { font-family: "Cormorant Garamond", serif; text-transform: uppercase; letter-spacing: 3px; font-size: .8rem; color: var(--dourado-escuro); margin-top: 4px; }
.lua-hero-nome { font-family: "Playfair Display", serif; font-size: 1.9rem; color: var(--roxo); line-height: 1.1; }
.lua-hero-tit { font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: var(--texto-suave); margin-top: 2px; }
.lua-ilum {
  display: inline-block; margin-top: 10px;
  background: var(--bege-2); color: var(--roxo);
  border-radius: 999px; padding: 5px 14px; font-size: .85rem;
}
.lua-energia { line-height: 1.55; color: var(--texto); font-size: .97rem; }

.lua-fe .lua-fazer, .lua-fe .lua-evitar { line-height: 1.5; font-size: .94rem; }
.lua-fe .lua-fazer { color: var(--roxo); }
.lua-fe .lua-evitar { color: #8a6a3a; margin-top: 8px; }

.lua-area { margin-bottom: 12px; }
.lua-area-tit { font-family: "Playfair Display", serif; color: var(--roxo); font-size: 1rem; margin-bottom: 8px; }
.lua-pills { display: flex; flex-direction: column; gap: 8px; }
.receita-pill {
  text-align: left; width: 100%;
  background: var(--branco-quente); border: 1px solid rgba(58,35,87,0.1);
  border-radius: 999px; padding: 11px 16px;
  font-family: "Lora", serif; font-size: .9rem; color: var(--roxo);
  cursor: pointer; box-shadow: var(--sombra-sutil);
  transition: transform .15s, box-shadow .15s;
}
.receita-pill:hover { box-shadow: var(--sombra); }
.receita-pill:active { transform: scale(.98); }

.lua-frase {
  text-align: center; font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem; color: var(--roxo-suave); margin: 16px 14px;
}

.lua-datas { display: flex; flex-direction: column; gap: 10px; }
.lua-data { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; }
.lua-data span { font-size: .92rem; color: var(--texto-suave); }
.lua-data b { font-family: "Playfair Display", serif; color: var(--roxo); }

.fase-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--branco-quente); border-radius: var(--raio-sm);
  padding: 14px 16px; margin-bottom: 10px;
  box-shadow: var(--sombra-sutil); cursor: pointer;
  border: 1px solid rgba(58,35,87,0.05); transition: box-shadow .15s, transform .15s;
}
.fase-card:hover { box-shadow: var(--sombra); }
.fase-card:active { transform: scale(.98); }
.fase-emoji { font-size: 1.9rem; flex: none; }
.fase-nome { font-family: "Playfair Display", serif; color: var(--roxo); font-size: 1.02rem; }
.fase-tit { font-family: "Cormorant Garamond", serif; color: var(--texto-suave); font-size: .95rem; }

.lua-voltar {
  background: none; border: none; color: var(--roxo-suave);
  font-family: "Lora", serif; font-size: .92rem; cursor: pointer;
  padding: 4px 0 10px; display: block;
}

/* =================== BÔNUS — cartão na home =================== */
.bonus-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(120deg, #fff7e6 0%, #fdeccb 100%);
  border: 1px solid rgba(239,178,60,0.45);
  border-radius: var(--raio-sm); padding: 16px 16px;
  box-shadow: var(--sombra-sutil); cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.bonus-card:hover { box-shadow: var(--sombra); }
.bonus-card:active { transform: scale(.98); }
.bonus-tag {
  position: absolute; top: -9px; left: 16px;
  background: var(--roxo); color: var(--dourado);
  font-family: "Cormorant Garamond", serif; font-size: .72rem;
  letter-spacing: 2px; padding: 3px 10px; border-radius: 999px;
}
.bonus-emoji { font-size: 2rem; flex: none; }
.bonus-txt { flex: 1; }
.bonus-nome { font-family: "Playfair Display", serif; font-size: 1.1rem; color: var(--roxo); }
.bonus-sub { font-family: "Cormorant Garamond", serif; font-size: .98rem; color: var(--texto-suave); }
.bonus-seta { color: var(--dourado-escuro); font-size: 1.3rem; }

/* =================== GUIA DAS ERVAS — tela =================== */
.ervas-hero { text-align: center; padding: 6px 6px 4px; }
.ervas-hero-emoji { font-size: 2.8rem; }
.ervas-hero-sub { font-family: "Cormorant Garamond", serif; font-size: 1.12rem; color: var(--texto-suave); line-height: 1.4; margin-top: 4px; }

.erva-grupo { margin-top: 22px; }
.erva-grupo-tit {
  font-family: "Playfair Display", serif; font-size: 1.18rem; color: var(--roxo);
  margin-bottom: 4px;
}
.erva-grupo-nota { font-family: "Cormorant Garamond", serif; font-size: .95rem; color: var(--texto-suave); margin-bottom: 10px; }

.erva-item {
  background: var(--branco-quente); border-radius: var(--raio-sm);
  padding: 14px 16px; margin-bottom: 10px;
  box-shadow: var(--sombra-sutil); border: 1px solid rgba(58,35,87,0.05);
}
.erva-cabec { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 5px; }
.erva-emoji { font-size: 1.3rem; }
.erva-nome { font-family: "Playfair Display", serif; font-size: 1.05rem; color: var(--roxo); }
.erva-ficha {
  font-family: "Cormorant Garamond", serif; font-size: .82rem;
  color: var(--dourado-escuro); letter-spacing: .5px;
  background: var(--bege-2); padding: 2px 9px; border-radius: 999px;
}
.erva-texto { line-height: 1.5; color: var(--texto); font-size: .93rem; }
.erva-cuidado {
  margin-top: 8px; background: #fdf0e0; border-radius: 8px;
  padding: 8px 11px; font-size: .85rem; color: #7a5a1c; line-height: 1.4;
}

/* =================== JORNADAS — trilha de desafios =================== */
.jorn-trilha { margin-top: 8px; }
.jorn-conector {
  width: 2px; height: 16px; margin: 0 auto;
  background: repeating-linear-gradient(var(--dourado) 0 4px, transparent 4px 8px);
  opacity: .5;
}
.jorn-card {
  position: relative; display: flex; align-items: center; gap: 13px;
  background: var(--branco-quente); border-radius: var(--raio-sm);
  padding: 15px 16px; box-shadow: var(--sombra-sutil);
  border: 1px solid rgba(58,35,87,0.06); transition: transform .15s, box-shadow .15s;
}
.jorn-card.clicavel { cursor: pointer; }
.jorn-card.clicavel:hover { box-shadow: var(--sombra); }
.jorn-card.clicavel:active { transform: scale(.98); }
.jorn-card.bloqueado { opacity: .6; }
.jorn-num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--roxo); color: var(--dourado);
  display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display", serif; font-size: .9rem;
}
.jorn-emoji { font-size: 1.9rem; flex: none; }
.jorn-txt { flex: 1; min-width: 0; }
.jorn-nome { font-family: "Playfair Display", serif; font-size: 1.08rem; color: var(--roxo); line-height: 1.2; }
.jorn-sub { font-family: "Cormorant Garamond", serif; font-size: .96rem; color: var(--texto-suave); }
.jorn-estado { display: inline-block; margin-top: 5px; font-size: .8rem; font-family: "Lora", serif; }
.jorn-estado.ok { color: var(--dourado-escuro); }
.jorn-estado.andamento { color: var(--roxo-suave); }
.jorn-estado.lock { color: var(--texto-suave); }
.jorn-barra { margin-top: 7px; height: 5px; background: var(--bege-2); border-radius: 999px; overflow: hidden; }
.jorn-barra span { display: block; height: 100%; background: linear-gradient(90deg, var(--dourado), var(--dourado-escuro)); border-radius: 999px; }
.jorn-seta { color: var(--dourado-escuro); font-size: 1.3rem; flex: none; }

/* dias de um desafio */
.dia-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--branco-quente); border-radius: var(--raio-sm);
  padding: 13px 16px; margin-bottom: 10px;
  box-shadow: var(--sombra-sutil); border: 1px solid rgba(58,35,87,0.05);
  transition: transform .15s, box-shadow .15s;
}
.dia-card.clicavel { cursor: pointer; }
.dia-card.clicavel:hover { box-shadow: var(--sombra); }
.dia-card.clicavel:active { transform: scale(.98); }
.dia-card.bloqueado { opacity: .55; }
.dia-card.feito { background: linear-gradient(120deg, #fff7e6 0%, #fdeccb 100%); border-color: rgba(239,178,60,0.4); }
.dia-bolha {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bege-2); color: var(--roxo);
  display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display", serif; font-size: 1rem;
}
.dia-card.feito .dia-bolha { background: var(--dourado); color: var(--roxo); }
.dia-txt { flex: 1; }
.dia-tema { font-family: "Playfair Display", serif; font-size: 1.02rem; color: var(--roxo); line-height: 1.2; }
.dia-status { font-family: "Cormorant Garamond", serif; font-size: .9rem; margin-top: 2px; display: inline-block; }
.dia-status.ok { color: var(--dourado-escuro); }
.dia-status.atual { color: var(--roxo-suave); }
.dia-status.lock { color: var(--texto-suave); }

.dia-intencao {
  text-align: center; font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem; color: var(--roxo-suave); margin: 16px 14px 4px; line-height: 1.4;
}
.dia-receita { margin-top: 4px; }

.jorn-final {
  background: linear-gradient(120deg, var(--roxo) 0%, var(--roxo-2) 100%);
  color: var(--bege); border-radius: var(--raio-sm);
  padding: 18px; margin-top: 14px; line-height: 1.55; font-size: .96rem;
}

/* tela de celebração */
.jorn-festa { text-align: center; padding: 24px 10px; animation: surge .4s ease; }
.jorn-festa-emoji { font-size: 4rem; }
.jorn-festa h2 { font-family: "Playfair Display", serif; font-size: 1.7rem; color: var(--roxo); line-height: 1.2; margin: 8px 0 12px; }
.jorn-festa p { line-height: 1.55; color: var(--texto); font-size: .96rem; margin: 0 6px; }
.jorn-festa-prox {
  background: linear-gradient(120deg, #fff7e6 0%, #fdeccb 100%);
  border: 1px solid rgba(239,178,60,0.45); border-radius: var(--raio-sm);
  padding: 14px 16px; margin: 18px 0; color: var(--roxo);
  font-family: "Cormorant Garamond", serif; font-size: 1.1rem;
}
.jorn-festa-prox b { font-family: "Playfair Display", serif; }

/* =================== MICRO-INTERAÇÕES =================== */

/* Detalhe da receita: blocos entram em cascata suave (em vez de tudo de uma vez) */
#view-detalhe.ativa { animation: none; }
#view-detalhe.ativa > * {
  opacity: 0;
  animation: cascata .5s cubic-bezier(.22,.61,.36,1) forwards;
}
#view-detalhe.ativa > *:nth-child(1) { animation-delay: .00s; }
#view-detalhe.ativa > *:nth-child(2) { animation-delay: .05s; }
#view-detalhe.ativa > *:nth-child(3) { animation-delay: .10s; }
#view-detalhe.ativa > *:nth-child(4) { animation-delay: .15s; }
#view-detalhe.ativa > *:nth-child(5) { animation-delay: .20s; }
#view-detalhe.ativa > *:nth-child(6) { animation-delay: .25s; }
#view-detalhe.ativa > *:nth-child(7) { animation-delay: .30s; }
#view-detalhe.ativa > *:nth-child(n+8) { animation-delay: .33s; }
@keyframes cascata {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
/* quem prefere menos movimento não recebe a cascata */
@media (prefers-reduced-motion: reduce) {
  #view-detalhe.ativa > * { opacity: 1; animation: none; }
}

/* Favoritar: pop satisfatório + estrelinha que sobe */
.btn-fav { position: relative; overflow: visible; }
.btn-fav.pulou { animation: fav-pop .42s ease; }
@keyframes fav-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.05); }
  65%  { transform: scale(.985); }
  100% { transform: scale(1); }
}
.fav-estrela {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem; pointer-events: none; will-change: transform, opacity;
  animation: estrela-sobe .9s ease forwards;
}
@keyframes estrela-sobe {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -175%) scale(1.35); }
}
