/* Advento da Reforma — Família Werner
   Layout: coluna editorial estreita sobre papel claro; blocos verde-oliva marcam os momentos de decisão. */
:root {
  --paper: #F5F2EA;
  --paper-2: #ECE7DA;
  --card: #FBFAF6;
  --ink: #1F2418;
  --ink-soft: #545A4A;
  --olive: #2D3622;
  --olive-2: #3B4630;
  --gold: #B39A5E;
  --gold-soft: #D9CBA2;
  --line: #DCD5C3;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 4.2vw, 2.6rem);
  --step-4: clamp(2.6rem, 7vw, 4.4rem);

  --radius: 14px;
  --wrap: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 680px; }
section { padding-block: clamp(56px, 9vw, 104px); }

/* topo */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; background: var(--olive); color: var(--gold-soft); display: grid; place-items: center; font-size: .8rem; letter-spacing: .02em; }
.top small { color: var(--ink-soft); font-size: var(--step--1); }
.back { font-size: var(--step--1); color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--ink); }

/* etiquetas e botões */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-2); background: var(--paper-2); padding: 6px 12px; border-radius: 999px; }
.eyebrow.on-dark { background: rgba(217,203,162,.16); color: var(--gold-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem/1 var(--body); text-decoration: none; padding: 17px 26px; border-radius: 10px; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--olive); color: #F5F2EA; }
.btn-primary:hover { background: var(--olive-2); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.btn-block { width: 100%; }
.note { font-size: var(--step--1); color: var(--ink-soft); }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 80px) clamp(56px, 8vw, 96px); background: radial-gradient(120% 80% at 50% 0%, #FBF9F3 0%, var(--paper) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-4); color: var(--olive); margin-top: 18px; }
.hero .ages { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--gold); font-size: var(--step-2); margin-top: 6px; }
.hero .lede { font-size: var(--step-1); color: var(--ink-soft); margin-top: 20px; max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(31,36,24,.45); background: #fff; }
.hero-figure figcaption { text-align: center; margin-top: 14px; }

/* cabeçalho de seção */
.sec-head { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head h2 { font-size: var(--step-3); color: var(--olive); }
.sec-head .sub { font-family: var(--display); font-style: italic; color: var(--gold); margin-top: 6px; }
.sec-head p.lead { color: var(--ink-soft); margin-top: 14px; }

/* estrutura de cada dia */
.parts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.part { grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.part:nth-child(4), .part:nth-child(5) { grid-column: span 3; }
.part svg { width: 22px; height: 22px; stroke: var(--olive); }
.part .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; }
.part h3 { font-size: var(--step-1); color: var(--ink); }
.part p { color: var(--ink-soft); font-size: .98rem; }

/* benefícios */
.band { background: var(--card); border-block: 1px solid var(--line); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 56px; }
.benefit { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.benefit .mark { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; margin-top: 3px; }
.benefit .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.benefit h3 { font-family: var(--body); font-weight: 600; font-size: var(--step-1); letter-spacing: 0; }
.benefit p { color: var(--ink-soft); margin-top: 6px; }

/* roteiro */
.days { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.day { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.day .n { width: 42px; height: 42px; border-radius: 9px; background: var(--olive); color: var(--gold-soft); display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.day h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.day p { font-size: .94rem; color: var(--ink-soft); }
.day .tag { font-size: .78rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

/* volumes */
.volumes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vol { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vol img { aspect-ratio: 1; width: 100%; object-fit: cover; background: #fff; }
.vol-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vol .chip { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-2); background: var(--paper-2); border-radius: 999px; padding: 4px 10px; }
.vol h3 { font-size: var(--step-2); color: var(--olive); }
.vol p { color: var(--ink-soft); font-size: .97rem; }

/* olhar por dentro */
.inside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 820px; margin-inline: auto; }
.inside figure { margin: 0; }
.inside img { border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(31,36,24,.5); }
.inside figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* chamada final */
.cta-block { background: var(--olive); color: #F0ECE0; border-radius: 22px; padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 10%, rgba(179,154,94,.22), transparent 70%); pointer-events: none; }
.cta-block > * { position: relative; }
.cta-block h2 { font-size: var(--step-3); color: #F7F3E8; margin-top: 16px; }
.cta-block p { max-width: 54ch; margin: 16px auto 0; color: #D8D4C6; }
.cta-block .btn { margin-top: 28px; }

/* rodapé */
.foot { background: var(--olive); color: #CFCBBE; font-size: var(--step--1); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; }
.foot a { color: var(--gold-soft); }

/* família (página de oferta) */
.family { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.family img { border-radius: 18px; }
.family h2 { font-size: var(--step-3); color: var(--olive); margin-top: 14px; }
.family .names { font-family: var(--display); font-style: italic; color: var(--gold); margin-top: 6px; }
.family p.body { color: var(--ink-soft); margin-top: 16px; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.timeline div { border-top: 2px solid var(--gold); padding-top: 10px; }
.timeline b { display: block; font-variant-numeric: tabular-nums; color: var(--olive); }
.timeline span { font-size: .9rem; color: var(--ink-soft); }

.mission { text-align: center; }
.mission blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--display); font-size: var(--step-3); line-height: 1.2; color: var(--olive); }
.mission cite { display: block; margin-top: 14px; font-style: normal; font-size: var(--step--1); color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.stat { border-left: 1px solid var(--line); padding-left: 16px; text-align: left; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: var(--step-3); color: var(--olive); font-variant-numeric: tabular-nums; line-height: 1; }
.stat span { font-size: .9rem; color: var(--ink-soft); }

.invest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin-top: 8px; }
.invest li { list-style: none; padding-left: 26px; position: relative; color: var(--ink-soft); }
.invest li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--gold); }
.invest ul { padding: 0; margin: 0; display: contents; }

/* Pix */
.give { background: var(--olive); color: #EFEBDF; }
.give .sec-head h2 { color: #F7F3E8; }
.give .sec-head p.lead { color: #CFCBBE; }
.verse { font-family: var(--display); font-style: italic; color: var(--gold-soft); font-size: var(--step-1); }
.pix { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); background: #FBFAF6; color: var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 40px); max-width: 900px; margin-inline: auto; }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; }
.qr canvas, .qr img { width: 100%; height: auto; image-rendering: pixelated; }
.qr p { font-size: .82rem; color: var(--ink-soft); margin-top: 8px; }
.pix-opts { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pix-opts h3 { font-family: var(--body); font-size: var(--step-1); font-weight: 600; letter-spacing: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font: 500 .95rem var(--body); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.copy-row button { font: 600 .9rem var(--body); padding: 0 16px; border-radius: 10px; border: 0; background: var(--olive); color: #F5F2EA; cursor: pointer; white-space: nowrap; }
.copy-row button.done { background: var(--gold); color: var(--ink); }
.alt { font-size: .92rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; }
.alt a { color: var(--olive); font-weight: 600; }
.suggest { font-size: .92rem; color: var(--ink-soft); }

.next { text-align: center; }
.next h2 { font-size: var(--step-3); color: var(--olive); }
.next p { color: var(--ink-soft); margin: 12px auto 26px; max-width: 52ch; }

/* downloads */
.thanks { text-align: center; }
.thanks h1 { font-size: var(--step-4); color: var(--olive); margin-top: 16px; }
.thanks p { color: var(--ink-soft); font-size: var(--step-1); margin: 16px auto 0; max-width: 46ch; }
.dl-all { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--olive); color: #EFEBDF; border-radius: var(--radius); padding: 22px 26px; margin-top: 22px; }
.dl-all h3 { font-family: var(--body); font-weight: 600; font-size: var(--step-1); letter-spacing: 0; color: #F7F3E8; }
.dl-all p { color: #CFCBBE; font-size: .92rem; }
.vol .btn { margin-top: auto; }
.vol .meta { font-size: .82rem; color: var(--ink-soft); }
.howto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.howto h3 { font-family: var(--body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; }
.howto p { color: var(--ink-soft); margin-top: 6px; font-size: .97rem; }
.follow { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.follow h2 { font-size: var(--step-2); color: var(--olive); }
.follow p { color: var(--ink-soft); margin-top: 8px; }
.follow .actions { display: flex; flex-direction: column; gap: 10px; }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; font-size: .95rem; }
.contacts b { color: var(--ink); font-weight: 600; }
.contacts span { color: var(--ink-soft); }

/* responsivo */
@media (max-width: 860px) {
  .hero-grid, .family { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .actions { justify-content: center; flex-direction: column; }
  .hero-figure { max-width: 440px; margin-inline: auto; }
  .parts { grid-template-columns: 1fr 1fr; }
  .part, .part:nth-child(4), .part:nth-child(5) { grid-column: span 1; }
  .part:nth-child(5) { grid-column: span 2; }
  .volumes { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .pix { grid-template-columns: 1fr; }
  .qr { max-width: 280px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .follow { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .benefits, .howto, .invest, .inside { grid-template-columns: 1fr; }
  .parts { grid-template-columns: 1fr; }
  .part:nth-child(5) { grid-column: span 1; }
  .day { grid-template-columns: 42px minmax(0, 1fr); padding: 14px 16px; gap: 14px; }
  .day .tag { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .hero .actions .btn { width: 100%; }
  .copy-row { flex-direction: column; }
  .copy-row button { padding: 12px; }
}

/* guia de aprofundamento (página de materiais) */
.guide { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); margin-top: 22px; }
.guide img { border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 14px 30px -22px rgba(31,36,24,.5); background: #fff; }
.guide-body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.guide .chip { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-2); background: var(--paper-2); border-radius: 999px; padding: 4px 10px; }
.guide h3 { font-size: var(--step-2); color: var(--olive); }
.guide p { color: var(--ink-soft); max-width: 60ch; }
.guide .meta { font-size: .82rem; }
@media (max-width: 600px) {
  .guide { grid-template-columns: 1fr; }
  .guide img { max-width: 180px; }
  .guide .btn { width: 100%; }
}
