/* ============================================================
   FLÁVIO CRISTÃO — basílica barroca × tabloide
   ============================================================ */
:root {
  --ink: #0e0b07;
  --ink-2: #171209;
  --gold: #c9a227;
  --gold-claro: #e8cf7a;
  --wine: #5e1220;
  --parchment: #ece4cf;
  --parchment-2: #ddd2b4;
  --serif-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif-deco: "Cinzel Decorative", Georgia, serif;
  --serif-body: "EB Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--serif-body);
  font-size: 1.08rem;
  line-height: 1.55;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% -10%, rgba(201,162,39,.14), transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 110%, rgba(94,18,32,.5), transparent 70%),
    linear-gradient(180deg, #14100a 0%, var(--ink) 100%);
}
.hero-vidro {
  position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background:
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(201,162,39,.05) 118px 120px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(201,162,39,.04) 118px 120px);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 40%, transparent 75%);
}
.hero-kicker {
  font-family: var(--serif-display); letter-spacing: .35em;
  text-transform: uppercase; font-size: .8rem; color: var(--gold-claro);
  margin-bottom: 1.6rem;
}
.hero-titulo {
  font-family: var(--serif-deco); font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,162,39,.25);
  line-height: 1.25; text-wrap: balance; margin-top: .4rem;
}
.linha-nome {
  display: block; font-size: clamp(1.9rem, 6.4vw, 4.2rem); letter-spacing: .08em;
}
.hero-titulo em {
  display: block; font-style: normal; color: var(--parchment);
  font-family: var(--serif-display); font-weight: 800;
  font-size: clamp(2.9rem, 10.5vw, 7rem); letter-spacing: .12em;
  line-height: 1.18; margin-top: .2rem;
  text-shadow: 0 0 34px rgba(236,228,207,.18);
}
.hero-sub {
  max-width: 34rem; margin: 1.8rem auto .5rem;
  font-size: 1.25rem; color: var(--parchment-2);
}
.hero-sub strong { color: var(--gold); font-weight: 600; }
.hero-aviso {
  max-width: 32rem; margin: 1.2rem auto 2rem;
  font-size: .98rem; font-style: italic; color: #b9ae90;
  border: 1px solid rgba(201,162,39,.25); border-radius: 4px;
  padding: .9rem 1.1rem; background: rgba(20,16,10,.6);
}
.hero-acoes { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.botao {
  font-family: var(--serif-display); text-transform: uppercase; letter-spacing: .12em;
  font-size: .82rem; text-decoration: none; cursor: pointer;
  padding: .85rem 1.6rem; border: 1px solid var(--gold); border-radius: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, #a6851c 100%); color: #201805;
  transition: transform .15s ease, box-shadow .15s ease;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,162,39,.35); }
.botao-fantasma { background: transparent; color: var(--gold); }
.botao-fantasma:hover { background: rgba(201,162,39,.08); }
.hero-seta { position: absolute; bottom: 1.2rem; color: var(--gold); font-size: 1.6rem; opacity: .6;
  animation: flutuar 2.6s ease-in-out infinite; }
@keyframes flutuar { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; gap: 1.4rem; align-items: center; justify-content: center;
  padding: .8rem 1rem;
  background: rgba(14,11,7,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201,162,39,.35);
  font-family: var(--serif-display); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em;
}
.nav-brand { color: var(--gold); margin-right: .5rem; font-weight: 600; }
.nav a { color: var(--parchment-2); text-decoration: none; }
.nav a:hover { color: var(--gold); }

/* ---------- SEÇÕES ---------- */
.secao { padding: 5.5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.secao-escura {
  max-width: none; background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(94,18,32,.25), transparent 70%),
    var(--ink-2);
  border-block: 1px solid rgba(201,162,39,.18);
}
.secao-escura > * { max-width: 1200px; margin-inline: auto; }
.secao-pergaminho { max-width: none; background: var(--parchment); color: #241c0c; }
.secao-pergaminho .titulo-secao, .secao-pergaminho .secao-lede { color: #241c0c; }
.titulo-secao {
  font-family: var(--serif-deco); color: var(--gold);
  font-size: clamp(1.9rem, 4.5vw, 3rem); text-align: center; margin-bottom: .8rem;
}
.secao-lede {
  text-align: center; font-style: italic; color: var(--parchment-2);
  max-width: 46rem; margin: 0 auto 3rem; font-size: 1.15rem;
}
.secao-escura .titulo-secao { color: var(--gold-claro); }

/* ---------- FILTROS ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-bottom: 2.6rem; }
.chip-filtro {
  font-family: var(--serif-display); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(201,162,39,.5); background: transparent; color: var(--parchment-2);
  transition: all .15s ease;
}
.chip-filtro:hover { border-color: var(--cc, var(--gold)); color: var(--parchment); }
.chip-filtro.ativo { background: rgba(201,162,39,.16); border-color: var(--cc, var(--gold)); color: #fff; }
@supports (color: color-mix(in srgb, red, blue)) {
  .chip-filtro { border-color: color-mix(in srgb, var(--cc, var(--gold)) 55%, transparent); }
  .chip-filtro.ativo { background: color-mix(in srgb, var(--cc, var(--gold)) 22%, transparent); }
}

/* ---------- CARDS DAS ESTAÇÕES ---------- */
.grade-estacoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.8rem; }
.estacao {
  position: relative; display: flex; flex-direction: column; gap: .85rem;
  background: linear-gradient(180deg, #191307 0%, #14100a 100%);
  border: 1px solid rgba(201,162,39,.35);
  border-top: 3px solid var(--cat-cor, var(--wine));
  border-radius: 4px 4px 2px 2px;
  padding: 1.5rem 1.4rem 1.3rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.estacao:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.55); }
.estacao-arco {
  position: absolute; inset-inline: -1px; top: -1px; height: 46px; pointer-events: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,162,39,.12), transparent 70%);
}
.estacao-num {
  font-family: var(--serif-display); color: var(--gold); font-size: 1.05rem; letter-spacing: .18em;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.cat-chip {
  font-family: var(--serif-display); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
  color: #1a1305; background: var(--cat-cor, #555); padding: .32rem .8rem; border-radius: 999px;
  cursor: help; white-space: nowrap; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.estacao-titulo { font-family: var(--serif-display); font-weight: 600; font-size: 1.32rem; color: var(--parchment); }
.estacao-meta { font-size: .88rem; font-style: italic; color: #a89c7c; margin-top: -.4rem; }
.estacao-resumo { font-size: .98rem; color: #cfc6ab; }
.versiculo {
  border-left: 3px solid var(--gold); padding: .8rem 1rem;
  background: rgba(201,162,39,.06); font-style: italic; font-size: .95rem; color: var(--gold-claro);
}
.versiculo cite { display: block; margin-top: .5rem; font-style: normal; font-family: var(--serif-display);
  font-size: .72rem; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.antitese {
  font-size: .98rem; color: #e2b7bd; border-left: 3px solid var(--wine); padding-left: .9rem; font-weight: 600;
}
.estacao-negacao { font-size: .85rem; color: #9a9177; }
.estacao-negacao strong { color: #c8bda0; }
.estacao-acoes { margin-top: auto; display: flex; gap: .8rem; align-items: center; }
.link-dossi {
  background: none; border: none; color: var(--gold); cursor: pointer;
  font-family: var(--serif-display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem 0;
}
.link-share {
  background: none; border: 1px solid rgba(201,162,39,.35); color: #a8903f; cursor: pointer;
  font-family: var(--serif-display); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px; transition: all .15s ease;
}
.link-share:hover { border-color: var(--gold); color: var(--gold-claro); }
.confissao-acaoes { display: flex; justify-content: flex-end; margin-top: .2rem; }
.dossi { display: none; font-size: .9rem; }
.dossi.aberto { display: block; }
.dossi ul { list-style: none; padding: 0; }
.dossi li { padding: .45rem 0 .45rem 1.2rem; border-bottom: 1px dashed rgba(201,162,39,.15); position: relative; }
.dossi li::before { content: "†"; position: absolute; left: 0; color: var(--wine); }
.fontes { margin-top: .8rem; font-size: .82rem; }
.fontes a { color: #a8903f; text-decoration: underline dotted; margin-right: .8rem; }

/* ---------- DECÁLOGO ---------- */
.grade-decalogo { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem 1.4rem; margin-top: 2.6rem; }
.tabua {
  position: relative;
  background: linear-gradient(180deg, #efe6cf, #e0d3b2); color: #2a2109;
  border-radius: 10px; padding: 2.5rem 1.3rem 1.2rem;
  border: 1px solid #b39a4e; box-shadow: inset 0 0 22px rgba(90,70,10,.14), 0 10px 28px rgba(0,0,0,.45);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tabua:hover { transform: translateY(-4px); box-shadow: inset 0 0 22px rgba(90,70,10,.14), 0 18px 38px rgba(0,0,0,.55); }
.tabua .roman {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #8a2434, var(--wine) 72%);
  color: var(--gold-claro); border: 2px solid #b39a4e;
  font-family: var(--serif-deco); font-size: .92rem; letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(0,0,0,.5);
}
.tabua h3 { text-align: center; font-family: var(--serif-display); font-size: .95rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #4a3a0b; line-height: 1.4; margin-top: .1rem; }
.tabua > p { font-size: .94rem; line-height: 1.55; color: #3a2e0e; }
.tabua .tab-vers { font-style: italic; color: #5c4a15; font-size: .88rem; border-top: 1px solid rgba(90,70,10,.22); padding-top: .55rem; margin-top: .35rem; }
.tabua .tab-vers strong { font-style: normal; font-family: var(--serif-display); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; display: block; color: #7a5f12; margin-bottom: .2rem; }
.tabua .tab-lig {
  margin-top: auto; padding-top: .6rem; font-size: .78rem; font-style: italic; color: #8a1c2b; line-height: 1.35;
}

/* ---------- CRONOLOGIA ---------- */
.linha-tempo { list-style: none; max-width: 760px; margin: 0 auto; border-left: 2px solid var(--gold); padding-left: 0; }
.linha-tempo li { position: relative; padding: .4rem 1rem 2.2rem 2rem; }
.linha-tempo li::before {
  content: "✠"; position: absolute; left: -0.95rem; top: .2rem; color: var(--wine);
  background: var(--ink); font-size: 1.3rem; line-height: 1.3;
}
.linha-tempo .ano { font-family: var(--serif-display); color: var(--gold); font-size: 1.05rem; letter-spacing: .1em; display: block; margin-bottom: .2rem; }
.linha-tempo .ev { color: var(--parchment-2); }

/* ---------- CONFESSIONÁRIO ---------- */
.grade-confissoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(430px, 1fr)); gap: 1.8rem; margin-top: 2.6rem; }
.confissao {
  background: linear-gradient(180deg, #1a1409 0%, #14100a 100%);
  border: 1px solid rgba(201,162,39,.3); border-left: 4px solid var(--wine);
  border-radius: 6px; padding: 1.5rem 1.5rem 1.3rem;
  display: flex; flex-direction: column; gap: .85rem;
}
.confissao-cab { display: flex; align-items: center; gap: .9rem; }
.confissao-num {
  font-family: var(--serif-deco); color: var(--wine); font-size: 1.5rem; line-height: 1;
  filter: brightness(1.5); flex: none;
}
.confissao-contexto {
  font-family: var(--serif-display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: #a8903f; line-height: 1.5;
}
.confissao-frase {
  font-size: 1.22rem; line-height: 1.6; font-style: italic; color: var(--parchment);
  border: none; padding: 0;
}
.confissao-nota { font-size: .94rem; color: #b8ac8d; font-style: italic; }
.confissao-vers {
  border-left: 2px solid var(--gold); background: rgba(201,162,39,.05);
  padding: .7rem .95rem; display: flex; flex-direction: column; gap: .35rem;
}
.confissao-vers-ref {
  font-family: var(--serif-display); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.confissao-vers-txt { font-size: .9rem; font-style: italic; color: #d4c9a5; line-height: 1.55; }
.confissao-vers-anti { font-size: .92rem; font-weight: 600; color: #e2b7bd; line-height: 1.5; }

/* ---------- METODOLOGIA ---------- */
.metodologia { max-width: 860px; margin: 0 auto; }
.metodo-texto p { margin-bottom: 1.1rem; font-size: 1.05rem; line-height: 1.7; color: #33290f; }
.metodo-texto strong { color: #7a1322; }
.lista-fontes { columns: 2; column-gap: 2rem; margin-top: .6rem; }
.lista-fontes li { margin-bottom: .5rem; break-inside: avoid; }
.lista-fontes a { color: #6b4d0a; }

/* ---------- RODAPÉ ---------- */
.rodape { text-align: center; padding: 4.5rem 1.5rem 3rem; border-top: 1px solid rgba(201,162,39,.3); }
.rodape-selo { font-size: 2.6rem; color: var(--gold); }
.rodape p { max-width: 40rem; margin: 1rem auto; font-style: italic; color: var(--parchment-2); }
.rodape-fine { font-size: .82rem; font-style: normal !important; color: #8a8065; }
.rodape a { color: var(--gold); font-family: var(--serif-display); text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visivel { opacity: 1; transform: none; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 760px) {
  .metodologia { grid-template-columns: 1fr; }
  .lista-fontes { columns: 1; }
  .nav { flex-wrap: wrap; gap: .8rem; }
  .hero-titulo { font-size: clamp(2.6rem, 12vw, 4rem); }
}
