/* Café com Lúcia — estilo das páginas web (quiz, oferta, páginas legais). Cores de design/tokens.css. */
:root {
  --paper: #FBF7EF; --paper-2: #F5EDDF; --card: #FFFDF8;
  --ink: #2B221C; --heading: #1F1813; --muted: #6A5A4D;
  --honey: #B07A3B; --honey-deep: #8C5A22; --honey-press: #74491A;
  --olive-deep: #55603A; --azulejo: #2B4C8C;
  --rule: #E2D5C0; --line: #B9A88F;
  --tint-honey: #F3E6CC; --tint-sage: #E8EBDC; --tint-azulejo: #E7ECF5;
  --serif: 'Literata', Georgia, serif; --sans: 'Alegreya Sans', 'Segoe UI', -apple-system, sans-serif;
  --pad: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #E9E2D5; color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 29px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
a { color: var(--honey-deep); }
button { font: inherit; color: inherit; }
.page { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--paper); display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(43,34,28,.08); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--heading); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.label { font-family: var(--sans); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-deep); }
.muted { font-family: var(--sans); font-size: 15px; line-height: 22px; color: var(--muted); }
.grow { flex: 1; }
.fade { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; } }

.btn { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; min-height: 60px; padding: 0 18px; border-radius: 14px; background: var(--honey-deep); color: #fff; font-family: var(--sans); font-size: 19px; font-weight: 700; line-height: 1.25; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--honey-press); }
.btn:focus-visible, .opt:focus-visible, .link:focus-visible, .back:focus-visible { outline: 3px solid var(--azulejo); outline-offset: 2px; }
.btn[disabled] { background: #CDBFA9; cursor: default; }
.btn.big { min-height: 64px; font-size: 20px; }
.link { all: unset; cursor: pointer; display: block; text-align: center; padding: 10px; font-family: var(--sans); font-size: 16px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* Rodapé */
.footer { padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-family: var(--sans); font-size: 15px; }
.footer small { font-family: var(--sans); font-size: 13px; line-height: 19px; color: var(--muted); }

/* ---------- Quiz ---------- */
.intro-photo { height: min(56dvh, 470px); background: var(--paper-2) url(assets/quiz-hero.jpg) center 8% / cover no-repeat; position: relative; }
.intro-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(251,247,239,0) 55%, var(--paper) 100%); }
.brand { position: absolute; top: calc(16px + env(safe-area-inset-top)); left: 16px; z-index: 1; display: flex; align-items: center; gap: 8px; background: rgba(251,247,239,.9); padding: 6px 14px 6px 6px; border-radius: 999px; font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--heading); }
.brand .mark { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--honey-deep); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 13px; font-weight: 600; }
.intro-body { padding: 0 var(--pad) 28px; margin-top: -56px; position: relative; display: flex; flex-direction: column; gap: 16px; }
.intro-body h1 { font-size: 32px; line-height: 38px; }
.intro-body .muted { text-align: center; }

.qtop { padding: calc(12px + env(safe-area-inset-top)) 20px 0; }
.qtop-row { display: flex; align-items: center; gap: 8px; height: 48px; }
.back { all: unset; cursor: pointer; width: 44px; height: 44px; margin-left: -10px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--ink); border-radius: 10px; }
.qcount { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: var(--rule); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--olive-deep); transition: width .3s ease; }
.qbody { padding: 28px 20px 0; }
.qbody h2 { font-size: 27px; line-height: 34px; }
.qbody .muted { margin: 8px 0 20px; font-size: 16px; }
.opts { display: flex; flex-direction: column; gap: 12px; }
.opt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 14px; align-items: center; min-height: 64px; padding: 14px 16px; border: 1.5px solid var(--rule); border-radius: 14px; background: var(--card); font-family: var(--sans); font-size: 18px; line-height: 1.35; font-weight: 500; color: var(--heading); }
.opt .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--rule); display: flex; align-items: center; justify-content: center; }
.opt .dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.opt.sel { border-color: var(--honey-deep); background: var(--tint-honey); }
.opt.sel .dot { border-color: var(--honey-deep); }
.opt.sel .dot::after { background: var(--honey-deep); }
.qfoot { padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); }

.result { padding: calc(28px + env(safe-area-inset-top)) var(--pad) 32px; display: flex; flex-direction: column; gap: 20px; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2) url(assets/perfil.jpg) center 25% / cover; flex: none; }
.who .muted b { color: var(--heading); font-size: 16px; }
.r-lead { font-style: italic; font-size: 20px; color: var(--ink); }
.r-num { font-size: 48px; line-height: 1.05; margin-top: 6px; }
.r-tag { margin-top: 10px; color: var(--azulejo); }
.verse { background: var(--tint-azulejo); border-radius: 14px; padding: 20px; font-size: 19px; line-height: 30px; color: var(--heading); }
.verse sup { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--azulejo); margin-right: 3px; }
.verse cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 700; color: var(--azulejo); }
.prayer { background: var(--tint-honey); border-radius: 14px; padding: 20px; }
.prayer .label { margin-bottom: 8px; }
.prayer p { font-style: italic; color: var(--heading); }
.bridge { border-top: 1px solid var(--rule); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Oferta ---------- */
.o-photo { height: 320px; background: var(--paper-2) url(assets/oferta.jpg) 46% 20% / cover no-repeat; position: relative; }
.o-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(251,247,239,0) 60%, var(--paper) 100%); }
.o-sec { padding: 0 var(--pad); display: flex; flex-direction: column; gap: 16px; }
.o-title { margin-top: -10px; font-size: 38px; line-height: 42px; }
.o-sign { font-style: italic; color: var(--heading); }
.o-band { margin-top: 36px; padding: 32px var(--pad); background: var(--paper-2); display: flex; flex-direction: column; gap: 18px; }
.o-band h2, .o-sec h2 { font-size: 26px; line-height: 32px; }
.item { display: flex; gap: 16px; align-items: center; }
.item .thumb, .bump .thumb { flex: none; width: 72px; aspect-ratio: 1 / 1.414; overflow: hidden; background: var(--card); box-shadow: 0 4px 10px rgba(43,34,28,.18); }
.item .thumb img, .bump .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item h3 { font-size: 19px; line-height: 25px; font-weight: 600; margin-top: 2px; }
.item p { font-family: var(--sans); font-size: 16px; line-height: 22px; margin-top: 2px; }
.bump { border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px; display: flex; gap: 14px; align-items: center; background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 22px; }
.bump .thumb { width: 56px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: baseline; font-family: var(--sans); font-size: 17px; line-height: 24px; }
.steps li b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint-sage); color: var(--olive-deep); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; transform: translateY(6px); }
.weeks { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.weeks div { padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.weeks span { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-deep); }
.weeks em { color: var(--heading); }
.price-card { border: 1.5px solid var(--honey-deep); border-radius: 22px; padding: 28px 20px; background: var(--card); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.price-card .muted { font-size: 16px; }
.price { font-size: 56px; line-height: 1.05; font-weight: 500; color: var(--heading); }
.price small { font-size: 24px; vertical-align: .9em; margin-right: 4px; }
.price-card .btn { margin-top: 14px; }
.anchor { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 4px; font-family: var(--sans); font-size: 17px; color: var(--muted); }
.anchor s { color: var(--muted); }
.off { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--olive-deep); color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.separate { font-family: var(--sans); font-size: 15px; line-height: 22px; color: var(--muted); }
.separate summary { font-size: 15px; font-weight: 500; color: var(--muted); justify-content: center; gap: 8px; }
.separate summary::after { font-size: 18px; }
.separate ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.separate li { display: flex; justify-content: space-between; gap: 12px; }
.guarantee { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--tint-sage); border-radius: 14px; font-family: var(--sans); font-size: 16px; line-height: 23px; }
.guarantee .seal { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--olive-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--olive-deep); }
.note { background: var(--tint-azulejo); border-radius: 14px; padding: 16px; font-family: var(--sans); font-size: 16px; line-height: 23px; }
details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-family: var(--sans); font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--heading); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--honey-deep); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 8px; font-size: 17px; line-height: 27px; }

/* ---------- Páginas legais ---------- */
.legal { padding: calc(24px + env(safe-area-inset-top)) var(--pad) 32px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 27px; }
.legal h1 { font-size: 30px; line-height: 36px; }
.legal h2 { font-size: 21px; line-height: 28px; margin-top: 14px; }
.legal ul { margin: 0; padding-left: 22px; }
.legal .home { font-family: var(--sans); font-size: 15px; font-weight: 700; text-decoration: none; }
