/* Site público (landing, blog, ebooks). Mesmos tokens do app: escuro, laranja, Archivo + Inter. */
:root {
  --bg: #0e0d0c; --surface: #171615; --surface-2: #201e1c; --line: #2e2b28;
  --text: #f4efe7; --muted: #b3aba0; --faint: #958d83;
  --brand: #c44a10; --brand-hover: #d9561a; --accent: #f08a4b; --gold: #d4b25e;
  --head: 'Archivo', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif; --he: 'Frank Ruhl Libre', Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 720px; }
.kicker { font: 700 .74rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.muted { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 40ch; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(14,13,12,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 1rem var(--head); color: var(--text); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.top nav a:not(.btn):hover, .top nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 640px) { .top nav a.hide-sm { display: none; } .top nav { gap: 14px; } .top .btn { padding: 0 14px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 40px; font-size: .92rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
section { padding-block: clamp(56px, 9vw, 104px); border-top: 1px solid var(--line); }
section.first { border-top: 0; padding-top: clamp(40px, 7vw, 80px); }
.sec-head { max-width: 640px; margin-bottom: 36px; }

/* Hero */
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.hero h1 em { font-style: normal; color: var(--accent); }
.trust { margin-top: 18px; font-size: .9rem; color: var(--faint); }

/* Phone mock */
.phone { width: min(320px, 100%); margin: 0 auto; border-radius: 40px; padding: 12px; background: #050505; border: 1px solid #3a3530; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 6px #1a1816; }
.screen { border-radius: 30px; background: var(--bg); padding: 22px 16px 18px; min-height: 560px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; font: 800 .8rem var(--head); }
.screen .bar span:last-child { font: 500 .66rem var(--body); color: var(--gold); border: 1px solid #4a3f22; padding: 3px 8px; border-radius: 99px; }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.mcard.hero-c { background: linear-gradient(160deg, #24150d, var(--surface) 65%); border-color: #3a2416; }
.mcard.gold-c { background: linear-gradient(160deg, #1f1b10, var(--surface) 70%); border-color: #4a3f22; }
.mcard small { display: block; font: 600 .6rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.mcard.gold-c small { color: var(--gold); }
.mcard b { display: block; font: 800 1.15rem var(--head); }
.mcard p { margin: 4px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.mref { display: inline-block; font: 600 .62rem var(--body); color: var(--gold); background: #2a2414; border-radius: 5px; padding: 3px 6px; margin-right: 4px; }
.mock-note { text-align: center; font-size: .78rem; color: var(--faint); margin-top: 12px; }

/* Steps (sequência real do método) */
.steps { display: grid; gap: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.step { padding: 22px 18px; border-right: 1px solid var(--line); background: var(--surface); min-width: 0; }
.step:last-child { border-right: 0; }
.step b { display: block; font: 800 .74rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* Feature grid */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; min-width: 0; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card .tag { display: inline-block; font: 600 .7rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s; display: block; }
a.card:hover { border-color: #5a4a3a; }

/* Ebook covers */
.cover { aspect-ratio: 3/4; max-width: min(100%, 280px); border-radius: 10px; padding: 22px 18px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 16px; color: #fff;
  background: linear-gradient(165deg, #3a1a0b 0%, #160f0b 70%); border: 1px solid #4a2a16; }
.cover.c2 { background: linear-gradient(165deg, #2b2410 0%, #12100b 70%); border-color: #4a3f22; }
.cover.c3 { background: linear-gradient(165deg, #1c2430 0%, #0d0f12 70%); border-color: #2a3442; }
.cover small { font: 700 .62rem var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.cover strong { font: 800 1.35rem/1.12 var(--head); }
.cover span { font-size: .72rem; opacity: .75; }

/* About */
.about .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .about .wrap { grid-template-columns: 380px 1fr; } }
.about img { border-radius: 20px; width: 100%; max-width: 380px; aspect-ratio: 1; object-fit: cover; }
.sig { font-style: italic; color: var(--muted); border-left: 3px solid var(--brand); padding-left: 14px; }

/* Waitlist / forms */
.panel { background: linear-gradient(160deg, #24150d 0%, var(--surface) 60%); border: 1px solid #3a2416; border-radius: 22px; padding: clamp(24px, 5vw, 48px); }
.form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 18px; }
.form input[type=text], .form input[type=email], .form input[type=tel] { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.form .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.ok { color: #8fd3a6; font-weight: 600; }
.err { color: #f0a090; }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { cursor: pointer; font: 700 1.05rem var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin: 10px 0 0; color: var(--muted); }

/* Blog */
.post-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-meta { font-size: .86rem; color: var(--faint); margin-bottom: 8px; }
article.post { padding-block: 40px 72px; }
article.post .body { max-width: 68ch; }
article.post .body h2 { font-size: 1.55rem; margin-top: 1.8em; }
article.post .body h3 { font-size: 1.18rem; margin-top: 1.4em; }
article.post .body ul, article.post .body ol { padding-left: 1.2em; }
article.post .body li { margin-bottom: .4em; }
article.post .body blockquote { margin: 1.4em 0; padding: 4px 18px; border-left: 3px solid var(--gold); color: var(--muted); }
article.post .body strong { color: var(--text); }
.crumbs { font-size: .86rem; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.cta-box { margin: 2em 0; padding: 22px; border-radius: 16px; background: linear-gradient(160deg, #24150d 0%, var(--surface) 65%); border: 1px solid #3a2416; }
.cta-box h3 { margin-bottom: 6px; }
.cta-box p { color: var(--muted); margin-bottom: 14px; }
.cta-box.ebook { background: linear-gradient(160deg, #1f1b10 0%, var(--surface) 70%); border-color: #4a3f22; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--faint); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
/* Links dentro de texto: sublinhados (não dependem só da cor) */
p a, li a, .body a, .crumbs a, details.faq a, .msg a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
footer .wrap > div a { text-decoration: underline; text-underline-offset: 3px; }
.card h2.h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .45em; }

/* Página do Clube */
.price-peek { background: linear-gradient(160deg, #24150d 0%, var(--surface) 65%); border: 1px solid #3a2416; border-radius: 22px; padding: 32px; max-width: 380px; justify-self: center; width: 100%; }
.price-peek .big { font: 800 3.2rem/1 var(--head); margin: 10px 0; }
.price-peek .big small, .preco small { font: 500 1rem var(--body); color: var(--muted); margin-left: 4px; }
ul.dores { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
ul.dores li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 46px; position: relative; color: var(--muted); }
ul.dores li::before { content: ''; position: absolute; left: 18px; top: 22px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent); }
.destaque { font: 700 1.3rem/1.35 var(--head); color: var(--text); border-left: 3px solid var(--brand); padding-left: 16px; margin-top: 24px; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.tbl th, .tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { font: 600 .74rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: center; white-space: nowrap; }
.tbl .col-clube { background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--text); font-weight: 600; }
.sim { color: #8fd3a6; font-weight: 800; } .nao { color: var(--faint); }
.planos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); max-width: 760px; margin: 0 auto; }
.plano { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.plano .btn { margin-top: auto; }
.plano.destaque-plano { border: 2px solid var(--brand); background: linear-gradient(160deg, #24150d 0%, var(--surface) 70%); }
.selo { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font: 700 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; }
.preco { font: 800 2.6rem/1 var(--head); margin: 6px 0 4px; }
.garantia { text-align: center; color: var(--muted); max-width: 560px; margin: 26px auto 0; }
ol.passos { padding-left: 1.3em; display: grid; gap: 12px; margin: 22px 0; }
ol.passos li { padding-left: 6px; color: var(--muted); } ol.passos li b { color: var(--text); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: #8fd3a6; font-weight: 800; }
.grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .grid.g2 { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .logo-txt { display: none; } .top .btn { white-space: nowrap; } }
.tbl td:first-child { min-width: 180px; }
@media (max-width: 520px) { .tbl table { font-size: .88rem; } .tbl th, .tbl td { padding: 11px 12px; } }

/* ── Blog estilo portal ── */
.blog-top { padding-bottom: 20px; }
.blog-head { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.blog-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 0; }
.busca input { min-height: 46px; width: min(340px, 100%); padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.chips-cat { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.chips-cat::-webkit-scrollbar { display: none; }
.chips-cat a { flex: none; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chips-cat a[aria-current="page"], .chips-cat a:hover { background: #3a1e10; border-color: var(--brand); color: #ffd9c2; }
.destaque { display: grid; gap: 0; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
@media (min-width: 860px) { .destaque { grid-template-columns: 1.25fr 1fr; } }
.destaque .thumb { aspect-ratio: 1200/630; }
.d-body { padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.d-body h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.d-body p { color: var(--muted); margin: 0; }
.d-body .btn { align-self: flex-start; margin-top: 6px; }
.blog-lista { border-top: 0; padding-top: 12px; }
.blog-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .blog-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.post-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .15s, transform .15s; min-width: 0; }
.post-card:hover { border-color: #5a4a3a; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .post-card:hover { transform: none; } }
.thumb { display: block; width: 100%; aspect-ratio: 1200/630; object-fit: cover; background: var(--surface-2); }
div.thumb { display: grid; place-items: end start; padding: 14px; font: 800 1rem var(--head); color: #fff; }
.thumb-sonhos { background: linear-gradient(150deg, #3a1a0b, #120d0a); }
.thumb-numeros-e-cores { background: linear-gradient(150deg, #1c2430, #0d0f12); }
.thumb-calendario-biblico { background: linear-gradient(150deg, #2b2410, #12100b); }
.thumb-discernimento { background: linear-gradient(150deg, #22142a, #0f0b12); }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-body h3 { font-size: 1.05rem; margin: 0; }
.pc-body p { color: var(--muted); font-size: .9rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-cat { font: 700 .7rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pc-meta { margin-top: auto; padding-top: 6px; font-size: .8rem; color: var(--faint); }
.lateral { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1000px) { .lateral { position: sticky; top: 84px; align-self: start; } }
.promo { background: linear-gradient(160deg, #24150d 0%, var(--surface) 65%); border: 1px solid #3a2416; border-radius: 18px; padding: 22px; }
.promo h3 { font-size: 1.15rem; }
.promo p { color: var(--muted); font-size: .92rem; }
.ad { min-height: 0; }
.ad .ad-label { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.ad.casa { background: var(--surface); border: 1px dashed #4a3f22; border-radius: 16px; padding: 18px; }
.ad.casa b { font-family: var(--head); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.ad.casa p { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.post-grid > .ad { grid-column: 1 / -1; }
.body .ad, .post-main > .ad { margin: 28px 0; }
/* Post */
article.post .post-main { min-width: 0; }
article.post h1 { max-width: 24ch; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.post-capa { margin: 0 0 24px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 26px; max-width: 68ch; }
.toc b { font-family: var(--head); }
.toc ol { margin: 8px 0 0; padding-left: 20px; } .toc li { margin: 4px 0; }
.toc a { color: var(--muted); text-decoration: none; } .toc a:hover { color: var(--text); text-decoration: underline; }
.body h2[id] { scroll-margin-top: 84px; }
.autor { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 30px 0; max-width: 68ch; }
.autor img { border-radius: 12px; flex: none; }
.autor p { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }
.leia h2 { font-size: 1.4rem; margin: 10px 0 16px; }
/* Aviso de cookies */
.cookies { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 640px; margin: 0 auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.cookies p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.cookies .row { justify-content: flex-end; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
textarea.full { grid-column: 1 / -1; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; resize: vertical; }
