/* Facistol: LP. DS v1 "livro de canto vivo" (docs/DESIGN-SYSTEM-2026-09.md). */
:root {
  color-scheme: light;
  --paper: #f7f3e8;
  --leaf: #fffcf4;
  --ink: #203d30;
  --muted: #586459;
  --action: #24583f;
  --action-deep: #1b4531;
  --on-action: #fffcf4;
  --soft: #e8eddf;
  --gold: #805819;
  --light: #efdeb5;
  --clay: #9a4531;
  --line: #d5d9cc;
  --night: #17221d;
  --title: 'Fraunces', Georgia, serif;
  --body: 'Nunito Sans', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --wrap: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  /* grão de papel: ruído fractal bem leve */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: var(--action); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--title); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.it, .it { font-style: italic; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--light); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* rubrica: o vermelho dos livros litúrgicos */
.rubric { font: 700 .75rem/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--clay); display: inline-flex; gap: .7em; align-items: center; }
.rubric::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow { font: 700 .75rem/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }

/* ---------- cabeçalho ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand svg { width: 38px; height: 44px; }
.brand b { font: 500 1.35rem/1 var(--title); display: block; }
.brand small { display: block; font: 700 .62rem/1 var(--body); letter-spacing: .28em; color: var(--muted); margin-top: 4px; }
.top nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: .95rem; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--action); }
.top nav .link-hide { display: none; }
@media (min-width: 900px) { .top nav .link-hide { display: inline; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 24px; border-radius: 10px; font: 700 1rem/1 var(--body); text-decoration: none; border: 1.5px solid var(--action); transition: transform .18s var(--ease), background .18s, box-shadow .18s; }
.btn.primary { background: var(--action); color: var(--on-action); box-shadow: 0 1px 0 var(--action-deep), 0 8px 22px -12px rgba(36, 88, 63, .8); }
.btn.primary:hover { background: var(--action-deep); transform: translateY(-1px); }
.btn.ghost { color: var(--action); background: transparent; }
.btn.ghost:hover { background: var(--soft); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- abertura ---------- */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); margin: 18px 0 22px; }
.hero h1 .it { display: block; color: var(--action); font-style: italic; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero .fine { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.hero .fine li::before { content: "✓"; color: var(--action); font-weight: 700; margin-right: 6px; }
.window-art { position: relative; justify-self: center; width: min(470px, 100%); }
@media (max-width: 640px) { .window-art { width: min(300px, 82%); } }
@media (max-width: 899px) { .why .sec-head { margin-bottom: 0; } }
.window-art svg { width: 100%; height: auto; overflow: visible; }

/* entrada da página: uma vez, sem efeito contínuo */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal-load { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
  .hero .reveal-load:nth-child(2) { animation-delay: .08s; }
  .hero .reveal-load:nth-child(3) { animation-delay: .18s; }
  .hero .reveal-load:nth-child(4) { animation-delay: .28s; }
  .hero .reveal-load:nth-child(5) { animation-delay: .38s; }
  .window-art .ray { opacity: 0; animation: glow 1.8s .3s var(--ease) forwards; }
  .window-art .neume { opacity: 0; animation: rise 1s var(--ease) forwards; }
  .window-art .neume:nth-of-type(2) { animation-delay: .9s; }
  .window-art .neume:nth-of-type(3) { animation-delay: 1.05s; }
  .window-art .neume:nth-of-type(4) { animation-delay: 1.2s; }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes glow { to { opacity: 1; } }

/* ---------- seções ---------- */
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 16px 0 18px; }
.sec-head h2 .it { color: var(--action); }
.sec-head p:not(.rubric) { color: var(--muted); font-size: 1.12rem; }

/* pauta que separa as seções, como a linha de um hinário */
.staff-rule { height: 34px; width: var(--wrap); margin: 0 auto; background:
  repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 8px); background-size: 100% 33px; background-repeat: no-repeat; opacity: .9; position: relative; }
.staff-rule::after { content: "𝄞"; position: absolute; left: 0; top: -14px; font-size: 52px; line-height: 1; color: var(--gold); font-family: 'Noto Music', 'Segoe UI Symbol', serif; }

/* ---------- porquê (capitular) ---------- */
.why .wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .why .wrap { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.why .prose { font-size: 1.14rem; max-width: 36em; }
.why .prose p:first-child::first-letter {
  float: left; font: 500 5.1em/.8 var(--title); color: var(--on-action); background: var(--action);
  padding: .16em .14em .1em; margin: .08em .14em 0 0; border-radius: 6px;
  box-shadow: inset 0 0 0 3px var(--action), inset 0 0 0 4.5px var(--light);
}
.why aside { border-left: 2px solid var(--clay); padding: 4px 0 4px 22px; }
.why aside p { font: italic 500 1.35rem/1.4 var(--title); color: var(--ink); margin: 0 0 12px; }
.why aside small { color: var(--muted); font-size: .9rem; }

/* ---------- faixa de voz: a pauta que sobe uma oitava ---------- */
.voice { background: var(--leaf); border-block: 1px solid var(--line); }
.voice .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .voice .wrap { grid-template-columns: .9fr 1.1fr; } }
.voice-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 30px 60px -40px rgba(32, 61, 48, .45); }
.toggle { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 18px; width: 100%; }
.toggle button { font: 700 .92rem/1.2 var(--body); color: var(--muted); background: transparent; border: 0; border-radius: 9px; min-height: 44px; padding: 8px 10px; cursor: pointer; transition: background .2s, color .2s; }
.toggle button[aria-pressed="true"] { background: var(--leaf); color: var(--ink); box-shadow: 0 1px 3px rgba(32, 61, 48, .18); }
.voice svg .melody { transition: transform .9s var(--ease); }
.voice[data-mode="adulto"] svg .melody { transform: translateY(70px); }
.voice svg .band { transition: opacity .6s; }
.voice svg .ledgers-adulto { transition: opacity .5s; }
.voice[data-mode="adulto"] svg .ledgers-adulto { opacity: 1; }
.voice[data-mode="adulto"] svg .melody g[fill] { fill: #9a4531; }
.voice[data-mode="adulto"] svg .melody g[stroke="#24583f"] { stroke: #9a4531; }
.voice-note { margin: 16px 0 0; font-size: .98rem; color: var(--muted); min-height: 3.4em; }
.voice-note strong { color: var(--ink); }
.voice .points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.voice .points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.voice .points b { font: 500 1.05rem/1 var(--title); width: 34px; height: 34px; border-radius: 50%; background: var(--light); color: var(--gold); display: grid; place-items: center; }
.source { font-size: .85rem; color: var(--muted); margin-top: 18px; }

/* ---------- caminho da missa ---------- */
.path-wrap { background: var(--leaf); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 34px); }
.path-rites { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; font: 700 .72rem/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.path-rites span b { color: var(--clay); margin-right: 6px; }
.path { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0; padding: 26px 0 8px; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 33px; background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 8px); }
.stop { position: relative; background: none; border: 0; padding: 0 0 6px; cursor: pointer; display: grid; justify-items: center; gap: 10px; color: var(--muted); font: 600 .78rem/1.2 var(--body); min-height: 44px; }
.stop .note { width: 22px; height: 16px; border-radius: 50%; background: var(--ink); transform: rotate(-20deg); position: relative; margin-top: var(--y, 8px); transition: background .2s, transform .25s var(--ease); }
.stop .note::after { content: ""; position: absolute; right: 1px; bottom: 8px; width: 2px; height: 30px; background: var(--ink); transform: rotate(20deg); transform-origin: bottom; }
.stop .lbl { margin-top: calc(40px - var(--y, 8px)); text-align: center; }
.stop:hover .note, .stop[aria-selected="true"] .note { background: var(--clay); transform: rotate(-20deg) scale(1.15); }
.stop[aria-selected="true"] .note::after { background: var(--clay); }
.stop[aria-selected="true"] { color: var(--ink); }
.path-panel { display: grid; gap: 24px; margin-top: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .path-panel { grid-template-columns: 1.1fr .9fr; } }
.path-panel h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 8px 0 14px; }
.path-panel .child { font-size: 1.2rem; line-height: 1.55; }
.path-panel .adult { background: var(--paper); border-radius: 14px; padding: 18px 20px; font-size: .96rem; color: var(--muted); }
.path-panel .adult strong { display: block; color: var(--ink); font: 700 .72rem/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.path-panel .ref { display: block; margin-top: 10px; font-size: .82rem; color: var(--gold); }
@media (max-width: 720px) {
  .path { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 18px; }
  .path::before { display: none; }
  .stop { border-top: 1px solid var(--line); padding-top: 10px; }
  .stop .note { margin-top: 4px; }
  .stop .lbl { margin-top: 0; }
}

/* ---------- três tempos ---------- */
.times { display: grid; gap: 18px; }
@media (min-width: 900px) { .times { grid-template-columns: repeat(3, 1fr); } }
.time { background: var(--leaf); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px 26px; position: relative; overflow: hidden; }
.time .num { font: italic 500 4.4rem/1 var(--title); color: var(--light); position: absolute; right: 18px; top: 8px; }
.time h3 { font-size: 1.75rem; margin: 6px 0 12px; position: relative; }
.time p { color: var(--muted); position: relative; }
.time ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: .97rem; }
.time li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.tag { font: 700 .66rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 5px 7px; border-radius: 5px; white-space: nowrap; }
.tag.ok { background: var(--soft); color: var(--action); }
.tag.soon { background: var(--light); color: var(--gold); }

/* ---------- citação (noite) ---------- */
.quote { background: var(--night); color: #f0f1e5; overflow: hidden; }
.quote .wrap { padding: clamp(72px, 10vw, 128px) 0; display: grid; gap: 30px; justify-items: start; position: relative; }
.quote blockquote { margin: 0; font: italic 500 clamp(1.7rem, 3.6vw, 2.9rem)/1.25 var(--title); max-width: 24em; text-wrap: balance; }
.quote blockquote::before { content: "“"; display: block; font-size: 4em; line-height: .6; color: #e8c67b; margin-bottom: .1em; }
.quote cite { font: 700 .78rem/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #bdcabd; font-style: normal; }
.quote cite a { color: #e8c67b; }
.quote .glass { position: absolute; right: -40px; top: 50%; width: 320px; transform: translateY(-50%); opacity: .16; pointer-events: none; }
@media (max-width: 800px) { .quote .glass { display: none; } }

/* ---------- para quem ---------- */
.who { display: grid; gap: 18px; }
@media (min-width: 900px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who article { border-top: 3px solid var(--action); padding-top: 22px; }
.who article:nth-child(2) { border-color: var(--gold); }
.who article:nth-child(3) { border-color: var(--clay); }
.who h3 { font-size: 1.6rem; margin: 10px 0 12px; }
.who p { color: var(--muted); }

/* ---------- cuidados ---------- */
.care { background: var(--soft); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; }
@media (min-width: 900px) { .care { grid-template-columns: .8fr 1.2fr; } }
.care h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 14px; }
.care ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .care ul { grid-template-columns: 1fr 1fr; } }
.care li strong { display: block; font: 500 1.2rem/1.3 var(--title); margin-bottom: 4px; }
.care li { color: var(--muted); font-size: .98rem; }

/* ---------- o nome ---------- */
.nome-card { display: grid; gap: 28px; align-items: center; background: var(--leaf); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
@media (min-width: 720px) { .nome-card { grid-template-columns: 150px 1fr; } }
.nome-art { width: 120px; justify-self: center; }
.nome-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 14px 0 16px; }
.nome-card h2 .it { color: var(--action); }
.nome-card p:not(.rubric) { color: var(--muted); max-width: 40em; }

/* ---------- perguntas ---------- */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 500 1.28rem/1.35 var(--title); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--body); color: var(--action); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; margin: 0; max-width: 42em; }

/* ---------- convite final ---------- */
.final { text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 18px; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16em; }
.final h2 .it { color: var(--action); font-style: italic; }
.final p { color: var(--muted); max-width: 34em; }
.final .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.final .arch { width: 70px; color: var(--gold); margin-bottom: 4px; }

/* ---------- rodapé ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: .92rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  .hero .actions .btn { width: 100%; }
  .top nav { gap: 14px; }
  .top nav .login { display: none; }
}
@media print { .top, .window-art, .quote .glass { display: none; } body { background: #fff; } }
.brand small, .btn { white-space: nowrap; }
@media (max-width: 380px) { .brand small { letter-spacing: .16em; } .brand b { font-size: 1.2rem; } .top .btn.small { padding: 0 14px; } .brand svg { width: 32px; height: 38px; } }

/* ---------- clássico: molduras, ornamentos e capítulos (24/09/2026) ---------- */
.quadro { margin: 0; position: relative; }
.quadro img { display: block; width: 100%; height: auto; background: var(--leaf); border-radius: 4px;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--gold), 0 26px 50px -30px rgba(32, 61, 48, .55); filter: sepia(.06); }
.quadro figcaption { margin-top: 16px; font: italic 500 .95rem/1.4 var(--title); color: var(--muted); text-align: center; }
.quadro figcaption::before { content: "❧ "; color: var(--gold); font-style: normal; }
.quadro.arco { justify-self: center; width: min(460px, 100%); }
.quadro.arco img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border-radius: 999px 999px 6px 6px; }
@media (max-width: 899px) { .quadro.arco { width: min(360px, 88%); } }

.ornamento { display: flex; align-items: center; gap: 18px; width: var(--wrap); margin: 0 auto; color: var(--gold); }
.ornamento::before, .ornamento::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: .7; }
.ornamento span { font: 400 1.9rem/1 var(--title); }

.partitura { margin: 22px 0 0; max-width: 460px; }
.partitura img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 8px; }
.partitura figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; font-style: italic; }
.natal { background: var(--night); color: #f0f1e5; padding: clamp(64px, 9vw, 110px) 0; }
.natal .wrap { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .natal .wrap { grid-template-columns: .8fr 1.2fr; } }
.natal .quadro { width: min(380px, 100%); justify-self: center; }
.natal .quadro img { box-shadow: 0 0 0 5px var(--night), 0 0 0 6px #e8c67b, 0 30px 60px -30px rgba(0, 0, 0, .8); }
.natal .quadro figcaption { color: #bdcabd; }
.natal h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 14px 0 18px; }
.natal h2 .it { color: #e8c67b; font-style: italic; }
.natal p:not(.rubric) { color: #d5dccf; font-size: 1.08rem; max-width: 36em; }
.natal .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn.ghost.claro { color: #f0f1e5; border-color: #e8c67b; }
.btn.ghost.claro:hover { background: rgba(232, 198, 123, .12); }

.legenda-tags { margin-top: 18px; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.time li a { color: var(--action); font-weight: 700; }

.creditos { border-top: 1px solid var(--line); padding: 32px 0 8px; }
.creditos h2 { font: 700 .75rem/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.creditos ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .84rem; color: var(--muted); }
.creditos a { color: var(--muted); }
@media (max-width: 899px) { .natal .quadro { width: min(300px, 82%); } }

/* ---------- primeira dobra: cartão da próxima missa (gerado no servidor) ---------- */
.hero-cartao { justify-self: center; width: min(440px, 100%); }
.cartao-missa { position: relative; background: var(--leaf); border: 1px solid var(--line); border-radius: 6px; padding: 30px 30px 22px;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--gold), 0 26px 50px -30px rgba(32, 61, 48, .55); }
.cartao-missa .fita { position: absolute; top: -6px; right: 28px; width: 14px; height: 72px; background: var(--cor-liturgica, var(--action));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.cartao-missa .fita.fita-clara { box-shadow: inset 0 0 0 1px var(--gold); }
.cartao-missa .rubric { margin: 0 0 10px; }
.cartao-titulo { font: 500 1.9rem/1.12 var(--title); margin: 0 40px 8px 0; color: var(--ink); text-wrap: balance; }
.cartao-dados { color: var(--muted); font-size: .95rem; margin: 0; display: flex; align-items: center; flex-wrap: wrap; }
.cartao-dados .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(32, 61, 48, .35); margin-right: 8px; }
.cartao-orn { text-align: center; color: var(--gold); font: 400 1.3rem/1 var(--title); margin: 14px 0 10px; }
.cartao-missa .eyebrow { margin: 12px 0 6px; }
.cartao-regras { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cartao-regras li { display: grid; grid-template-columns: 76px 1fr auto; gap: 8px; align-items: baseline; font-size: .95rem; }
.cartao-regras .nome { font-weight: 700; }
.cartao-regras .sim { color: var(--action); font-weight: 700; }
.cartao-regras .nao { color: var(--clay); font-weight: 700; }
.cartao-regras .ref { font-size: .78rem; color: var(--muted); }
.cartao-nota { font-style: italic; color: var(--clay); font-size: .9rem; margin: 10px 0 0; }
.cartao-refrao { font: italic 500 1.12rem/1.4 var(--title); margin: 0; color: var(--ink); }
.cartao-refrao span { color: var(--clay); font-style: normal; }
.cartao-criancas { font-size: .95rem; margin: 12px 0 0; color: var(--ink); }
.cartao-link { display: inline-block; margin-top: 14px; font-weight: 700; }
.cartao-fonte { font-size: .76rem; color: var(--muted); margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.cartao-legenda { text-align: center; font: italic 500 .9rem/1.4 var(--title); color: var(--muted); margin: 18px 0 0; }

/* ---------- segunda dobra: por que Facistol ---------- */
.por-que { background: var(--leaf); border-block: 1px solid var(--line); }
.por-que .wrap { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .por-que .wrap { grid-template-columns: .92fr 1.08fr; } }
@media (max-width: 899px) { .por-que .quadro.arco { order: 2; } }
.por-que h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 16px 0 18px; }
.por-que h2 .it { color: var(--action); }
.por-que p:not(.rubric) { font-size: 1.08rem; max-width: 36em; }
.quadro.gravura.miniatura { float: right; width: 120px; margin: 4px 0 12px 24px; }
.quadro.gravura img { background: #fff; padding: 8px; filter: none; }
.quadro.gravura.miniatura figcaption { font-size: .8rem; }

/* ---------- nota de história (em O tom certo) ---------- */
.voice .wrap.nota-historia { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 32px; }
@media (min-width: 960px) { .voice .wrap.nota-historia { grid-template-columns: 160px minmax(0, 1fr); align-items: start; } }
.nota-historia .quadro { width: 160px; justify-self: center; }
.nota-historia .quadro figcaption { font-size: .8rem; }
.nota-historia p:not(.eyebrow) { max-width: 40em; color: var(--muted); }
.nota-historia .partitura { max-width: 340px; }

/* ---------- caminho da missa com o gradual ao lado ---------- */
@media (min-width: 900px) { .caminho-head { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 48px; align-items: end; } .caminho-head .quadro { margin-bottom: 40px; } }
@media (max-width: 899px) { .caminho-head .quadro { display: none; } }
.caminho-head .quadro figcaption { font-size: .8rem; }

/* ---------- ajustes da revisão (25/09) ---------- */
:focus-visible { scroll-margin-top: 88px; }
.natal :focus-visible, .quote :focus-visible { outline-color: #e8c67b; }
.final .ja-tem { margin: 4px 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 560px) { .hero .actions .btn, .final .actions .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; } }
@media (max-width: 400px) { .quadro.gravura.miniatura { float: none; margin: 0 auto 22px; } }
@media (min-width: 900px) and (max-height: 820px) {
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin: 12px 0 14px; }
  .hero .lead { font-size: 1.05rem; }
  .hero .wrap { align-items: start; }
  .hero-cartao { width: 100%; }
  .cartao-missa { padding: 22px 24px 16px; }
  .cartao-orn { display: none; }
  .cartao-titulo { font-size: 1.6rem; }
  .cartao-missa .eyebrow { margin: 8px 0 4px; }
  .cartao-criancas { margin-top: 8px; }
  .cartao-link { margin-top: 10px; }
  .cartao-fonte { margin-top: 10px; padding-top: 8px; }
}
.cartao-missa .rubric { margin-right: 40px; }
.cartao-dados { display: block; }
.cartao-dados .swatch { display: inline-block; vertical-align: -1px; }
.brand svg { flex-shrink: 0; }
@media (max-width: 380px) { .stop { font-size: .66rem; } .stop .lbl { padding: 0 2px; hyphens: auto; overflow-wrap: anywhere; } .path { column-gap: 4px; } }

