/* ============================================================
   LP — 10 Santos para Conhecer em Família
   Estética "livro de horas": mesma paleta do app Luz do Lar
   (app/src/styles/base.css) — papel, tinta, ouro, vinho.
   ============================================================ */

:root {
  --paper: #f6efe3;
  --paper-deep: #efe5d2;
  --surface: #fffbf2;
  --ink: #33271e;
  --ink-soft: #6f5d4b;
  --ink-faint: #a08b73;
  --gold: #a97e2f;
  --gold-soft: #e4ce9a;
  --gold-faint: #f0e4c6;
  --wine: #7c2e2a;
  --wine-deep: #632220;
  --marian: #33527d;
  --line: #e7dcc5;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Karla", "Segoe UI", sans-serif;

  --medida: 44rem;   /* largura de leitura */
  --larga: 60rem;    /* largura de grades */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(90% 34% at 50% -4%, #fdf6e6 0%, rgba(253, 246, 230, 0) 70%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* grão de papel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- tipografia ---------- */

h1, h2, h3, .num {
  font-family: var(--serif);
  font-weight: 550;
  color: var(--wine-deep);
  line-height: 1.18;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-optical-sizing: auto; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p, li { color: var(--ink); }
.suave { color: var(--ink-soft); }

strong { color: var(--wine-deep); font-weight: 700; }

/* ---------- estrutura ---------- */

.secao {
  max-width: var(--medida);
  margin: 0 auto;
  padding: 4.5rem 1.4rem 0;
}

.secao--larga { max-width: var(--larga); }

.miolo { max-width: var(--medida); margin: 0 auto; }

.rotulo {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.secao > h2, .secao .miolo > h2 { margin-bottom: 1.4rem; }
.secao p + p { margin-top: 1.1rem; }

/* ornamento entre seções */
.orn {
  border: 0;
  max-width: var(--medida);
  margin: 4.5rem auto 0;
  text-align: center;
  overflow: visible;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.orn::after {
  content: "✦";
  position: relative;
  top: -0.85rem;
  padding: 0 1rem;
  color: var(--gold);
  font-size: 0.85rem;
  background: var(--paper);
}

/* ---------- botões ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--surface);
  background: linear-gradient(180deg, var(--wine), var(--wine-deep));
  border: 1px solid var(--wine-deep);
  box-shadow: inset 0 0 0 2px rgba(228, 206, 154, 0.35), 0 10px 24px -12px rgba(99, 34, 32, 0.55);
  border-radius: 999px;
  padding: 0.95rem 2.1rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 2px rgba(228, 206, 154, 0.55), 0 14px 28px -12px rgba(99, 34, 32, 0.6);
}
.btn--grande { font-size: 1.12rem; padding: 1.1rem 2.6rem; }

.btn-nota {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: 4.2rem 1.4rem 0;
  max-width: 50rem;
  margin: 0 auto;
}

.hero .rotulo { margin-bottom: 1.6rem; }

.hero .sub {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 1.4rem auto 0;
}

.hero-bullets {
  list-style: none;
  text-align: left;
  max-width: 34rem;
  margin: 2.4rem auto 0;
  display: grid;
  gap: 1rem;
}
.hero-bullets li {
  padding-left: 1.9rem;
  position: relative;
  color: var(--ink-soft);
}
.hero-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0.2rem;
  top: 0.1rem;
  color: var(--gold);
  font-size: 0.8rem;
}
.hero-bullets strong { color: var(--ink); font-weight: 700; }

/* vídeo placeholder */
.video-moldura {
  max-width: 38rem;
  margin: 2.6rem auto 0;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #fffdf6, var(--gold-faint));
  border: 1px solid var(--gold-soft);
  outline: 1px solid var(--line);
  outline-offset: 6px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
}
.video-moldura .play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.video-moldura small {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .btn { margin-top: 2.4rem; }

/* ---------- dor: cenas ---------- */

.capitular::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.4em;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--wine);
  font-weight: 600;
}

.cena {
  border-left: 2px solid var(--gold-soft);
  padding-left: 1.15rem;
}
.cena + .cena, p + .cena, .cena + p { margin-top: 1.1rem; }

.conceito {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 8px;
  padding: 1.5rem 1.6rem;
}

/* ---------- citações (evangelização) ---------- */

.citacao {
  max-width: 34rem;
  margin: 4.5rem auto 0;
  padding: 0 1.4rem;
  text-align: center;
}
.citacao blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--wine);
  line-height: 1.5;
}
.citacao cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- depoimentos ---------- */

.depo-grade {
  display: grid;
  gap: 1.3rem;
  margin-top: 2rem;
}
.depo-grade--3 { grid-template-columns: repeat(3, 1fr); }
.depo-grade--2 { grid-template-columns: repeat(2, 1fr); }

.depo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.4rem;
  font-size: 0.98rem;
  position: relative;
  box-shadow: 0 14px 30px -24px rgba(51, 39, 30, 0.45);
}
.depo p { color: var(--ink-soft); }
.depo .nome {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--wine-deep);
  margin-bottom: 0.5rem;
}

/* aviso de depoimento-modelo: manter até substituir por reais */
.tag-modelo {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  background: var(--gold-faint);
  border: 1px dashed var(--gold);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

/* ---------- CTA intermediário ---------- */

.cta-meio {
  text-align: center;
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
  margin-top: 4.5rem;
  padding: 3.2rem 1.4rem;
}
.cta-meio p {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--wine-deep);
  max-width: 34rem;
  margin: 0 auto 1.6rem;
}

/* ---------- método ---------- */

.passos {
  counter-reset: passo;
  list-style: none;
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0;
}
.passos li {
  counter-increment: passo;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.2rem 1.4rem 1.2rem 4.4rem;
  position: relative;
}
.passos li::before {
  content: counter(passo, upper-roman);
  position: absolute;
  left: 1.2rem;
  top: 1.15rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
}
.passos strong { display: block; font-family: var(--serif); font-size: 1.08rem; }

/* ---------- para quem é ---------- */

.duas-listas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-top: 2rem;
}
.painel-lista {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.6rem;
}
.painel-lista h3 { margin-bottom: 1rem; }
.painel-lista ul { list-style: none; display: grid; gap: 0.75rem; }
.painel-lista li {
  padding-left: 1.7rem;
  position: relative;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.painel-lista--sim li::before {
  content: "✦";
  position: absolute; left: 0.1rem; top: 0.05rem;
  color: var(--gold); font-size: 0.75rem;
}
.painel-lista--nao li::before {
  content: "·";
  position: absolute; left: 0.4rem; top: -0.15rem;
  color: var(--ink-faint); font-size: 1.4rem;
}
.painel-lista--nao h3 { color: var(--ink-soft); }

/* ---------- entregáveis e bônus ---------- */

.itens {
  list-style: none;
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
}
.item h3 { margin-bottom: 0.4rem; }
.item p { font-size: 0.98rem; color: var(--ink-soft); }
.valor {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  background: #fffdf6;
}

.bonus-grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2rem;
}
.bonus {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.6rem 1.5rem;
}
.bonus .rotulo { margin-bottom: 0.5rem; font-size: 0.7rem; }
.bonus h3 { margin-bottom: 0.6rem; }
.bonus p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- stack / oferta ---------- */

.stack {
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  outline: 1px solid var(--line);
  outline-offset: 6px;
  border-radius: 12px;
  padding: 2.4rem 2.2rem;
  margin-top: 2.2rem;
}
.stack dl { display: grid; gap: 0.85rem; }
.stack .linha {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.98rem;
}
.stack .linha dt { color: var(--ink-soft); }
.stack .linha .fio {
  flex: 1;
  border-bottom: 1px dotted var(--gold-soft);
  transform: translateY(-4px);
}
.stack .linha dd { font-weight: 700; color: var(--ink); white-space: nowrap; }

.stack .total {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.stack .total b { color: var(--ink-soft); font-weight: 700; }

.preco {
  text-align: center;
  margin-top: 1.6rem;
}
.preco .hoje {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.preco .cifra {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--wine-deep);
  line-height: 1.1;
}
.preco .forma { color: var(--ink-faint); font-size: 0.95rem; }
.preco .btn { margin-top: 1.4rem; }

/* ---------- suporte / garantia ---------- */

.garantia {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem 2.2rem;
  margin-top: 2rem;
}
.selo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  outline: 1px solid var(--gold-soft);
  outline-offset: 5px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--wine-deep);
  font-family: var(--serif);
  background: radial-gradient(circle at 50% 30%, #fffdf6, var(--gold-faint));
}
.selo .n { font-size: 2.1rem; font-weight: 600; line-height: 1; }
.selo .t { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-family: var(--sans); font-weight: 700; margin-top: 0.3rem; }

/* ---------- autor ---------- */

.autor {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.2rem;
  margin-top: 2rem;
}
.autor ul { list-style: none; display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.autor li { padding-left: 1.7rem; position: relative; color: var(--ink-soft); font-size: 0.98rem; }
.autor li::before { content: "✦"; position: absolute; left: 0.1rem; top: 0.1rem; color: var(--gold); font-size: 0.75rem; }

.pendente {
  background: var(--gold-faint);
  border: 1px dashed var(--gold);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--wine);
  margin-top: 1.2rem;
}

/* ---------- FAQ ---------- */

.faq { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.15rem 0.2rem;
  font-weight: 700;
  color: var(--wine-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .resposta { padding: 0 0.2rem 1.3rem; color: var(--ink-soft); font-size: 0.99rem; }

/* ---------- oferta final ---------- */

.oferta-final {
  margin-top: 4.5rem;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(169, 126, 47, 0.12), transparent 70%),
    var(--paper-deep);
  border-top: 1px solid var(--gold-soft);
  padding: 4.5rem 1.4rem 4rem;
  text-align: center;
}
.oferta-final .miolo { max-width: 40rem; }
.recap {
  list-style: none;
  text-align: left;
  max-width: 30rem;
  margin: 2rem auto;
  display: grid;
  gap: 0.7rem;
}
.recap li { padding-left: 1.8rem; position: relative; color: var(--ink-soft); }
.recap li::before { content: "✦"; position: absolute; left: 0.15rem; top: 0.1rem; color: var(--gold); font-size: 0.78rem; }
.recap .v { color: var(--ink-faint); font-size: 0.9rem; white-space: nowrap; }

.nota-edicao {
  max-width: 32rem;
  margin: 1.8rem auto 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.bencao {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--wine);
  max-width: 30rem;
  margin: 2.6rem auto 0;
}

/* ---------- rodapé ---------- */

footer {
  text-align: center;
  padding: 2.6rem 1.4rem 3rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
footer .cruz { color: var(--gold); font-size: 1rem; display: block; margin-bottom: 0.8rem; }
footer a { color: var(--ink-soft); }

/* ---------- revelação suave ----------
   O conteúdo é visível por padrão; o efeito só é ativado via JS
   (body.js-anim) quando o IntersectionObserver está funcionando. */

body.js-anim .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
body.js-anim .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- responsivo ---------- */

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .secao { padding-top: 3.4rem; }
  .orn { margin-top: 3.4rem; }
  .depo-grade--3, .depo-grade--2, .bonus-grade, .duas-listas { grid-template-columns: 1fr; }
  .garantia { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .stack { padding: 1.8rem 1.3rem; }
  .stack .linha { flex-wrap: wrap; font-size: 0.92rem; }
  .cta-meio { margin-top: 3.4rem; }
  .oferta-final { margin-top: 3.4rem; }
  .citacao { margin-top: 3.4rem; }
}
