/* Missantos — estilo do site (v2, "céu de aquarela")
   Marca: creme #FDF6E7 · contorno #7A4E24 · azul profundo #23507E · auréola #E8A93C · brilho #FFD98A
   Elementos próprios: o nicho em arco (a imagem de santo na igreja), o santinho com moldura dourada,
   a auréola que marca o que já está no ar, as nuvens que separam as seções e o céu estrelado no rodapé. */

:root {
  --papel: #FFF8EC;
  --papel-2: #FBEFD9;
  --cartao: #FFFDF8;
  --tinta: #33210F;
  --tinta-2: #74502E;
  --tinta-3: #9A7A58;
  --azul: #23507E;
  --azul-noite: #16345A;
  --ceu: #DCEAF6;
  --ceu-2: #C4DCF0;
  --ouro: #E8A93C;
  --ouro-claro: #FFD98A;
  --ouro-fundo: #FDEBC4;
  --linha: #EAD9BC;
  --sombra: 90 60 20;
  --whats: #1F7A4D;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --texto: "Alegreya", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  --largura: 1160px;
  --arco: 50% 50% 18px 18px / 34% 34% 18px 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papel: #0F2138; --papel-2: #15304F; --cartao: #183556;
    --tinta: #FBF1DE; --tinta-2: #E7CB95; --tinta-3: #B9A07C;
    --azul: #A9CBEF; --azul-noite: #0A1728; --ceu: #132A4A; --ceu-2: #1B3A62;
    --ouro: #F2BD55; --ouro-claro: #FFD98A; --ouro-fundo: #3A3322; --linha: #274A74;
    --sombra: 0 0 0; --whats: #3FAF78;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papel: #0F2138; --papel-2: #15304F; --cartao: #183556;
  --tinta: #FBF1DE; --tinta-2: #E7CB95; --tinta-3: #B9A07C;
  --azul: #A9CBEF; --azul-noite: #0A1728; --ceu: #132A4A; --ceu-2: #1B3A62;
  --ouro: #F2BD55; --ouro-claro: #FFD98A; --ouro-fundo: #3A3322; --linha: #274A74;
  --sombra: 0 0 0; --whats: #3FAF78;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font-family: var(--texto); font-size: 19px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); color: var(--tinta); margin: 0; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
p { margin: 0; }
.miolo { max-width: var(--largura); margin-inline: auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.apoio { color: var(--tinta-2); font-size: 1.1rem; max-width: 58ch; }
.detalhe { font-family: var(--display); font-weight: 600; color: var(--tinta-2); font-size: 1rem; line-height: 1.3; }

/* ---------- nuvens entre as seções ---------- */
.nuvens-baixo, .nuvens-cima { position: relative; }
.nuvens-baixo::after, .nuvens-cima::before {
  content: ""; position: absolute; left: 0; right: 0; height: 44px; pointer-events: none; z-index: 1;
  background:
    radial-gradient(circle at 30px 44px, var(--prox) 29px, transparent 30px) 0 0 / 88px 44px repeat-x,
    radial-gradient(circle at 44px 44px, var(--prox) 40px, transparent 41px) 44px 6px / 88px 44px repeat-x;
}
.nuvens-baixo::after { bottom: -1px; }
.nuvens-cima::before { top: -43px; }

/* ---------- cabeçalho ---------- */
.topo {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--papel) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--linha) 70%, transparent);
}
.topo .miolo { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
.marca img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ouro-claro); }
.marca span { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .01em; }
.menu { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.menu a { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--tinta); text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.menu a:hover { background: var(--papel-2); }
.menu .yt { display: inline-flex; align-items: center; gap: 8px; background: #C4302B; color: #fff; padding: 7px 16px; margin-left: 6px; }
.menu .yt:hover { background: #A52622; }
.menu .yt svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .menu a:not(.yt) { display: none; } }

/* ---------- botões ---------- */
.botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1;
  padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.botao:hover { transform: translateY(-2px); }
.botao svg { width: 21px; height: 21px; flex: none; }
.botao-ouro { background: var(--ouro); color: #33210F; box-shadow: 0 4px 0 #B87E1E; }
.botao-ouro:hover { box-shadow: 0 6px 0 #B87E1E; }
.botao-azul { background: #23507E; color: #FFF8EC; box-shadow: 0 4px 0 #173A5E; }
.botao-azul:hover { box-shadow: 0 6px 0 #173A5E; }
.botao-claro { background: var(--cartao); color: var(--tinta); box-shadow: inset 0 0 0 2px var(--linha); }
.botao-whats { background: var(--whats); color: #fff; box-shadow: 0 4px 0 #135234; }

/* ---------- auréola ---------- */
.aureola {
  position: absolute; left: 50%; top: -12px; translate: -50% 0; width: 46%; aspect-ratio: 4 / 1; border-radius: 50%;
  border: 5px solid var(--ouro); box-shadow: 0 0 0 2px rgb(255 217 138 / .6), 0 0 22px 4px rgb(255 217 138 / .75);
  z-index: 2; pointer-events: none;
}
.em-breve .aureola { border: 3px dashed var(--tinta-3); box-shadow: none; opacity: .7; }

/* ---------- início: abertura ---------- */
.abertura {
  --prox: var(--papel);
  background: radial-gradient(ellipse 70% 60% at 50% 30%, #FFFBEF 0%, #FCEFD2 55%, #F8E1B6 100%);
  padding-top: 44px; text-align: center; overflow: hidden;
}
.abertura .miolo { display: grid; justify-items: center; gap: 18px; position: relative; z-index: 2; }
.abertura .logo { width: min(500px, 84%); }
.abertura h1 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; color: #33210F; max-width: 26ch; letter-spacing: 0; line-height: 1.18; }
.abertura .botoes { justify-content: center; }
.abertura .ceu {
  display: block; width: 100%; max-width: 1500px; margin: 8px auto 0; aspect-ratio: 2000 / 815; object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%); mask-image: linear-gradient(to bottom, transparent 0%, #000 16%);
}
@media (max-width: 640px) {
  .abertura .ceu { width: 160%; max-width: none; margin-left: -30%; aspect-ratio: 2000 / 950; margin-top: 8px; }
}

/* ---------- festa chegando ---------- */
.festa { padding-block: 64px 72px; }
.festa .miolo { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.festa .corpo { display: grid; gap: 16px; justify-items: start; }
.festa .quando { display: flex; align-items: center; gap: 16px; }
.festa h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.festa .falta { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--azul); }
@media (max-width: 720px) { .festa .miolo { grid-template-columns: 1fr; gap: 28px; } .festa .nicho-grande { max-width: 240px; justify-self: center; width: 100%; } }

/* nicho em arco (a imagem de santo na igreja) */
.nicho-grande { position: relative; padding-top: 14px; }
.nicho-grande .moldura {
  border-radius: var(--arco); padding: 8px;
  background: linear-gradient(160deg, #FFE3A0, #E8A93C 45%, #C98A22 100%);
  box-shadow: 0 22px 44px rgb(var(--sombra) / .22);
}
.nicho-grande img { border-radius: var(--arco); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nicho-grande .aureola { top: -4px; width: 40%; }

/* folhinha (o calendário de parede) */
.folhinha {
  display: inline-grid; justify-items: center; width: 62px; flex: none; border-radius: 12px; overflow: hidden;
  background: var(--cartao); box-shadow: 0 2px 0 var(--linha), 0 6px 14px rgb(var(--sombra) / .14);
  font-family: var(--display); line-height: 1;
}
.folhinha .mes { width: 100%; text-align: center; background: #23507E; color: #FFF8EC; font-size: .78rem; font-weight: 700; letter-spacing: .1em; padding: 6px 0 5px; }
.folhinha .dia { font-size: 1.85rem; font-weight: 800; color: var(--tinta); padding: 7px 0 6px; }

/* ---------- os santos ---------- */
.santos { --prox: var(--papel); background: var(--ceu); padding-block: 40px 100px; }
.santos::before, .outros::before { --prox: var(--ceu); }
.santos-cabeca { display: grid; gap: 10px; margin-bottom: 44px; justify-items: center; text-align: center; }
.grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 980px) { .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grade { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

/* o santinho */
.santinho {
  position: relative; display: grid; gap: 14px; padding: 14px 14px 20px; text-decoration: none; color: var(--tinta);
  background: var(--cartao); border-radius: 22px;
  box-shadow: 0 1px 0 var(--linha), 0 14px 30px rgb(var(--sombra) / .12);
  transition: transform .25s ease, box-shadow .25s ease;
}
a.santinho:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 1px 0 var(--linha), 0 22px 40px rgb(var(--sombra) / .2); }
a.santinho:hover .aureola { box-shadow: 0 0 0 2px rgb(255 217 138 / .8), 0 0 34px 10px rgb(255 217 138 / .9); }
.santinho .nicho { position: relative; padding-top: 10px; }
.santinho .moldura { border-radius: var(--arco); padding: 5px; background: linear-gradient(160deg, #FFE3A0, #E8A93C 50%, #C98A22); }
.santinho .moldura img { border-radius: var(--arco); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.santinho.em-breve .moldura { background: var(--linha); }
.santinho.em-breve .moldura img { filter: saturate(.5); opacity: .85; }
.santinho .selo {
  position: absolute; right: 10px; bottom: 12px; z-index: 2; font-family: var(--display); font-weight: 700; font-size: .92rem;
  padding: 5px 12px; border-radius: 999px; background: #FFF8EC; color: #33210F; box-shadow: 0 2px 8px rgb(0 0 0 / .18);
}
.santinho .selo.no-ar { background: #C4302B; color: #fff; }
.santinho .texto { display: grid; gap: 4px; text-align: center; padding-inline: 6px; }
.santinho h3 { font-size: 1.5rem; }
.santinho .musica { font-family: var(--display); font-weight: 600; color: var(--azul); font-size: 1.08rem; line-height: 1.2; }
.santinho .lema-virtude { font-style: italic; color: var(--tinta-2); font-size: 1.02rem; line-height: 1.4; }
.santinho .festa-dia { font-family: var(--display); font-weight: 600; color: var(--tinta-3); font-size: .95rem; }

/* ---------- kit do catequista ---------- */
.kit { padding-block: 96px 80px; }
.kit .miolo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.menina { position: relative; justify-self: center; width: min(360px, 100%); }
.menina::before {
  content: ""; position: absolute; inset: 8% -6% 2% -6%; border-radius: 48% 52% 44% 56% / 55% 50% 50% 45%;
  background: #FBEFD9;
}
.menina img { position: relative; mix-blend-mode: multiply; }
.kit .corpo { display: grid; gap: 22px; }
.itens { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.itens li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; }
.itens .icone { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ouro-fundo); color: var(--tinta-2); }
.itens .icone svg { width: 27px; height: 27px; }
.itens h3 { font-size: 1.2rem; margin-bottom: 2px; }
.itens p { color: var(--tinta-2); font-size: 1.02rem; line-height: 1.45; }
.contato { font-size: 1.05rem; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.copiar { font-family: var(--display); font-weight: 700; font-size: .92rem; border: 0; box-shadow: inset 0 0 0 1.5px var(--linha); background: var(--cartao); color: var(--tinta); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
@media (max-width: 860px) { .kit .miolo { grid-template-columns: 1fr; gap: 36px; } .menina { width: min(240px, 70%); } }
@media (max-width: 560px) { .itens { grid-template-columns: 1fr; } }

/* ---------- sobre ---------- */
.sobre { background: var(--papel-2); padding-block: 88px 96px; }
.sobre .miolo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 60px; align-items: center; }
.sobre .texto { display: grid; gap: 20px; }
.sobre .texto > p { font-size: 1.14rem; max-width: 60ch; }
.pilares { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 16px; }
.pilares li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 1.08rem; }
.pilares li::before {
  content: ""; width: 34px; height: 12px; margin-top: 8px; border-radius: 50%;
  border: 3px solid var(--ouro); box-shadow: 0 0 10px rgb(255 217 138 / .9);
}
.pilares strong { font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.sobre .assinatura { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--tinta-2); }
.sobre .retrato { position: relative; max-width: 320px; justify-self: center; padding-top: 16px; }
.sobre .retrato img { border-radius: 50%; box-shadow: 0 18px 40px rgb(var(--sombra) / .22); }
.sobre .retrato .aureola { top: 0; width: 56%; }
@media (max-width: 860px) { .sobre .miolo { grid-template-columns: 1fr; gap: 36px; } .sobre .retrato { order: -1; max-width: 200px; } }

/* ---------- rodapé: o céu à noite ---------- */
.rodape {
  --prox: #16345A; position: relative; color: #FBF1DE;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, #FFE9B0 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 60%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 30%, #FFD98A 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 18%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 86% 52%, #FFD98A 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 80%, #fff 50%, transparent 51%),
    linear-gradient(#16345A, #0C2240);
  padding-block: 64px 64px;
}
.rodape::before { --prox: #16345A; }
.rodape .miolo { display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; align-items: center; }
.rodape .logo { width: 220px; }
.rodape .lema { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #FFD98A; line-height: 1.05; }
.rodape nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.rodape nav a { font-family: var(--display); font-weight: 600; color: #FBF1DE; text-decoration: none; font-size: 1.05rem; }
.rodape nav a:hover { color: #FFD98A; }
.rodape .miudo { grid-column: 1 / -1; color: #B9C8DD; font-size: .95rem; border-top: 1px solid rgb(255 255 255 / .12); padding-top: 20px; }
@media (max-width: 640px) { .rodape .miolo { grid-template-columns: 1fr; } }

/* ======================= página do santo ======================= */
.santo-topo { --prox: var(--papel); background: linear-gradient(180deg, var(--ceu) 0%, var(--ceu) 55%, var(--papel) 100%); padding-block: 36px 84px; }
.santo-topo .miolo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.santo-topo .texto { display: grid; gap: 18px; justify-items: start; }
.trilha { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--tinta-2); }
.trilha a { color: var(--tinta-2); }
.santo-topo .musica { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 1.9rem); color: var(--azul); line-height: 1.15; }
.santo-topo .chamada { font-size: 1.2rem; max-width: 44ch; }
.linha-festa { display: flex; align-items: center; gap: 14px; }
.virtude { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; background: var(--ouro-fundo); border-radius: 18px; padding: 10px 18px; }
.virtude span { font-family: var(--display); font-weight: 600; color: var(--tinta-2); font-size: 1rem; }
.virtude strong { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.santo-topo .nicho-grande { max-width: 420px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .santo-topo .miolo { grid-template-columns: 1fr; gap: 30px; } .santo-topo .nicho-grande { order: -1; max-width: 280px; } }

.indice { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 20; background: color-mix(in srgb, var(--papel) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.indice .miolo { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.indice a { flex: none; font-family: var(--display); font-weight: 700; font-size: 1.02rem; text-decoration: none; color: var(--tinta-2); padding: 7px 16px; border-radius: 999px; }
.indice a:hover { color: var(--tinta); background: var(--papel-2); }
.indice a.ativo { background: var(--ouro-fundo); color: var(--tinta); box-shadow: inset 0 0 0 2px var(--ouro); }

.bloco { padding-block: 72px; }
.bloco + .bloco { border-top: 1px dashed var(--linha); }
.bloco > .miolo { display: grid; gap: 28px; }
.cabeca { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 28px; }
.cabeca > div { display: grid; gap: 8px; }

/* assistir */
.video { position: relative; display: block; border-radius: 26px; overflow: hidden; background: #0C2240; aspect-ratio: 16 / 9; box-shadow: 0 24px 50px rgb(var(--sombra) / .22); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video:hover img { transform: scale(1.02); }
.video .play { position: absolute; inset: 0; margin: auto; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 248 236 / .95); box-shadow: 0 0 0 10px rgb(255 217 138 / .45), 0 10px 30px rgb(0 0 0 / .35); }
.video .play svg { width: 40px; height: 40px; fill: #C4302B; margin-left: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.notas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.nota { background: var(--papel-2); border-radius: 22px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.nota h3 { font-size: 1.2rem; }
@media (max-width: 760px) { .notas { grid-template-columns: 1fr; } }

/* letra */
.letra { columns: 2 330px; column-gap: 60px; }
.estrofe { break-inside: avoid; margin: 0 0 28px; }
.estrofe .parte { display: block; font-family: var(--display); font-weight: 700; color: var(--tinta-3); font-size: 1rem; margin-bottom: 4px; }
.estrofe p { font-size: 1.14rem; line-height: 1.65; }
.estrofe.refrao { position: relative; background: var(--ouro-fundo); border-radius: 22px; padding: 18px 22px 20px; box-shadow: inset 0 0 0 2px var(--ouro); }
.estrofe.refrao .parte { color: var(--tinta-2); }
.estrofe.refrao p { font-family: var(--display); font-weight: 600; font-size: 1.16rem; line-height: 1.5; }

/* cifra */
.cifra-controles { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tom { display: inline-flex; align-items: center; gap: 4px; background: var(--papel-2); border-radius: 999px; padding: 5px; }
.tom button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cartao); color: var(--tinta); font-family: var(--display); font-weight: 800; font-size: 1.35rem; cursor: pointer; line-height: 1; box-shadow: 0 1px 0 var(--linha); }
.tom output { min-width: 110px; text-align: center; font-family: var(--display); font-weight: 700; }
.tom output b { color: var(--azul); font-size: 1.2rem; }
.link-discreto { background: none; border: 0; color: var(--azul); font-family: var(--display); font-weight: 700; cursor: pointer; font-size: 1rem; padding: 4px; text-decoration: underline; text-underline-offset: 3px; }
.aviso-rascunho { background: var(--ouro-fundo); border-radius: 16px; padding: 14px 18px; font-size: 1.02rem; line-height: 1.5; }
.aviso-rascunho strong { font-family: var(--display); }
.cifra { overflow-x: auto; background: var(--cartao); border-radius: 22px; padding: 26px 28px; box-shadow: inset 0 0 0 1px var(--linha); }
.cifra .sec { font-family: var(--display); font-weight: 700; color: var(--tinta-3); margin: 22px 0 6px; font-size: 1rem; }
.cifra .sec:first-child { margin-top: 0; }
.cifra pre { margin: 0; font-family: var(--mono); font-size: 15.5px; line-height: 1.5; white-space: pre; color: var(--tinta); }
.cifra pre .ac { color: #B8741A; font-weight: 600; }
:root[data-theme="dark"] .cifra pre .ac { color: var(--ouro); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cifra pre .ac { color: var(--ouro); } }
.cifra .repete { font-style: italic; color: var(--tinta-3); margin: 0; }

/* colorir */
.colorir { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.folha { display: grid; gap: 12px; }
.folha .papel { position: relative; aspect-ratio: 297 / 210; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--linha), 6px 6px 0 var(--papel-2); display: grid; place-items: center; }
.folha { text-decoration: none; color: var(--tinta); }
.folha .papel { aspect-ratio: auto; padding: 10px; transition: transform .2s ease; }
.folha:hover .papel { transform: rotate(-1deg) translateY(-3px); }
.folha .papel img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1.5px #33210F; }
.video .estreia { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; font-family: var(--display); font-weight: 700; background: #FFF8EC; color: #33210F; padding: 8px 18px; border-radius: 999px; box-shadow: 0 4px 14px rgb(0 0 0 / .25); white-space: nowrap; }
.folha h3 { font-size: 1.15rem; }
@media (max-width: 760px) { .colorir { grid-template-columns: 1fr; } }

/* história */
.historia { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.historia .texto { display: grid; gap: 20px; }
.historia .texto p { font-size: 1.16rem; max-width: 62ch; line-height: 1.7; }
.historia .texto p:first-child::first-letter { font-family: var(--display); font-weight: 800; float: left; font-size: 4.4rem; line-height: .8; padding: 8px 10px 0 0; color: var(--azul); }
.fontes { background: var(--papel-2); border-radius: 22px; padding: 26px; display: grid; gap: 14px; }
.fontes h3 { font-size: 1.2rem; }
.fontes dl { margin: 0; display: grid; gap: 12px; }
.fontes dt { font-family: var(--display); font-weight: 700; line-height: 1.2; font-size: 1.05rem; }
.fontes dd { margin: 0; color: var(--tinta-2); font-size: 1rem; line-height: 1.4; }
@media (max-width: 860px) { .historia { grid-template-columns: 1fr; gap: 30px; } }

/* conversar + santinho de oração */
.conversa { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 56px; align-items: center; }
.perguntas { counter-reset: p; list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.perguntas li { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; font-size: 1.18rem; line-height: 1.5; }
.perguntas li::before { content: counter(p); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #23507E; color: #FFF8EC; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.virar { perspective: 1200px; justify-self: center; width: min(320px, 100%); display: grid; gap: 14px; justify-items: center; }
.virar .cartao { position: relative; width: 100%; aspect-ratio: 5 / 8; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.3,1); }
.virar.virado .cartao { transform: rotateY(180deg); }
.virar .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; padding: 14px; background: #FFFDF8; box-shadow: 0 0 0 1px #EAD9BC, 0 20px 40px rgb(var(--sombra) / .2); display: grid; align-content: start; gap: 12px; text-align: center; color: #33210F; }
.virar .face .moldura { border-radius: var(--arco); padding: 5px; background: linear-gradient(160deg, #FFE3A0, #E8A93C 50%, #C98A22); }
.virar .face .moldura img { border-radius: var(--arco); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.virar .face h3 { color: #33210F; font-size: 1.35rem; }
.virar .face .rogai { font-style: italic; color: #74502E; }
.virar .verso { transform: rotateY(180deg); align-content: center; padding: 30px 26px; background: #FFFDF8 radial-gradient(circle at 50% 0%, #FDEBC4, transparent 60%); box-shadow: 0 0 0 1px #EAD9BC, inset 0 0 0 8px #FFFDF8, inset 0 0 0 10px #E8A93C, 0 20px 40px rgb(var(--sombra) / .2); }
.virar .verso .oracao { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.25; }
.virar .verso .marca-verso { font-family: var(--display); font-weight: 700; color: #74502E; font-size: .95rem; margin-top: 10px; }
@media (max-width: 860px) { .conversa { grid-template-columns: 1fr; gap: 40px; } }

.compartilhar { text-align: center; display: grid; gap: 16px; justify-items: center; }
.outros { background: var(--ceu); padding-block: 40px 90px; }
.outros .cabeca { margin-bottom: 36px; }
.outros .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .outros .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } .outros .grade > :nth-child(3) { display: none; } }
@media (max-width: 560px) { .outros .grade { grid-template-columns: 1fr; } }

/* ---------- modo projeção (para a sala de catequese) ---------- */
.projecao {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr auto; color: #FBF1DE;
  background: radial-gradient(1.5px 1.5px at 15% 20%, #FFE9B0 50%, transparent 51%), radial-gradient(2px 2px at 80% 30%, #FFD98A 50%, transparent 51%), radial-gradient(1px 1px at 60% 80%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 30% 70%, #fff 50%, transparent 51%), linear-gradient(#16345A, #0A1B33);
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 24px calc(env(safe-area-inset-bottom, 0px) + 20px);
}
.projecao .topo-p { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; color: #FFD98A; font-size: 1.1rem; }
.projecao .palco { display: grid; place-items: center; text-align: center; overflow: auto; }
.projecao .palco .parte { font-family: var(--display); font-weight: 700; color: #FFD98A; font-size: clamp(1rem, 2vw, 1.5rem); margin-bottom: 1vh; }
.projecao .palco p { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 4.6vw, 4.2rem); line-height: 1.22; max-width: 26ch; margin-inline: auto; }
.projecao .palco.refrao p { color: #FFE3A0; }
.projecao .controles { display: flex; justify-content: center; align-items: center; gap: 16px; }
.projecao button { font-family: var(--display); font-weight: 700; font-size: 1.1rem; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; background: rgb(255 255 255 / .12); color: #FBF1DE; }
.projecao button:hover { background: rgb(255 255 255 / .2); }
.projecao .contador { font-family: var(--display); font-weight: 600; color: #B9C8DD; min-width: 70px; text-align: center; }

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

/* ---------- impressão ---------- */
@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  body.imprimir-letra .topo, body.imprimir-letra .rodape, body.imprimir-letra .indice, body.imprimir-letra .santo-topo,
  body.imprimir-letra .bloco:not(#letra), body.imprimir-letra .outros, body.imprimir-letra #letra .botoes { display: none !important; }
  body.imprimir-letra #letra { padding: 0; }
  body.imprimir-letra #letra::after { content: "Missantos · Nossa missão é o céu · missantos.com.br"; display: block; margin-top: 16pt; font-size: 10pt; }
  .estrofe.refrao { background: none; box-shadow: none; border: 1.5pt solid #999; }
}
