/* ═══════════════════════════════════════════════════════
   cursodetarot.pt (base: modelo Grimório) — Estilo da app
   Paleta: pergaminho creme + bordô + dourado. Legibilidade primeiro.
   ═══════════════════════════════════════════════════════ */
/* Fontes alojadas no próprio site (sem pedidos à Google — mais rápido e RGPD) */
@font-face { font-family: 'EB Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fontes/eb-garamond-600.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fontes/eb-garamond-700.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fontes/lora-400.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 400; font-style: italic; font-display: swap; src: url('/assets/fontes/lora-400-italico.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 600 700; font-style: normal; font-display: swap; src: url('/assets/fontes/lora-600.woff2') format('woff2'); }

:root {
  --fundo: #fbf3dc;
  --papel: #fffaee;
  --papel-2: #f6ead0;
  --texto: #1a1a1a;
  --texto-2: #463a33;
  --bordo: #7a1010;
  --bordo-esc: #5c0b0b;
  --bordo-claro: #9b2020;
  --dourado: #b8912f;
  --dourado-esc: #7d6118;
  --linha: #e4d3a6;
  --sombra: 0 1px 2px rgba(60, 30, 10, .08), 0 6px 18px rgba(60, 30, 10, .07);
  --raio: 12px;
  --letra-base: 18px;
  --f-titulo: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --f-texto: 'Lora', Georgia, 'Times New Roman', serif;
  --largura-texto: 46rem;
  --largura: 72rem;
  --barra-app: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--letra-base); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 1rem;
  line-height: 1.7;
  padding-bottom: calc(var(--barra-app) + env(safe-area-inset-bottom));
}
img, svg { max-width: 100%; }
a { color: var(--bordo); text-underline-offset: 3px; }
a:hover { color: var(--bordo-esc); }
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; top: 0; background: var(--bordo); color: #fff; padding: .6rem 1rem; z-index: 100; }
.saltar:focus { left: 0; }

h1, h2, h3, h4 { font-family: var(--f-titulo); color: var(--bordo); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 2.9rem); margin: .3rem 0 .6rem; }
h2 { font-size: clamp(1.5rem, 4.4vw, 1.9rem); margin: 2.2rem 0 .7rem; }
h3 { font-size: 1.35rem; margin: 1.6rem 0 .5rem; }

/* ── Topo ───────────────────────────────────────── */
.topo {
  position: sticky; top: 0; z-index: 40;
  background: var(--bordo);
  border-bottom: 3px solid var(--dourado);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.topo-in {
  max-width: var(--largura); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .55rem 1rem;
}
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff7e2; flex-shrink: 0; }
.logo-marca {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fundo); color: var(--bordo);
  border: 2px solid var(--dourado);
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.6rem; line-height: 1;
}
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-nome { font-family: var(--f-titulo); font-size: 1.55rem; font-weight: 700; letter-spacing: .02em; }
.logo-sub { font-family: var(--f-titulo); font-size: .82rem; color: #f0d98f; font-variant: small-caps; letter-spacing: .08em; }
.menu { display: none; flex: 1; justify-content: center; gap: .2rem; }
.menu a {
  color: #fff7e2; text-decoration: none;
  font-family: var(--f-titulo); font-weight: 600; font-size: 1.1rem;
  font-variant: small-caps; letter-spacing: .06em;
  padding: .45rem .7rem; border-radius: 6px;
}
.menu a:hover, .menu a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 -2px 0 var(--dourado); }
.topo-acoes { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.btn-icone { color: #fff7e2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.btn-icone:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ── Painel de pesquisa ─────────────────────────── */
.pesquisa-painel { position: sticky; top: 64px; z-index: 39; background: var(--papel); border-bottom: 2px solid var(--linha); box-shadow: var(--sombra); padding: .8rem 1rem; }
.pesquisa-painel .pesquisa-form { max-width: var(--largura-texto); margin: 0 auto; display: flex; gap: .5rem; }
.pesquisa-painel .sugestoes { max-width: var(--largura-texto); margin: .4rem auto 0; position: static; }
.pesquisa-form input, .heroi-pesquisa input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1.05rem; color: var(--texto);
  padding: .8rem 1rem; border: 2px solid var(--linha); border-radius: 10px; background: #fff;
}
.pesquisa-form input:focus, .heroi-pesquisa input:focus { border-color: var(--bordo); outline: none; box-shadow: 0 0 0 3px rgba(122, 16, 16, .15); }
.pesquisa-form button, .heroi-pesquisa button {
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.1rem;
  background: var(--bordo); color: #fff; border: 0; border-radius: 10px; padding: 0 1.1rem; cursor: pointer; min-height: 52px;
}
.pesquisa-form .fechar { background: transparent; color: var(--texto-2); font-size: 1.3rem; padding: 0 .6rem; }

.sugestoes {
  list-style: none; margin: .3rem 0 0; padding: .3rem; background: #fff;
  border: 2px solid var(--linha); border-radius: 10px; box-shadow: var(--sombra);
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30; text-align: left;
}
.sugestoes a { display: block; padding: .6rem .8rem; border-radius: 8px; text-decoration: none; color: var(--texto); }
.sugestoes a:hover, .sugestoes a.foco { background: var(--papel-2); }
.sugestoes small { display: block; color: var(--texto-2); font-size: .82rem; }

/* ── Estrutura geral ────────────────────────────── */
main { display: block; }
.bloco, .relacionados, .lista-seccao { max-width: var(--largura); margin: 2.2rem auto; padding: 0 1rem; }
.largura-texto { max-width: var(--largura-texto); margin-left: auto; margin-right: auto; padding: 0 1rem; }
.titulo-bloco { font-size: 1.65rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.titulo-bloco::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--dourado), transparent); }
.titulo-bloco small { font-family: var(--f-texto); font-size: .9rem; color: var(--texto-2); font-weight: 400; }
.sobre-titulo { font-family: var(--f-titulo); font-variant: small-caps; letter-spacing: .12em; color: var(--dourado-esc); font-weight: 700; margin: 0; font-size: 1.05rem; }

/* ── Botões ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.12rem; line-height: 1.2;
  padding: .75rem 1.25rem; min-height: 50px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
}
.btn-pri { background: var(--bordo); color: #fff; }
.btn-pri:hover { background: var(--bordo-esc); color: #fff; }
.btn-sec { background: transparent; color: var(--bordo); border-color: var(--bordo); }
.btn-sec:hover { background: var(--bordo); color: #fff; }
.btn-wa { background: #1f7a45; color: #fff; }
.btn-wa:hover { background: #17603a; color: #fff; }
.btn-perigo { background: #8f1d1d; color: #fff; }
.btn-largo { width: 100%; }
.ligacao { background: none; border: 0; color: var(--bordo); text-decoration: underline; cursor: pointer; font: inherit; font-size: .95rem; padding: .3rem; }
.botoes { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* ── Página inicial ─────────────────────────────── */
.heroi {
  text-align: center; padding: 2.4rem 1rem 2rem;
  background:
    radial-gradient(ellipse at top, rgba(184, 145, 47, .18), transparent 60%),
    var(--fundo);
  border-bottom: 1px solid var(--linha);
}
.heroi-sobre { font-family: var(--f-titulo); font-variant: small-caps; letter-spacing: .16em; color: var(--dourado-esc); font-weight: 700; margin: 0; font-size: 1.1rem; }
.heroi h1 { max-width: 22ch; margin: .4rem auto .8rem; }
.heroi-txt { max-width: 38rem; margin: 0 auto 1.4rem; color: var(--texto-2); font-size: 1.05rem; }
.heroi-pesquisa { position: relative; display: flex; gap: .5rem; max-width: 40rem; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem auto 0; max-width: 44rem; }
.chip {
  font: inherit; font-size: .98rem; cursor: pointer;
  background: var(--papel); color: var(--bordo); text-decoration: none;
  border: 1.5px solid var(--linha); border-radius: 999px; padding: .45rem 1rem; min-height: 44px;
  display: inline-flex; align-items: center; gap: .35rem;
}
.chip.ativo { border-color: var(--bordo); background: var(--bordo); color: #fff; }
@media (hover: hover) { .chip:hover { border-color: var(--bordo); background: var(--bordo); color: #fff; } }
.chip small { opacity: .8; }

.lua-cartao {
  display: flex; align-items: center; gap: 1.1rem;
  background: linear-gradient(135deg, #2b1b1b, #4a1414);
  color: #fbeed0; text-decoration: none; border-radius: var(--raio);
  padding: 1.1rem 1.3rem; border: 1px solid var(--dourado); box-shadow: var(--sombra);
}
.lua-cartao:hover { color: #fff; }
.lua-svg { flex-shrink: 0; }
.lua-info { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.lua-rot { font-size: .92rem; color: #e9d59b; }
.lua-nome { font-family: var(--f-titulo); font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1.15; }
.lua-det { font-size: .95rem; color: #f2e4c2; }
.lua-seta { font-size: 2rem; color: var(--dourado); }
.lua-prox { display: block; }

.destaque-cipriano {
  background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 1.4rem 1.2rem; box-shadow: var(--sombra);
  max-width: calc(var(--largura) - 2rem);
}
.destaque-cab h2 { margin: .2rem 0 .5rem; }
.destaque-cab p { color: var(--texto-2); margin: 0; }
.destaque-cipriano .grelha-cartoes { margin-top: 1.4rem; }

.grelha-seccoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .9rem; }
.seccao-cartao {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: .8rem;
  background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 1rem 1.1rem; text-decoration: none; color: var(--texto); box-shadow: var(--sombra);
  transition: border-color .15s, transform .15s;
}
.seccao-cartao:hover { border-color: var(--bordo); transform: translateY(-2px); color: var(--texto); }
.seccao-ic { grid-row: 1 / span 3; font-size: 1.7rem; line-height: 1.2; }
.seccao-nome { font-family: var(--f-titulo); font-size: 1.35rem; font-weight: 700; color: var(--bordo); line-height: 1.2; }
.seccao-desc { font-size: .95rem; color: var(--texto-2); line-height: 1.5; margin-top: .2rem; }
.seccao-n { font-size: .85rem; color: var(--dourado-esc); margin-top: .35rem; font-weight: 600; }

.meu-promo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--bordo); color: #fbeed0; border-radius: var(--raio); padding: 1.5rem 1.4rem;
  max-width: calc(var(--largura) - 2rem); border: 2px solid var(--dourado);
}
.meu-promo h2 { color: #fff; margin: .1rem 0 .4rem; }
.meu-promo p { margin: 0; max-width: 36rem; }
.meu-promo .sobre-titulo { color: #f0d98f; }
.meu-promo .btn-pri { background: var(--fundo); color: var(--bordo); }

/* ── Cartões de páginas ─────────────────────────── */
.grelha-cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .9rem; }
.cartao {
  display: flex; flex-direction: column; gap: .25rem;
  background: var(--papel); border: 1px solid var(--linha); border-left: 4px solid var(--dourado);
  border-radius: 10px; padding: .95rem 1.1rem; text-decoration: none; color: var(--texto);
  box-shadow: var(--sombra); transition: border-color .15s;
}
.cartao:hover { border-color: var(--bordo); color: var(--texto); }
.cartao-sec { font-size: .82rem; color: var(--dourado-esc); font-weight: 600; letter-spacing: .02em; }
.cartao-tit { font-family: var(--f-titulo); font-size: 1.28rem; font-weight: 700; color: var(--bordo); line-height: 1.25; }
.cartao-txt { font-size: .95rem; color: var(--texto-2); line-height: 1.5; }
.cartao-destaque { border-left-color: var(--bordo); margin-bottom: 1rem; }
.ver-todos { text-align: center; margin: 1.2rem 0; font-family: var(--f-titulo); font-size: 1.15rem; font-weight: 700; }

/* ── Artigo ─────────────────────────────────────── */
.artigo-topo { max-width: var(--largura-texto); margin: 0 auto; padding: 1.4rem 1rem .4rem; }
.migalhas { font-size: .9rem; color: var(--texto-2); display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.migalhas a { color: var(--texto-2); }
.migalhas span[aria-current] { color: var(--texto); }
.artigo-seccao { margin: 1rem 0 0; font-family: var(--f-titulo); font-variant: small-caps; letter-spacing: .1em; font-weight: 700; color: var(--dourado-esc); font-size: 1.05rem; }
.artigo-lead { font-size: 1.12rem; color: var(--texto-2); margin: 0 0 .8rem; }
.artigo-meta { font-size: .92rem; color: var(--texto-2); display: flex; flex-wrap: wrap; gap: 1rem; }

.ferramentas {
  position: sticky; top: 64px; z-index: 20;
  max-width: var(--largura-texto); margin: .6rem auto 0; padding: .4rem 1rem;
  display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none;
  background: rgba(251, 243, 220, .96); backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--linha);
}
.ferramentas::-webkit-scrollbar { display: none; }
.ferr {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .35rem;
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--bordo);
  background: var(--papel); border: 1.5px solid var(--linha); border-radius: 999px;
  padding: .4rem .85rem; min-height: 44px; cursor: pointer;
}
.ferr svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ferr:hover { border-color: var(--bordo); }
.ferr[aria-pressed="true"] { background: var(--bordo); color: #fff; border-color: var(--bordo); }
.ferr[aria-pressed="true"] svg { fill: currentColor; }

.artigo-corpo { max-width: var(--largura-texto); margin: 0 auto; padding: 0 1rem; }
.indice-artigo { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: .8rem 1.1rem; margin: 1.2rem 0 .4rem; }
.indice-artigo summary { font-family: var(--f-titulo); font-weight: 700; color: var(--bordo); font-size: 1.15rem; cursor: pointer; }
.indice-artigo ol { margin: .5rem 0 0; padding-left: 1.3rem; }
.indice-artigo li { margin: .2rem 0; }

.texto { font-size: 1rem; }
.texto p, .texto ul, .texto ol { margin: 0 0 1.1rem; }
.texto li { margin: .35rem 0; }
.texto strong { color: #000; }
.texto h2 { border-bottom: 1px solid var(--linha); padding-bottom: .3rem; }
.caixa-destaque {
  background: var(--papel); border: 1px solid var(--linha); border-left: 4px solid var(--bordo);
  border-radius: 8px; padding: 1rem 1.2rem; margin: 1.3rem 0; font-size: 1.05rem;
}
.caixa-destaque strong:first-child { color: var(--bordo); }
.caixa { background: var(--papel); border: 1px solid var(--linha); border-radius: 8px; padding: 1rem 1.2rem; margin: 1.3rem 0; }
.caixa-oracao {
  background: #fffdf6; border: 1px solid var(--linha); border-left: 4px solid var(--dourado);
  border-radius: 8px; padding: 1.3rem 1.4rem; margin: 1.4rem 0;
  font-style: italic; font-size: 1.1rem; line-height: 1.95;
}
.caixa-oracao p:last-child { margin-bottom: 0; }
/* grelhas herdadas do site antigo (cartões de serviço) */
.grid-servicos { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .8rem; margin: 1.2rem 0; }
.card-servico { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: 1rem; }
.card-servico h3 { margin: .3rem 0; font-size: 1.2rem; }
.card-servico p { font-size: .95rem; color: var(--texto-2); margin: 0 0 .4rem; }
.card-icone { font-size: 1.4rem; }
.card-link { font-weight: 600; }
.texto table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.texto th, .texto td { border: 1px solid var(--linha); padding: .5rem .7rem; text-align: left; }
.texto th { background: var(--papel-2); }

.nota-pessoal { max-width: var(--largura-texto); margin: 2.4rem auto 0; padding: 1.2rem 1rem; border-top: 2px solid var(--linha); }
.nota-pessoal .titulo-bloco { font-size: 1.4rem; }
.nota-info { color: var(--texto-2); font-size: .95rem; }
.nota-pessoal textarea {
  width: 100%; font: inherit; font-size: 1rem; line-height: 1.6; color: var(--texto);
  border: 2px solid var(--linha); border-radius: 10px; padding: .8rem 1rem; background: #fff; margin-bottom: .6rem;
}
.nota-pessoal textarea:focus { border-color: var(--bordo); outline: none; }
.nota-pessoal .btn { margin: 0 .4rem .4rem 0; }
.nota-estado { color: #1f6b3d; font-weight: 600; margin-left: .5rem; }

.bloco-mc { background: var(--papel-2); border: 1px solid var(--linha); border-radius: 10px; padding: 1rem 1.2rem; margin: 2rem 0; font-size: .98rem; }
.bloco-mc p { margin: 0; }
.bloco-mc.forte { background: var(--papel); border: 2px solid var(--dourado); padding: 1.3rem; }
.bloco-mc-tit { font-family: var(--f-titulo); font-size: 1.4rem; font-weight: 700; color: var(--bordo); margin-bottom: .4rem !important; }
.bloco-mc-botoes { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.ant-seg { max-width: var(--largura-texto); margin: 1.5rem auto; padding: 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ant-seg a { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: .8rem 1rem; text-decoration: none; font-family: var(--f-titulo); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.ant-seg a:hover { border-color: var(--bordo); }
.ant-seg small { display: block; font-family: var(--f-texto); font-weight: 400; font-size: .85rem; color: var(--texto-2); }
.ant-seg .seg { text-align: right; }

/* ── Explorar ───────────────────────────────────── */
.explorar-lista { display: grid; gap: .6rem; }
.explorar-sec { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; }
.explorar-sec summary { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; cursor: pointer; list-style: none; min-height: 56px; }
.explorar-sec summary::-webkit-details-marker { display: none; }
.explorar-sec summary::after { content: "›"; margin-left: auto; font-size: 1.6rem; color: var(--dourado-esc); transition: transform .2s; }
.explorar-sec[open] summary::after { transform: rotate(90deg); }
.explorar-nome { font-family: var(--f-titulo); font-size: 1.3rem; font-weight: 700; color: var(--bordo); }
.explorar-nome small { font-family: var(--f-texto); font-size: .85rem; color: var(--texto-2); font-weight: 400; margin-left: .3rem; }
.explorar-desc { margin: 0 1.1rem .6rem; color: var(--texto-2); font-size: .95rem; }
.explorar-sec ul { margin: 0; padding: 0 1.1rem 1rem 2.4rem; columns: 2 16rem; column-gap: 2rem; }
.explorar-sec li { margin: .3rem 0; break-inside: avoid; }

/* ── Pesquisa ───────────────────────────────────── */
.pesquisa-pagina { margin-top: 1rem; }
.pesquisa-total { margin: 1.2rem 0 .6rem; }
.filtros { justify-content: flex-start; margin: 0 0 1rem; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.filtros .chip { flex-shrink: 0; }
.resultados { list-style: none; margin: 0; padding: 0; }
.resultados li { border-bottom: 1px solid var(--linha); }
.resultados a { display: flex; flex-direction: column; padding: .9rem .2rem; text-decoration: none; color: var(--texto); }
.resultados a:hover .res-tit { text-decoration: underline; }
.res-sec { font-size: .82rem; color: var(--dourado-esc); font-weight: 600; }
.res-tit { font-family: var(--f-titulo); font-size: 1.3rem; font-weight: 700; color: var(--bordo); line-height: 1.25; }
.res-txt { font-size: .95rem; color: var(--texto-2); }
.vazio { background: var(--papel); border: 1px dashed var(--linha); border-radius: 10px; padding: 1.2rem; margin: 1rem 0; }
.pesquisa-dica { margin: 1.2rem 0 0; font-weight: 600; }
.pg-pesquisa .chips { justify-content: flex-start; margin-left: 0; }

/* ── Conta / Meu Grimório ───────────────────────── */
.conta-caixa { max-width: 28rem; margin: 2rem auto; padding: 1.6rem 1.3rem; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra); }
.conta-caixa h1 { font-size: 2rem; margin-top: 0; }
.conta-intro { color: var(--texto-2); }
.form-conta label { display: block; font-weight: 600; margin: 1rem 0 .3rem; }
.form-conta input[type=text], .form-conta input[type=email], .form-conta input[type=password], .apagar-conta input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: .75rem .9rem; border: 2px solid var(--linha); border-radius: 10px; background: #fff; color: var(--texto);
}
.form-conta input:focus { border-color: var(--bordo); outline: none; }
.form-conta .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .95rem; }
.form-conta .check input { width: 22px; height: 22px; margin-top: .2rem; flex-shrink: 0; }
.form-conta .btn { margin-top: 1.3rem; }
.conta-troca { text-align: center; margin-top: 1rem; }
.armadilha { position: absolute; left: -9999px; }
.alerta { background: #fbe3e0; border: 1px solid #d99a92; color: #6d1410; border-radius: 8px; padding: .7rem 1rem; }
.lista-vantagens { padding-left: 1.2rem; }
.lista-vantagens li { margin: .4rem 0; }

.meu { max-width: var(--largura-texto); margin: 0 auto 2rem; padding: 0 1rem; }
.separadores { display: flex; gap: .3rem; border-bottom: 2px solid var(--linha); margin: .8rem 0 1.2rem; overflow-x: auto; }
.separadores button {
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem; color: var(--texto-2);
  background: none; border: 0; padding: .7rem .9rem; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; min-height: 48px;
}
.separadores button[aria-selected="true"] { color: var(--bordo); border-bottom-color: var(--bordo); }
.separadores small { font-family: var(--f-texto); font-size: .8rem; }
.filtros-col { justify-content: flex-start; margin: 0 0 1rem; }
.chip-novo { border-style: dashed; }
.lista-guardados { list-style: none; padding: 0; margin: 0; }
.lista-guardados li { border-bottom: 1px solid var(--linha); padding: .8rem 0; }
.lista-guardados a { display: flex; flex-direction: column; text-decoration: none; }
.guardado-acoes { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; flex-wrap: wrap; }
.guardado-acoes select { font: inherit; font-size: .95rem; padding: .45rem .6rem; border: 1.5px solid var(--linha); border-radius: 8px; background: #fff; min-height: 44px; color: var(--texto); }
.gerir-col, .apagar-conta { margin-top: 1.5rem; background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: .8rem 1rem; }
.gerir-col summary, .apagar-conta summary { cursor: pointer; font-weight: 600; color: var(--bordo); }
.apagar-conta form { display: grid; gap: .6rem; margin-top: .6rem; }
.nota-cartao { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: 1rem 1.1rem; margin-bottom: .8rem; }
.nota-cartao p { margin: .4rem 0; white-space: normal; }
.nota-cartao small { color: var(--texto-2); }

/* ── Calendário lunar ───────────────────────────── */
.lua-grande .lua-nome { font-size: 2rem; }
.mes-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.mes-nav h2 { margin: 0; }
.mes-nav a { font-size: 2rem; text-decoration: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--linha); background: var(--papel); }
.mes-grelha { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mes-cab { text-align: center; font-weight: 600; font-size: .85rem; color: var(--texto-2); padding: .3rem 0; }
.mes-dia { background: var(--papel); border: 1px solid var(--linha); border-radius: 8px; min-height: 76px; padding: .25rem; display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .85rem; }
.mes-dia.vazio { background: transparent; border: 0; }
.mes-dia.fase { border-color: var(--dourado); background: #fff6dc; }
.mes-dia.hoje { outline: 3px solid var(--bordo); outline-offset: -2px; }
.mes-num { font-weight: 700; }
.mes-fase { font-size: .7rem; line-height: 1.2; text-align: center; color: var(--bordo); font-weight: 600; }
.mes-lista { padding-left: 1.2rem; }
.mes-lista li { margin: .35rem 0; }

/* ── Rodapé ─────────────────────────────────────── */
.rodape { background: #2b1b1b; color: #eadcb8; margin-top: 3rem; border-top: 3px solid var(--dourado); }
.rodape-in { max-width: var(--largura); margin: 0 auto; padding: 2rem 1rem 1rem; display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.rodape a { color: #f4e6bf; display: block; padding: .3rem 0; text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape p { margin: 0 0 .6rem; font-size: .95rem; }
.rodape-logo { font-family: var(--f-titulo); font-size: 1.6rem !important; font-weight: 700; color: #fff; }
.rodape-tit { font-family: var(--f-titulo); font-variant: small-caps; letter-spacing: .1em; font-weight: 700; color: var(--dourado) !important; font-size: 1.1rem !important; }
.aviso-legal { font-size: .88rem !important; color: #cdbb90; }
.rodape-fim { text-align: center; padding: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); margin: 0; font-size: .9rem; }
.rodape-fim a { display: inline; }

/* ── Barra de navegação da app (telemóvel) ──────── */
.barra-app {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--papel); border-top: 2px solid var(--linha);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 14px rgba(60, 30, 10, .08);
}
.barra-app a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: var(--barra-app); color: var(--texto-2); text-decoration: none; font-size: .78rem; font-weight: 600;
}
.barra-app svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.barra-app a[aria-current="page"] { color: var(--bordo); }
.barra-app a[aria-current="page"] svg { fill: rgba(122, 16, 16, .12); }


/* ── Botão ☰ Menu (topo, lado direito) ──────────── */
.btn-menu {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 54px; height: 50px; padding: 0; cursor: pointer;
  background: transparent; border: 2px solid rgba(240, 217, 143, .6); border-radius: 10px;
}
.btn-menu span { display: block; width: 22px; height: 2.5px; background: #fff7e2; border-radius: 2px; }
.btn-menu em { font-style: normal; font-family: var(--f-titulo); font-size: .72rem; font-weight: 700; color: #f0d98f; line-height: 1; margin-top: 1px; letter-spacing: .04em; }
.btn-menu:hover { background: rgba(255, 255, 255, .1); }

/* ── Gaveta do menu ─────────────────────────────── */
.gaveta-fundo { position: fixed; inset: 0; background: rgba(20, 8, 8, .55); z-index: 70; }
.gaveta {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71;
  width: 86%; max-width: 360px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--fundo); border-left: 3px solid var(--dourado);
  box-shadow: -8px 0 24px rgba(0, 0, 0, .3);
  transform: translateX(105%); transition: transform .25s ease; visibility: hidden;
}
body.menu-aberto { overflow: hidden; }
body.menu-aberto .gaveta { transform: none; visibility: visible; }
.gaveta-cab {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bordo); color: #fff; padding: .7rem 1rem; border-bottom: 3px solid var(--dourado);
}
.gaveta-tit { font-family: var(--f-titulo); font-size: 1.5rem; font-weight: 700; }
.gaveta-fechar { background: none; border: 2px solid rgba(240, 217, 143, .6); color: #fff; font-size: 1.3rem; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; }
.gaveta-pesq { padding: .9rem 1rem .3rem; }
.gaveta-pesq input { width: 100%; font: inherit; font-size: 1rem; color: var(--texto); padding: .7rem .9rem; border: 2px solid var(--linha); border-radius: 10px; background: #fff; }
.gaveta-pesq input:focus { border-color: var(--bordo); outline: none; }
.gaveta nav { padding: .3rem 0 1.5rem; }
.gaveta nav a { display: block; padding: .62rem 1.2rem; text-decoration: none; color: var(--texto); font-size: 1.05rem; border-bottom: 1px solid rgba(228, 211, 166, .6); }
.gaveta nav a:hover { background: var(--papel-2); }
.gaveta nav a.g-princ { font-family: var(--f-titulo); font-weight: 700; font-size: 1.2rem; color: var(--bordo); }
.g-grupo { margin: 1rem 1.2rem .3rem; font-family: var(--f-titulo); font-variant: small-caps; letter-spacing: .12em; font-weight: 700; color: var(--dourado-esc); font-size: 1.05rem; }
.gaveta nav a.g-todas { color: var(--bordo); font-weight: 600; border: 0; margin-top: .6rem; }

/* ── Mensagem curta ─────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: #2b1b1b; color: #fbeed0; padding: .7rem 1.2rem; border-radius: 999px; z-index: 60;
  font-size: .95rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); max-width: 90vw; text-align: center;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.toast.visivel { opacity: 1; }
.guardados-aviso { margin-top: 2rem; }

/* ── Textos revistos: notas, tabelas, fontes ────── */
.caixa-nota { background: #fff8e6; border: 1px solid var(--linha); border-left: 4px solid var(--dourado); border-radius: 8px; padding: .9rem 1.1rem; margin: 1.3rem 0; font-size: .98rem; }
.caixa-nota p:last-child { margin-bottom: 0; }
.texto .tabela { display: table; width: 100%; font-size: .95rem; }
.texto .tabela td:first-child { font-weight: 600; }
.texto .tabela th:empty { display: none; }
.texto p.ligacao-seta { margin: .3rem 0; font-family: var(--f-titulo); font-weight: 700; font-size: 1.1rem; }
.texto p.ligacao-seta a { text-decoration-thickness: 1px; }
.texto ul.fontes { font-size: .9rem; color: var(--texto-2); padding-left: 1.1rem; }
.texto ul.fontes li { margin: .3rem 0; }
.texto h3 { color: var(--bordo-esc); }
.rodape-sites { text-align: center; margin: 0; padding: .8rem 1rem 0; font-size: .95rem; }
.rodape-sites a { display: inline; }
.bloco-sites { border-color: var(--bordo); }

@media (max-width: 600px) {
  .texto .tabela { display: block; overflow-x: auto; }
}

/* ── Tamanho de letra escolhido pelo leitor ─────── */
html.letra-1 { --letra-base: 20px; }
html.letra-2 { --letra-base: 22px; }
html.letra--1 { --letra-base: 16.5px; }

/* ── Ecrãs maiores ──────────────────────────────── */
@media (min-width: 900px) {
  :root { --letra-base: 19px; }
  html.letra-1 { --letra-base: 21px; }
  html.letra-2 { --letra-base: 23px; }
  body { padding-bottom: 0; }
  .barra-app { display: none; }
  .menu { display: flex; }
  .heroi { padding: 3.6rem 1rem 3rem; }
  .rodape-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .destaque-cipriano { padding: 2rem; margin-left: auto; margin-right: auto; }
  .meu-promo { margin-left: auto; margin-right: auto; padding: 2rem; }
  .mes-dia { min-height: 92px; }
  .mes-fase { font-size: .78rem; }
}
@media (max-width: 899px) {
  .destaque-cipriano, .meu-promo { margin-left: 1rem; margin-right: 1rem; }
  .pesquisa-painel { top: 60px; }
  .ferramentas { top: 60px; }
}
@media (max-width: 600px) {
  .lua-grande { flex-direction: column; align-items: flex-start; }
  .lua-grande .lua-svg { width: 80px; height: 80px; }
  .grelha-seccoes { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .seccao-cartao { grid-template-columns: 1fr; padding: .8rem .85rem; }
  .seccao-ic { grid-row: auto; font-size: 1.5rem; }
  .seccao-nome { font-size: 1.15rem; }
  .seccao-desc { display: none; }
  .destaque-cipriano .cartao-txt { display: none; }
  .destaque-cipriano .grelha-cartoes { gap: .5rem; }
  .heroi-sobre { font-size: .95rem; letter-spacing: .1em; }
  .ferr { padding: .4rem .7rem; }
  .ferr[data-partilhar] span, .ferr[data-imprimir] span { display: none; }
}
@media (max-width: 420px) {
  .logo-sub { display: none; }
  .heroi-pesquisa button { padding: 0 .8rem; }
  .ant-seg { grid-template-columns: 1fr; }
  .ant-seg .seg { text-align: left; }
  .mes-dia { min-height: 64px; }
  .mes-dia .lua-svg { width: 24px; height: 24px; }
  .mes-fase { font-size: .62rem; }
}

/* ── Impressão (orações) ────────────────────────── */
@media print {
  .topo, .barra-app, .rodape, .ferramentas, .nota-pessoal, .bloco-mc, .relacionados, .ant-seg, .migalhas, .indice-artigo, .pesquisa-painel { display: none !important; }
  body { background: #fff; padding: 0; font-size: 12pt; }
  .caixa-oracao { border: 0; background: #fff; font-size: 14pt; }
  a { color: #000; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* v4 — cópia de segurança dos Guardados */
.copia-seguranca { margin: 2rem 0 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--linha, #e6d9b8); border-radius: 12px; background: var(--papel-2, #fffaf0); }
.copia-seguranca h2 { margin-top: 0; font-size: 1.25rem; }
.copia-botoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .8rem; }
.copia-botoes .btn { cursor: pointer; }

/* ═══ cursodetarot.pt — componentes próprios do curso (por cima do app.css do modelo) ═══ */

/* Heroi com leque de cartas */
.heroi-curso { padding-bottom: 2.6rem; }
.leque { position: relative; height: 250px; max-width: 420px; margin: .6rem auto 1.4rem; }
.leque img {
  position: absolute; left: 50%; bottom: 0; width: 128px; height: auto; aspect-ratio: 7/12;
  border-radius: 9px; border: 3px solid #fffaee;
  box-shadow: 0 10px 24px rgba(60, 30, 10, .28);
  transform-origin: 50% 115%; margin-left: -64px;
  transition: transform .4s ease;
}
.leque img:nth-child(1) { transform: rotate(-26deg) translateX(-8px); }
.leque img:nth-child(2) { transform: rotate(-13deg) translateY(-6px); }
.leque img:nth-child(3) { transform: translateY(-14px); z-index: 2; }
.leque img:nth-child(4) { transform: rotate(13deg) translateY(-6px); z-index: 1; }
.leque img:nth-child(5) { transform: rotate(26deg) translateX(8px); }
@media (hover: hover) { .leque:hover img:nth-child(3) { transform: translateY(-26px); } }

.cta-principal { font-size: 1.22rem; padding: .9rem 1.6rem; box-shadow: 0 6px 18px rgba(122, 16, 16, .28); }
.garantias { list-style: none; padding: 0; margin: 1rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; font-size: .95rem; color: var(--texto-2); }
.garantias li::before { content: "✓ "; color: var(--dourado-esc); font-weight: 700; }

/* Níveis */
.niveis { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.nivel {
  display: grid; grid-template-columns: 70px 1fr; gap: .9rem; align-items: center;
  background: var(--papel); border: 1px solid var(--linha); border-left: 4px solid var(--dourado);
  border-radius: 12px; padding: .9rem; box-shadow: var(--sombra); text-decoration: none; color: var(--texto);
}
.nivel img { width: 70px; border-radius: 6px; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(60, 30, 10, .2); }
.nivel-n { font-family: var(--f-titulo); font-variant: small-caps; letter-spacing: .1em; color: var(--dourado-esc); font-weight: 700; font-size: .95rem; }
.nivel-tit { font-family: var(--f-titulo); font-weight: 700; font-size: 1.25rem; color: var(--bordo); line-height: 1.2; }
.nivel-txt { font-size: .92rem; color: var(--texto-2); line-height: 1.45; margin-top: .15rem; }

/* Caixa de preço */
.preco {
  max-width: 34rem; margin: 0 auto; text-align: center;
  background: var(--papel); border: 2px solid var(--dourado); border-radius: 16px;
  padding: 1.8rem 1.4rem; box-shadow: var(--sombra); position: relative;
}
.preco::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--linha); border-radius: 12px; pointer-events: none; }
.preco-valor { font-family: var(--f-titulo); font-size: 3.4rem; font-weight: 700; color: var(--bordo); line-height: 1; margin: .4rem 0 .2rem; }
.preco-valor small { font-size: 1.4rem; }
.preco-nota { color: var(--texto-2); margin: 0 0 1rem; }
.preco ul { text-align: left; list-style: none; padding: 0; margin: 0 auto 1.3rem; max-width: 24rem; }
.preco li { padding: .35rem 0 .35rem 1.7rem; position: relative; border-bottom: 1px dashed var(--linha); }
.preco li::before { content: "✦"; position: absolute; left: .2rem; color: var(--dourado); }
.pagamentos { font-size: .88rem; color: var(--texto-2); margin: .8rem 0 0; }

/* Carta do dia (treino) */
.carta-dia {
  display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; align-items: center;
  background: var(--bordo); color: #fff7e2; border-radius: 16px; padding: 1.2rem; box-shadow: var(--sombra);
}
.carta-dia img { width: 110px; border-radius: 8px; border: 3px solid #f0d98f; }
.carta-dia h3 { color: #fff; margin: .1rem 0 .3rem; }
.carta-dia p { margin: 0 0 .8rem; font-size: .98rem; }
.carta-dia .sobre-titulo { color: #f0d98f; }
.carta-dia .btn-pri { background: var(--fundo); color: var(--bordo); }

/* Blog: cartão com imagem */
.cartao-img { padding: 0; overflow: hidden; border-left: 1px solid var(--linha); }
.cartao-img .capa { height: 140px; background: var(--papel-2) center 22% / cover no-repeat; border-bottom: 3px solid var(--dourado); }
.cartao-img .corpo { padding: .8rem 1rem 1rem; display: flex; flex-direction: column; gap: .25rem; }

/* ── Área do aluno ─────────────────────────────── */
.aluno-cab { background: var(--papel); border-bottom: 1px solid var(--linha); }
.aluno-cab-in { max-width: var(--largura); margin: 0 auto; padding: 1.2rem 1rem 1.1rem; }
.aluno-cab h1 { margin: .1rem 0 .5rem; font-size: clamp(1.7rem, 5vw, 2.3rem); }
.progresso { height: 12px; background: var(--papel-2); border: 1px solid var(--linha); border-radius: 99px; overflow: hidden; }
.progresso span { display: block; height: 100%; background: linear-gradient(90deg, var(--dourado), var(--bordo)); border-radius: 99px; }
.progresso-txt { display: flex; justify-content: space-between; font-size: .92rem; color: var(--texto-2); margin-top: .35rem; }

.curso-grelha { max-width: var(--largura); margin: 1.4rem auto; padding: 0 1rem; display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .curso-grelha { grid-template-columns: 22rem 1fr; align-items: start; } .licoes { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; } }

.continuar {
  display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center;
  background: var(--bordo); color: #fff7e2; border-radius: 12px; padding: .7rem .9rem; text-decoration: none; margin-bottom: 1rem;
}
.continuar img { width: 56px; border-radius: 5px; border: 2px solid #f0d98f; }
.continuar b { font-family: var(--f-titulo); font-size: 1.2rem; color: #fff; display: block; line-height: 1.2; }
.continuar small { color: #f0d98f; font-size: .85rem; }
.continuar .seta { font-size: 1.6rem; color: #f0d98f; }

.licoes { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; padding: .5rem; box-shadow: var(--sombra); }
.licoes-tit { font-family: var(--f-titulo); font-variant: small-caps; letter-spacing: .1em; color: var(--dourado-esc); font-weight: 700; padding: .4rem .6rem; margin: 0; }
.licao { display: grid; grid-template-columns: 40px 1fr 26px; gap: .7rem; align-items: center; padding: .45rem .6rem; border-radius: 8px; text-decoration: none; color: var(--texto); }
.licao img { width: 40px; border-radius: 4px; }
.licao b { font-family: var(--f-titulo); font-size: 1.1rem; color: var(--bordo); display: block; line-height: 1.15; }
.licao small { font-size: .82rem; color: var(--texto-2); }
.licao .estado { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; border: 2px solid var(--linha); color: transparent; }
.licao.vista .estado { background: var(--dourado); border-color: var(--dourado); color: #fff; }
.licao.atual { background: var(--papel-2); box-shadow: inset 3px 0 0 var(--bordo); }
.licao.bloq { opacity: .55; }
.licao.bloq .estado { color: var(--texto-2); border-color: transparent; }

/* Lição */
.licao-vista { background: var(--papel); border: 1px solid var(--linha); border-radius: 14px; padding: 1.2rem; box-shadow: var(--sombra); }
.licao-topo { display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .licao-topo { grid-template-columns: 220px 1fr; } }
.carta-grande { perspective: 900px; text-align: center; }
.carta-grande img { width: 100%; max-width: 220px; border-radius: 12px; border: 4px solid #fff; box-shadow: 0 12px 28px rgba(60, 30, 10, .3); transition: transform .6s ease; }
.carta-grande.invertida img { transform: rotate(180deg); }
.carta-acoes { display: flex; gap: .5rem; justify-content: center; margin-top: .8rem; flex-wrap: wrap; }
.btn-peq { font-family: var(--f-titulo); font-weight: 700; font-size: 1rem; padding: .45rem .9rem; border-radius: 99px; border: 2px solid var(--bordo); background: transparent; color: var(--bordo); cursor: pointer; min-height: 42px; }
.btn-peq[aria-pressed="true"] { background: var(--bordo); color: #fff; }
.palavras { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 1rem; padding: 0; list-style: none; }
.palavras li { background: var(--papel-2); border: 1px solid var(--linha); color: var(--bordo); border-radius: 99px; padding: .15rem .75rem; font-size: .9rem; font-weight: 600; }
.sentido { border-left: 4px solid var(--dourado); background: #fff; border-radius: 0 10px 10px 0; padding: .7rem 1rem; margin: .7rem 0; }
.sentido.inv { border-left-color: var(--bordo); }
.sentido h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.sentido p { margin: 0; }
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .7rem; margin: 1.2rem 0; }
.area { background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: .75rem .9rem; }
.area b { font-family: var(--f-titulo); color: var(--bordo); font-size: 1.1rem; display: flex; gap: .4rem; align-items: center; }
.area b svg { width: 20px; height: 20px; stroke: var(--dourado-esc); fill: none; stroke-width: 2; }
.area p { margin: .2rem 0 0; font-size: .95rem; color: var(--texto-2); line-height: 1.5; }
.licao-fim { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--linha); padding-top: 1rem; margin-top: 1rem; }

.barra-app { grid-template-columns: repeat(4, 1fr); }

/* ── Ajustes após prints ── */
.cartao-img .capa { height: 170px; background-size: auto 88%; background-position: center; background-color: var(--papel-2);
  background-image: none; position: relative; }
.cartao-img .capa img { position: absolute; left: 50%; top: 50%; height: 86%; transform: translate(-50%, -50%) rotate(-4deg); border-radius: 6px; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(60,30,10,.25); }
@media (min-width: 900px) {
  .leque { height: 330px; max-width: 560px; }
  .leque img { width: 170px; margin-left: -85px; }
}
@media (max-width: 899px) {
  .licoes { display: flex; gap: .5rem; overflow-x: auto; padding: .6rem; scroll-snap-type: x mandatory; }
  .licoes-tit { display: none; }
  .licao { grid-template-columns: 1fr; justify-items: center; text-align: center; min-width: 84px; padding: .4rem; scroll-snap-align: start; position: relative; gap: .25rem; }
  .licao img { width: 52px; }
  .licao b { font-size: .92rem; }
  .licao small { display: none; }
  .licao .estado { position: absolute; top: 2px; right: 8px; width: 20px; height: 20px; font-size: .7rem; }
  .licao.atual { box-shadow: inset 0 -3px 0 var(--bordo); }
  .licao-fim .btn { flex: 1 1 100%; }
  .licao-fim .btn-pri { order: -1; }
}
.curso-grelha > * { min-width: 0; }

/* ═══ cursodetarot.pt — componentes da área do aluno, formulários, testes, treino e admin ═══ */
.ic { vertical-align: -3px; }
.ja-aluno { margin: .7rem 0 0; font-size: .98rem; color: var(--texto-2); }
.avatar-mini { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--dourado); object-fit: cover; }

/* Alertas */
.alerta { max-width: var(--largura-texto); margin: 1rem auto; padding: .85rem 1.1rem; border-radius: 10px; border: 1px solid var(--linha); background: var(--papel); font-size: .98rem; }
main > .alerta { margin: 1rem; }
@media (min-width: 900px) { main > .alerta { margin: 1rem auto; } }
.alerta-ok { border-color: #9cc59f; background: #eef7ee; color: #1f5124; }
.alerta-erro { border-color: #e2a3a3; background: #fbeeee; color: #7a1010; }
.alerta-info { border-color: var(--dourado); background: #fcf5e1; color: #5a4512; }

/* Formulários */
.caixa-form { max-width: 30rem; margin: 2rem auto; padding: 1.6rem 1.3rem; background: var(--papel); border: 1px solid var(--linha); border-radius: 16px; box-shadow: var(--sombra); }
.caixa-form-larga { max-width: 40rem; }
.caixa-form h1 { font-size: clamp(1.8rem, 5vw, 2.3rem); margin: .1rem 0 .8rem; }
@media (max-width: 600px) { .caixa-form { margin: 1rem; padding: 1.3rem 1rem; } }
.form-intro { color: var(--texto-2); margin: 0 0 1rem; }
.form { display: flex; flex-direction: column; gap: .35rem; }
.form label { font-weight: 600; font-size: .98rem; margin-top: .55rem; }
.form label small { font-weight: 400; color: var(--texto-2); }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
  font: inherit; font-size: 1.02rem; color: var(--texto); background: #fff; width: 100%;
  padding: .72rem .9rem; border: 2px solid var(--linha); border-radius: 10px; min-height: 50px;
}
.form textarea { min-height: 120px; line-height: 1.55; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--bordo); outline: none; box-shadow: 0 0 0 3px rgba(122, 16, 16, .14); }
.form .btn { margin-top: 1rem; }
.duas-col { display: grid; gap: 0 .9rem; }
@media (min-width: 560px) { .duas-col { grid-template-columns: 1fr 1fr; } }
.duas-col > div { display: flex; flex-direction: column; gap: .35rem; }
.campo-senha { position: relative; }
.campo-senha input { padding-right: 3rem !important; }
.ver-senha { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.1rem; cursor: pointer; padding: .5rem; opacity: .7; }
.caixa-check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; }
.caixa-check input { width: 22px; height: 22px; margin-top: .2rem; accent-color: var(--bordo); flex-shrink: 0; }
.armadilha { position: absolute; left: -9999px; }
.form-links { text-align: center; margin: 1rem 0 0; }
.nota-legal { font-size: .9rem; color: var(--texto-2); margin: .8rem 0 0; }
.a-carregar { color: var(--texto-2); text-align: center; font-style: italic; }
.botoes-centro { justify-content: center; }
.faq { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; margin: .5rem 0; padding: 0 1rem; }
.faq summary { cursor: pointer; font-family: var(--f-titulo); font-weight: 700; font-size: 1.18rem; color: var(--bordo); padding: .75rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--dourado-esc); }
.faq[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 .9rem; }
.bloco .faq { max-width: var(--largura-texto); margin-left: auto; margin-right: auto; }

/* Passos (lista numerada) */
.passos-lista { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.passos-lista li { display: grid; grid-template-columns: 38px 1fr; gap: .8rem; align-items: start; background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: .75rem .9rem; }
.passo-num { width: 34px; height: 34px; border-radius: 50%; background: var(--bordo); color: #fff; display: grid; place-items: center; font-family: var(--f-titulo); font-weight: 700; font-size: 1.1rem; }
.passos-inicio { max-width: var(--largura-texto); margin-left: auto; margin-right: auto; }

/* Conteúdo das lições (migrado do curso antigo) */
.texto-licao { font-size: 1.02rem; }
.texto-licao h3 { margin-top: 1.4rem; }
.posicoes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .7rem; margin: 1rem 0; }
.posicao-card { background: #fff; border: 1px solid var(--linha); border-top: 3px solid var(--dourado); border-radius: 10px; padding: .75rem .9rem; }
.posicao-num { font-family: var(--f-titulo); font-variant: small-caps; letter-spacing: .08em; color: var(--dourado-esc); font-weight: 700; font-size: .92rem; }
.posicao-nome { font-family: var(--f-titulo); font-weight: 700; color: var(--bordo); font-size: 1.15rem; line-height: 1.2; }
.posicao-desc { font-size: .95rem; color: var(--texto-2); margin-top: .2rem; }
.valor-box, .caixa-estudo { background: #fcf5e1; border: 1px solid var(--dourado); border-left: 5px solid var(--dourado); border-radius: 10px; padding: .8rem 1rem; margin: 1.1rem 0; }
.valor-box p, .caixa-estudo p { margin: 0; }
.caixa-estudo .sobre-titulo { margin-bottom: .2rem; }
.badge-wrap { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.badge { background: var(--papel-2); border: 1px solid var(--linha); color: var(--bordo); border-radius: 99px; padding: .15rem .75rem; font-size: .88rem; font-weight: 600; }
.tiragem-header { display: flex; gap: .9rem; align-items: center; margin-bottom: .6rem; }
.tiragem-numero { width: 48px; height: 48px; border-radius: 50%; background: var(--bordo); color: #fff; display: grid; place-items: center; font-family: var(--f-titulo); font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }
.tiragem-titulo { font-family: var(--f-titulo); font-weight: 700; font-size: 1.3rem; color: var(--bordo); line-height: 1.2; }
.tiragem-subtitulo { color: var(--texto-2); font-size: .95rem; }
.exemplo-real, .exemplo-n4, .carta7-secao { background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 1rem 1.1rem; margin: 1rem 0; }
.exemplo-real-titulo, .exemplo-n4-titulo, .carta7-titulo { font-family: var(--f-titulo); font-weight: 700; color: var(--bordo); font-size: 1.2rem; margin-bottom: .3rem; }
.exemplo-pergunta, .exemplo-n4-pergunta { font-style: italic; color: var(--texto-2); margin-bottom: .5rem; }
.caminhos-grid, .carta7-grid { display: grid; gap: .7rem; margin: .8rem 0; }
@media (min-width: 640px) { .caminhos-grid, .carta7-grid { grid-template-columns: 1fr 1fr; } }
.caminho-a, .caminho-b, .carta7-item { background: var(--papel); border: 1px solid var(--linha); border-radius: 10px; padding: .75rem .9rem; }
.carta7-item-titulo { font-weight: 700; color: var(--bordo); }
.posicoes-lista { display: grid; gap: .6rem; margin: 1rem 0; }
.posicao-item { display: grid; grid-template-columns: 44px 1fr; gap: .8rem; align-items: start; background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: .75rem .9rem; }
.posicao-circulo { width: 40px; height: 40px; border-radius: 50%; background: var(--bordo); color: #fff; display: grid; place-items: center; font-family: var(--f-titulo); font-weight: 700; font-size: 1.2rem; }
.posicao-content h4 { margin: 0; font-size: 1.15rem; }
.posicao-content p { margin: .15rem 0 0; font-size: .96rem; color: var(--texto-2); }
.quote-assinatura { font-style: italic; border-left: 4px solid var(--dourado); padding: .4rem 0 .4rem 1rem; margin: 1rem 0; color: var(--texto-2); }
.selo { display: inline-block; background: var(--bordo); color: #fff; font-family: var(--f-titulo); font-weight: 700; padding: .2rem .8rem; border-radius: 99px; font-size: .95rem; margin-bottom: .6rem; }
.fases { display: grid; gap: .6rem; margin: 1rem 0; }
.fase { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; align-items: stretch; background: #fff; border: 1px solid var(--linha); border-radius: 10px; overflow: hidden; }
.fase-n { background: var(--bordo); color: #fff; display: grid; place-items: center; font-family: var(--f-titulo); font-weight: 700; font-size: 1.1rem; text-align: center; padding: .4rem; }
.fase > div { padding: .7rem .9rem .7rem 0; }
.fase strong { display: block; font-family: var(--f-titulo); color: var(--bordo); font-size: 1.15rem; }
.fase em { display: block; font-style: normal; color: var(--dourado-esc); font-weight: 600; font-size: .92rem; }
.fase p { margin: .2rem 0 0; font-size: .95rem; color: var(--texto-2); }
.naipe-info h3 { margin-top: 0; }
.progressao-naipe { margin: 1rem 0; }
.progressao-naipe-titulo { font-family: var(--f-titulo); font-weight: 700; color: var(--bordo); margin-bottom: .4rem; }
.progressao-linha { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; }
.progressao-passo { min-width: 78px; text-align: center; background: #fff; border: 1px solid var(--linha); border-radius: 8px; padding: .4rem .3rem; font-size: .82rem; line-height: 1.25; white-space: pre-line; }
.progressao-passo-num { font-family: var(--f-titulo); font-weight: 700; color: var(--bordo); font-size: 1.1rem; }
.corte-perfil { margin: .3rem 0; }
.corte-tags { display: flex; gap: .3rem; flex-wrap: wrap; }
.corte-tag { background: var(--papel-2); border-radius: 99px; padding: .05rem .6rem; font-size: .85rem; }

/* Lição — pormenores */
.aluno-cab-peq .aluno-cab-in { padding: .8rem 1rem .8rem; }
.aluno-cab .sobre-titulo a { color: inherit; text-decoration: none; }
.licao-h1 { font-size: clamp(1.9rem, 5.5vw, 2.5rem); margin: .1rem 0 .5rem; }
.nome-alt { margin: -.3rem 0 .6rem; color: var(--texto-2); font-style: italic; font-size: .95rem; }
.resumo-carta { font-family: var(--f-titulo); font-size: 1.25rem; color: var(--texto); margin: .2rem 0 .6rem; }
.licao-cab { display: flex; gap: 1rem; align-items: center; margin-bottom: .6rem; }
.licao-cab-carta { width: 84px; border-radius: 7px; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(60, 30, 10, .25); transform: rotate(-3deg); flex-shrink: 0; }
.licao-ic { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: var(--papel-2); color: var(--dourado-esc); }
.licao.aqui { background: var(--papel-2); box-shadow: inset 3px 0 0 var(--bordo); }
.licoes-lista .licao { padding: .45rem .6rem; }
.licao-fim span:empty { display: none; }
.carta-grande img.invertida, .invertida { transform: rotate(180deg); }
dialog.ampliar { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
dialog.ampliar::backdrop { background: rgba(20, 8, 8, .82); }
dialog.ampliar img { max-height: 90vh; width: auto; border-radius: 14px; display: block; }
.ampliar-fechar { position: absolute; top: .4rem; right: .4rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 1.2rem; cursor: pointer; }
@media (max-width: 899px) {
  .licoes-lista { display: block; overflow: visible; }
  .licoes-lista .licoes-tit { display: block; }
  .licoes-lista .licao { display: grid; grid-template-columns: 40px 1fr 26px; text-align: left; justify-items: stretch; min-width: 0; }
  .licoes-lista .licao small { display: inline; }
  .licoes-lista .licao .estado { position: static; width: 26px; height: 26px; }
  .licoes:not(.licoes-lista) .licoes-tit { display: none; }
  .licao.aqui { box-shadow: inset 0 -3px 0 var(--bordo); }
}

/* Tiragem prática */
.tiragem-pratica { border-top: 1px solid var(--linha); margin-top: 1.4rem; padding-top: 1rem; }
.tiragem-pratica h2 { margin-top: .2rem; }
.op-invertidas { display: flex; gap: .5rem; align-items: center; margin: .3rem 0 .9rem; font-size: .95rem; }
.op-invertidas input { width: 20px; height: 20px; accent-color: var(--bordo); }
.tiragem-cartas { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .7rem; margin: 1rem 0; }
.tiragem-cartas.muitas { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.tc { background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: .45rem; cursor: pointer; text-align: center; font: inherit; color: var(--texto); animation: surgir .45s ease both; display: flex; flex-direction: column; gap: .3rem; align-items: center; }
.tc.sel { border-color: var(--bordo); box-shadow: 0 0 0 2px var(--bordo); }
.tc img { width: 100%; max-width: 120px; border-radius: 6px; transition: transform .4s; }
.tc-pos { font-size: .78rem; color: var(--dourado-esc); font-weight: 700; line-height: 1.2; min-height: 2.4em; }
.tc-nome { font-family: var(--f-titulo); font-weight: 700; color: var(--bordo); font-size: 1rem; line-height: 1.15; }
.tc-detalhe { background: #fcf5e1; border: 1px solid var(--dourado); border-radius: 10px; padding: .8rem 1rem; }
.tc-detalhe h3 { margin: 0 0 .3rem; }
@keyframes surgir { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* Teste */
.teste { margin-top: 1.4rem; }
.pergunta { border: 1px solid var(--linha); background: var(--papel); border-radius: 12px; padding: .9rem 1rem 1rem; margin: 0 0 1rem; }
.pergunta legend { float: left; width: 100%; margin-bottom: .2rem; font-family: var(--f-titulo); font-weight: 700; font-size: 1.2rem; color: var(--texto); padding: 0 .3rem; line-height: 1.3; }
.pergunta-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bordo); color: #fff; font-size: 1rem; margin-right: .3rem; }
.pergunta legend + * { clear: both; }
.opcao { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .8rem; border: 2px solid var(--linha); border-radius: 10px; margin-top: .5rem; background: #fff; cursor: pointer; }
.opcao:has(input:checked) { border-color: var(--bordo); background: #fbeeee; }
.opcao input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--bordo); flex-shrink: 0; }
.resultado { text-align: center; background: var(--papel); border: 2px solid var(--linha); border-radius: 16px; padding: 1.6rem 1.2rem; margin: 0 0 1.4rem; }
.resultado.aprovado { border-color: #7bb07f; }
.resultado.reprovado { border-color: #d49a9a; }
.res-grande { font-family: var(--f-titulo); font-size: 3.2rem; font-weight: 700; color: var(--bordo); margin: 0; line-height: 1; }
.resultado h2 { margin: .4rem 0 .5rem; }
.correcao { padding-left: 1.3rem; }
.correcao li { margin: 0 0 .8rem; }
.correcao b { display: block; }
.correcao span { display: block; font-size: .95rem; }
.correcao .ok span { color: #1f5124; }
.correcao .falha span { color: #7a1010; }
.correcao .certa { color: #1f5124 !important; }
.opcoes-aval { border: 0; padding: 0; margin: .4rem 0 .6rem; display: grid; gap: .6rem; }
.opcao-aval { display: flex !important; gap: .7rem; align-items: flex-start; border: 2px solid var(--linha); border-radius: 12px; padding: .8rem; background: #fff; font-weight: 400 !important; margin: 0 !important; cursor: pointer; }
.opcao-aval:has(input:checked) { border-color: var(--bordo); }
.opcao-aval input { width: 20px; height: 20px; margin-top: .25rem; accent-color: var(--bordo); }
.opcao-aval b { display: block; font-family: var(--f-titulo); color: var(--bordo); font-size: 1.12rem; }
.contador { font-size: .88rem; color: var(--texto-2); margin: 0; }
.texto-enviado { background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: .8rem 1rem; text-align: left; white-space: normal; max-height: 26rem; overflow: auto; }

/* Curso: painel */
.niveis-grandes { margin-bottom: 1.6rem; }
.nivel-bloq { opacity: .62; }
.nivel-feito { border-left-color: #6a9a5c; }
.progresso-mini { height: 7px; margin-top: .45rem; }
.grelha-atalhos { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .9rem; margin-top: 1.4rem; }
.cartao-teste { text-align: center; }
.cartao-teste h2 { margin-top: .2rem; }
.bloco > .continuar { max-width: 36rem; }

/* Pagamento */
.resumo-compra { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: .8rem; margin: .4rem 0 1.2rem; }
.resumo-compra img { width: 56px; border-radius: 5px; }
.resumo-compra b { display: block; font-family: var(--f-titulo); color: var(--bordo); font-size: 1.1rem; line-height: 1.2; }
.resumo-compra span { font-size: .88rem; color: var(--texto-2); }
.resumo-valor { font-family: var(--f-titulo); font-size: 1.6rem; color: var(--bordo); white-space: nowrap; }
@media (max-width: 480px) { .resumo-compra { grid-template-columns: 48px 1fr; } .resumo-valor { grid-column: 1 / -1; text-align: right; } }
.metodo { border: 1px solid var(--linha); background: #fff; border-radius: 12px; padding: 1rem 1.1rem; margin: 0 0 1rem; }
.metodo h2 { margin: 0 0 .4rem; font-size: 1.35rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.metodo-destaque { border: 2px solid var(--dourado); }
.etiqueta { font-family: var(--f-texto); font-size: .78rem; font-weight: 700; background: #eef7ee; color: #1f5124; border-radius: 99px; padding: .15rem .6rem; }
#paypal-botoes { min-height: 60px; margin-top: .6rem; }
#paypal-botoes.a-processar { opacity: .5; pointer-events: none; }
.pagamento-ok { background: #eef7ee; color: #1f5124; border-radius: 10px; padding: .8rem; font-weight: 700; text-align: center; }
.dados-mb { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: .5rem 0; }
.dados-mb dt { color: var(--texto-2); }
.dados-mb dd { margin: 0; font-weight: 700; font-family: var(--f-titulo); font-size: 1.15rem; }
.copiavel { font-size: 1.15rem; letter-spacing: .03em; }

/* Perfil */
.perfil-cab { display: flex; gap: 1rem; align-items: center; }
.avatar { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--dourado); object-fit: cover; flex-shrink: 0; }
.avatar-letra { display: grid; place-items: center; background: var(--bordo); color: #fff; font-family: var(--f-titulo); font-size: 2.4rem; font-weight: 700; }
.perfil-sub { margin: 0; color: var(--texto-2); font-size: .95rem; }
.perfil-grelha { display: grid; gap: 1rem; }
@media (min-width: 900px) { .perfil-grelha { grid-template-columns: 1fr 1fr; } }
.perfil-grelha h2 { margin-top: .2rem; font-size: 1.45rem; }
.linha-nivel { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--linha); }
.linha-nivel.bloq { opacity: .6; }
.linha-nivel + .btn { margin-top: 1rem; }
.perfil-fim { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.4rem; }

/* Treino */
.sequencia { margin: 0; font-size: 1.05rem; }
.treino { display: grid; gap: 1.6rem; }
.carta-do-dia { display: flex; flex-direction: column; align-items: center; text-align: center; }
.virar { width: min(260px, 70vw); aspect-ratio: 280 / 480; perspective: 1200px; cursor: pointer; outline-offset: 6px; }
.virar-in { position: relative; width: 100%; height: 100%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.virar.virada .virar-in { transform: rotateY(180deg); }
.virar-verso, .virar-frente { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.virar-frente { transform: rotateY(180deg); }
.virar img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 30px rgba(60, 30, 10, .3); }
.virar:not(.virada) .virar-verso img { animation: pulsar 2.4s ease-in-out infinite; }
@keyframes pulsar { 50% { transform: translateY(-6px); box-shadow: 0 20px 36px rgba(122, 16, 16, .35); } }
.toca { color: var(--texto-2); font-style: italic; margin: .8rem 0 0; }
.significado-dia { max-width: var(--largura-texto); margin-top: 1rem; }
.significado-dia h2 { margin: .2rem 0 .3rem; }
.flashcards { max-width: var(--largura-texto); margin: 0 auto; width: 100%; }
.flash-area { display: flex; flex-direction: column; align-items: center; gap: .8rem; background: var(--papel); border: 1px solid var(--linha); border-radius: 16px; padding: 1.2rem 1rem; min-height: 120px; justify-content: center; }
.flash-n { margin: 0; font-size: .92rem; color: var(--texto-2); }
.flash-carta { width: 180px; aspect-ratio: 280 / 418; overflow: hidden; border-radius: 10px; box-shadow: 0 8px 20px rgba(60, 30, 10, .25); }
.flash-carta img { width: 100%; height: auto; display: block; }
.flash-ops { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; max-width: 30rem; }
.opcao-flash { font-family: var(--f-titulo); font-weight: 700; font-size: 1.05rem; padding: .7rem .5rem; min-height: 54px; border-radius: 10px; border: 2px solid var(--linha); background: #fff; color: var(--bordo); cursor: pointer; }
.opcao-flash.certa { background: #eef7ee; border-color: #6a9a5c; color: #1f5124; }
.opcao-flash.errada { background: #fbeeee; border-color: #c07070; }
.flash-fim { text-align: center; }
.historico { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .5rem; }
.historico figure { margin: 0; text-align: center; min-width: 90px; font-size: .82rem; color: var(--texto-2); }
.historico img { width: 90px; border-radius: 6px; }
.medalhas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .6rem; }
.medalhas li { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; padding: .7rem; text-align: center; opacity: .55; }
.medalhas li.ganha { opacity: 1; border-color: var(--dourado); background: #fcf5e1; }
.medalhas span { font-size: 1.5rem; color: var(--dourado-esc); display: block; }
.medalhas b { display: block; font-family: var(--f-titulo); color: var(--bordo); }
.medalhas small { font-size: .8rem; color: var(--texto-2); }

/* Blog e artigos */
.heroi-blog { padding-bottom: 1.6rem; }
.chip { display: inline-flex; gap: .3rem; align-items: center; }
.chip.ativo { background: var(--bordo); color: #fff; border-color: var(--bordo); }
.chips-esq { justify-content: flex-start; margin: 0 0 1rem; }
.resultados-txt { color: var(--texto-2); }
.vazio { text-align: center; padding: 2rem 1rem; color: var(--texto-2); }
.vazio img { border-radius: 8px; opacity: .85; }
.artigo-carta { float: right; width: 150px; margin: .3rem 0 1rem 1.2rem; text-align: center; }
.artigo-carta img { width: 100%; border-radius: 10px; box-shadow: 0 8px 18px rgba(60, 30, 10, .25); }
.artigo-carta figcaption { font-size: .85rem; color: var(--texto-2); }
@media (max-width: 600px) { .artigo-carta { width: 110px; } }
.artigo-lead { font-size: 1.12rem; color: var(--texto-2); }
.grid-servicos { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin: 1rem 0; }
.card-servico { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; padding: 1rem; }
.card-servico h3 { margin-top: 0; }
.carta-404 { display: block; margin: 0 auto 1rem; border-radius: 8px; }
.validar-ok { text-align: center; background: #eef7ee; border: 1px solid #9cc59f; border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.validar-ok .res-grande { color: #1f5124; }
.validar-ok .dados-mb { text-align: left; }

/* Diploma */
.diploma-pg { text-align: center; }
#diploma { width: 100%; max-width: 1000px; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(60, 30, 10, .3); background: var(--papel-2); }

/* Instalar a app e mensagens */
.caixa-instalar { position: fixed; left: .8rem; right: .8rem; bottom: calc(var(--barra-app) + env(safe-area-inset-bottom) + .8rem); z-index: 60; background: var(--papel); border: 2px solid var(--dourado); border-radius: 14px; box-shadow: 0 10px 30px rgba(60, 30, 10, .3); padding: .9rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; max-width: 30rem; margin: 0 auto; }
.caixa-instalar[hidden] { display: none; }
.caixa-instalar p { margin: 0; flex: 1 1 100%; font-size: .95rem; }
.caixa-instalar p strong { display: block; font-family: var(--f-titulo); color: var(--bordo); font-size: 1.1rem; }
@media (min-width: 900px) { .caixa-instalar { bottom: 1rem; left: auto; right: 1rem; } }
.mensagem-curta { position: fixed; left: 50%; bottom: calc(var(--barra-app) + 1.2rem); transform: translateX(-50%); background: #1a1a1a; color: #fff; padding: .6rem 1.1rem; border-radius: 99px; z-index: 80; font-size: .95rem; transition: opacity .4s; }
.mensagem-curta.sair { opacity: 0; }

/* Administração */
.adm { max-width: var(--largura); margin: 1.2rem auto 2rem; padding: 0 1rem; }
.adm h1 { font-size: 2rem; margin: .8rem 0; }
.adm h2 { font-size: 1.4rem; margin: 1.6rem 0 .6rem; }
.adm-menu { display: flex; gap: .3rem; overflow-x: auto; border-bottom: 2px solid var(--linha); padding-bottom: .3rem; }
.adm-menu a { white-space: nowrap; text-decoration: none; padding: .45rem .8rem; border-radius: 8px; font-weight: 600; color: var(--texto-2); }
.adm-menu a[aria-current] { background: var(--bordo); color: #fff; }
.adm-badge { background: #c0392b; color: #fff; border-radius: 99px; padding: 0 .45rem; font-size: .78rem; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .7rem; }
.adm-stat, .adm-niveis > div { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; padding: .8rem 1rem; }
.adm-stat b, .adm-niveis b { display: block; font-family: var(--f-titulo); font-size: 1.9rem; color: var(--bordo); line-height: 1.1; }
.adm-stat span, .adm-niveis span { font-size: .88rem; color: var(--texto-2); }
.adm-niveis { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .7rem; }
.adm-tabela { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--linha); border-radius: 10px; overflow: hidden; font-size: .95rem; display: block; overflow-x: auto; }
.adm-tabela th, .adm-tabela td { padding: .55rem .7rem; border-bottom: 1px solid var(--linha); text-align: left; vertical-align: top; }
.adm-tabela th { background: var(--papel-2); font-size: .85rem; }
.adm-tabela tr.inativa { opacity: .5; }
.adm-filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.adm-filtros input, .adm-filtros select, .adm-inline select, .adm-inline input { font: inherit; padding: .55rem .7rem; border: 2px solid var(--linha); border-radius: 8px; background: #fff; min-height: 46px; }
.adm-filtros input { flex: 1 1 14rem; }
.adm-inline { display: inline-flex; gap: .4rem; align-items: center; margin: 0; }
.adm-cartao { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; padding: 1rem; margin: 0 0 .9rem; }
.adm-sub { color: var(--texto-2); }
.adm-lista { padding-left: 1.2rem; }
.adm-perigo { margin-top: 2rem; border: 1px solid #d49a9a; border-radius: 10px; padding: .6rem 1rem; }
.adm-perigo summary { cursor: pointer; color: #8f1d1d; font-weight: 700; }
.etq { display: inline-block; font-size: .8rem; border-radius: 99px; padding: .05rem .55rem; background: var(--papel-2); white-space: nowrap; }
.etq-aprovado, .etq-publicado { background: #eef7ee; color: #1f5124; }
.etq-pendente, .etq-rascunho { background: #fcf5e1; color: #5a4512; }
.etq-bloqueado, .etq-oculto { background: #fbeeee; color: #7a1010; }
.editor-barra { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.editor-barra button { font: inherit; font-size: .88rem; padding: .35rem .7rem; border: 1px solid var(--linha); border-radius: 6px; background: #fff; cursor: pointer; }
.editor-texto { font-family: ui-monospace, Menlo, Consolas, monospace !important; font-size: .92rem !important; }
.pg-admin .barra-app { display: none; }
.pg-admin { padding-bottom: 0; }
@media print { .ferramentas, .caixa-instalar { display: none !important; } }
@media (min-width: 900px) { .adm-tabela { display: table; } }

/* Rodapé: 2 colunas no telemóvel, 5 no computador (v2) */
.rodape-in { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
.rodape-marca { grid-column: 1 / -1; }
.rodape-col a { overflow-wrap: anywhere; }
@media (min-width: 900px) { .rodape-in { grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; } .rodape-marca { grid-column: auto; } }

/* Paginação do blog (v3) */
.paginacao { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin: 1.6rem 0 .4rem; }
.pag-nums { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem; }
.pag-num, .pag-seta { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 .75rem; border-radius: 10px; border: 2px solid var(--linha); background: var(--papel); color: var(--bordo); text-decoration: none; font-family: var(--f-titulo); font-weight: 700; font-size: 1.1rem; }
.pag-num:hover, .pag-seta:hover { border-color: var(--bordo); color: var(--bordo-esc); }
.pag-num.atual { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.pag-seta.desligada { opacity: .4; }
.pag-reticencias { color: var(--texto-2); padding: 0 .1rem; }
.pag-info { text-align: center; color: var(--texto-2); font-size: .92rem; margin: .3rem 0 0; }
@media (max-width: 600px) {
  .paginacao { gap: .4rem; }
  .pag-nums { order: -1; width: 100%; }
  .pag-seta { flex: 1 1 40%; }
}
