/* Quizzes do ORA10. Mesma marca do app e do site: verde-noite, dourado, Literata e DM Sans.
   A assinatura é a barra de progresso em 2 + 3 + 3 + 2, os quatro tempos dos 10 minutos do Método ORA10. */
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-display: swap; src: url("../fonts/literata-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/literata-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 600 700; font-display: swap; src: url("../fonts/literata-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 600 700; font-style: italic; font-display: swap; src: url("../fonts/literata-latin-600-italic.woff2") format("woff2"); }

:root {
  --night: #1F3B30; --deep: #132A22; --night-2: #2A4C3E; --gold: #C9A063; --gold-soft: #E3C996; --gold-ink: #8A6A35;
  --paper: #F4F5F1; --soft: #EAEDE5; --white: #FFFFFF;
  --ink: #1B2620; --muted: #5F6A63; --line: rgba(31, 59, 48, .14);
  --on-dark: #EFEBDF; --on-dark-muted: #B4C1B9;
  --serif: "Literata", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --col: 34rem;
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100dvh; }
body[data-type="cover"] { background: var(--deep); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button, a, input, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
h1:focus { outline: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
noscript p { padding: 2rem 1.25rem; max-width: var(--col); margin: 0 auto; }

#quiz { max-width: var(--col); margin: 0 auto; padding: 0 max(1.25rem, env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left)); min-height: 100dvh; display: flex; flex-direction: column; }
.screen { flex: 1; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.wordmark { font: 700 1.05rem/1 var(--sans); letter-spacing: .02em; }
.wordmark b { color: var(--gold); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 999px; padding: .95rem 1.4rem; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .12s ease, background-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .4; cursor: default; transform: none; }
.btn.block { display: flex; width: 100%; }
.btn-dark { background: var(--night); color: var(--on-dark); }
.btn-dark:hover:not(:disabled) { background: var(--night-2); }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { background: transparent; color: var(--night); box-shadow: inset 0 0 0 1.5px var(--night); }
.btn-ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(239, 235, 223, .4); }
.link { background: none; border: 0; padding: .6rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .95rem; }

/* ---------- capa ---------- */
.cover { color: var(--on-dark); margin: 0 -1.25rem; padding: 0 1.25rem; background:
  radial-gradient(120% 60% at 50% 0%, rgba(201, 160, 99, .16), transparent 60%), var(--deep); }
.cover-in { padding: calc(1.6rem + env(safe-area-inset-top)) 0 1.5rem; }
.cover .brand { margin: 0 0 1.8rem; }
.cover h1 { font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.08; }
.cover .lead { color: var(--on-dark-muted); margin: 1rem 0 0; font-size: 1.08rem; }
.cover .meta { margin: .9rem 0 0; font-size: .9rem; color: var(--gold-soft); }
.cover .ask { font: 600 1.15rem/1.3 var(--serif); margin: 1.8rem 0 .9rem; }
.cover .opt { background: rgba(239, 235, 223, .06); border-color: rgba(239, 235, 223, .2); color: var(--on-dark); }
.cover .opt:hover { border-color: var(--gold); }
.cover .opt.on { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.cover .opt small { color: var(--on-dark-muted); }
.cover .opt.on small { color: var(--deep); }
.opt-link { text-decoration: none; }

/* ---------- topo: voltar + barra 2-3-3-2 ---------- */
.top { display: flex; align-items: flex-start; gap: .6rem; margin: 0 -1.25rem; padding: calc(1rem + env(safe-area-inset-top)) 1.25rem 0; position: sticky; top: 0; background: var(--paper); z-index: 2; }
.back { flex: none; width: 2.75rem; height: 2.75rem; margin: -.7rem 0 0 -.7rem; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.back svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--night); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.back:hover { background: var(--soft); }
.bar { flex: 1; display: flex; gap: 5px; padding-bottom: 1.4rem; }
.back[hidden] + .bar { margin-left: 0; }
.seg { position: relative; height: 5px; border-radius: 3px; background: var(--soft); }
.seg i { position: absolute; inset: 0; border-radius: inherit; background: var(--night); transform-origin: left; transition: transform .35s ease; }
.seg em { position: absolute; left: 0; top: .6rem; font: 500 clamp(.66rem, 2.6vw, .72rem)/1 var(--sans); font-style: normal; color: var(--muted); white-space: nowrap; }
.seg.now em { color: var(--night); font-weight: 700; }

/* ---------- perguntas ---------- */
.q h1, .info h1, .loader h1 { font-size: clamp(1.55rem, 6vw, 1.9rem); line-height: 1.18; margin-top: 1.4rem; }
.sub { color: var(--muted); margin: .6rem 0 0; }
.list { display: grid; gap: .6rem; margin-top: 1.4rem; }
.opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; width: 100%; text-align: left; padding: .95rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; font-weight: 500; line-height: 1.35; transition: border-color .15s ease, background-color .15s ease, transform .12s ease; }
.opt:hover { border-color: var(--night); }
.opt:active { transform: scale(.99); }
.opt.on { background: var(--night); border-color: var(--night); color: var(--on-dark); }
.opt small { font-size: .82rem; color: var(--muted); font-weight: 400; }
.opt.on small { color: var(--on-dark-muted); }
.opt-verse span { font: italic 400 1.05rem/1.4 var(--serif); }
.opt .tick { position: absolute; right: 1rem; top: 50%; width: 1.3rem; height: 1.3rem; margin-top: -.65rem; border-radius: 6px; border: 1.5px solid var(--line); }
.opt:has(.tick) { padding-right: 3rem; }
.opt.on .tick { background: var(--gold); border-color: var(--gold); }
.opt.on .tick::after { content: ""; position: absolute; left: .38rem; top: .14rem; width: .35rem; height: .7rem; border: solid var(--deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.q .go { margin-top: 1.4rem; }

/* ---------- respiro ---------- */
.info { display: flex; flex-direction: column; justify-content: center; padding-bottom: 3rem; }
.info .sub { font-size: 1.1rem; }
.info .go { margin-top: 2rem; }
.info-mark { display: flex; gap: 5px; width: 7.5rem; }
.info-mark::before, .info-mark::after { content: ""; height: 5px; border-radius: 3px; background: var(--gold); }
.info-mark::before { flex: 5; }
.info-mark::after { flex: 5; background: linear-gradient(90deg, var(--gold) 0 60%, var(--soft) 60%); }

/* ---------- montando ---------- */
.loader { text-align: center; }
.ring { position: relative; width: 9rem; height: 9rem; margin: 2.2rem auto 1.6rem; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--soft); stroke-width: 8; }
.ring .arc { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset .1s linear; }
.pct { position: absolute; inset: 0; display: grid; place-items: center; font: 600 1.7rem/1 var(--serif); color: var(--night); }
.checks { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: .55rem; max-width: 19rem; text-align: left; }
.checks li { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .2s ease; }
.checks li.done { color: var(--ink); }
.checks li.done::before { background: var(--night); border-color: var(--night); box-shadow: inset 0 0 0 3px var(--paper); }
.askbox { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); width: min(var(--col), calc(100% - 2rem)); transform: translateX(-50%); background: var(--white); border-radius: 22px; padding: 1.3rem; box-shadow: 0 24px 60px -20px rgba(19, 42, 34, .45), 0 0 0 1px var(--line); text-align: center; animation: rise .25s ease; z-index: 5; }
.askbox p { font: 600 1.2rem/1.3 var(--serif); margin: 0 0 1rem; }
.askbox div { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@keyframes rise { from { transform: translate(-50%, 1rem); opacity: 0; } }

/* ---------- formulários ---------- */
.form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .35rem; font-size: .9rem; font-weight: 500; color: var(--muted); }
.field input { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: .95rem 1rem; background: var(--white); font-size: 1.05rem; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(201, 160, 99, .35); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--night); }
.err { margin: 0; color: #9A3B2B; font-size: .92rem; font-weight: 500; }
.skip { justify-self: center; }

/* ---------- resultado ---------- */
.result { padding-top: .4rem; padding-bottom: 4.5rem; }
.res-head { margin-top: 1.4rem; }
.kicker { margin: 0; color: var(--muted); font-size: .95rem; }
.res-head h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); line-height: 1; margin-top: .45rem; color: var(--night); }
.res-title { margin: .4rem 0 0; font: italic 400 1.35rem/1.25 var(--serif); color: var(--gold-ink); }
.res-text { margin: 1.3rem 0 0; font-size: 1.08rem; }
.verse { margin: 1.6rem 0 0; padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--gold); }
.verse p { margin: 0; font: italic 400 1.15rem/1.5 var(--serif); }
.verse cite { display: block; margin-top: .45rem; font: 500 .85rem/1 var(--sans); font-style: normal; color: var(--muted); }
.duo { display: grid; gap: .8rem; margin-top: 1.6rem; }
.duo > div { background: var(--white); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: 0 0 0 1px var(--line); }
.duo h2, .block h2 { font-size: 1.05rem; }
.duo p { margin: .35rem 0 0; font-size: .98rem; }
@media (min-width: 30rem) { .duo { grid-template-columns: 1fr 1fr; } }
.block { margin-top: 2rem; }
.block h2 { font-size: 1.3rem; }
.plan { list-style: none; counter-reset: p; padding: 0; margin: 1rem 0 0; display: grid; gap: 0; }
.plan li { counter-increment: p; display: grid; grid-template-columns: 2rem 1fr auto; gap: .8rem; align-items: start; padding: .9rem 0; border-top: 1px solid var(--line); }
.plan li::before { content: counter(p); width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font: 600 .95rem/1 var(--serif); color: var(--night); }
.plan li > span { display: grid; gap: .1rem; }
.plan b { font-weight: 700; }
.plan small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.plan em { font: 700 .72rem/1 var(--sans); font-style: normal; padding: .35rem .55rem; border-radius: 999px; margin-top: .3rem; }
.plan em.free { background: var(--soft); color: var(--night); }
.plan em.prem { background: rgba(201, 160, 99, .22); color: var(--gold-ink); }
.ticks { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .35rem; width: .5rem; height: .9rem; border: solid var(--gold-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ticks.light li::before { border-color: var(--gold); }
.also { margin: 1.4rem 0 0; color: var(--muted); }
.saved { margin: 1.6rem 0 0; padding: .9rem 1.1rem; border-radius: 14px; background: var(--soft); font-size: .95rem; }
.keep { background: var(--white); border-radius: 20px; padding: 1.3rem; box-shadow: 0 0 0 1px var(--line); }
.keep .form { margin-top: 1rem; }
.ruler { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ruler li { padding-top: .7rem; border-top: 5px solid var(--soft); font-size: .85rem; color: var(--muted); border-radius: 3px 3px 0 0; }
.ruler li.on { border-color: var(--night); color: var(--night); font-weight: 700; }
.ruler li:has(~ .on) { border-color: var(--gold); }

/* ---------- oferta ---------- */
.offer { margin: 2.4rem -1.25rem 0; padding: 2rem 1.25rem 1.6rem; background: var(--deep); color: var(--on-dark); border-radius: 28px 28px 0 0; overflow: hidden; }
.offer h2 { font-size: 1.6rem; line-height: 1.15; }
.offer > p { color: var(--on-dark-muted); margin: .6rem 0 1.3rem; }
.offer .fine { color: var(--on-dark-muted); font-size: .85rem; margin: .8rem 0 0; }
.offer .fine b { color: var(--on-dark); }
.shots { display: flex; justify-content: center; margin: 1.6rem 0 0; height: 17rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.shots img { width: 8.6rem; height: auto; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); align-self: flex-start; }
.shots img + img { margin: 2.2rem 0 0 -1.6rem; }
.annual { display: grid; gap: .3rem; margin-top: 1.3rem; padding: 1.2rem 1.1rem 1.1rem; border-radius: 22px; background: rgba(239, 235, 223, .07); box-shadow: inset 0 0 0 2px var(--gold); text-decoration: none; color: var(--on-dark); }
.an-top { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.an-name { font-weight: 700; }
.an-tag { font-size: .78rem; color: var(--gold-soft); }
.an-price { font: 600 2.6rem/1 var(--serif); color: var(--white); margin-top: .2rem; }
.an-price small { font: 500 .9rem var(--sans); color: var(--on-dark-muted); margin-left: .4rem; }
.an-note { font-size: .9rem; color: var(--on-dark-muted); }
.annual .btn { margin-top: .9rem; }
.annual:hover .btn { background: var(--gold-soft); }
.offer .ticks { margin-top: 1.2rem; }
.monthly { display: block; margin: 1.1rem 0 0; text-align: center; font-size: .9rem; color: var(--on-dark-muted); text-underline-offset: 3px; padding: .5rem; }
.free-link { margin: 1.6rem 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
.free-link a { color: var(--night); font-weight: 700; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem max(1rem, env(safe-area-inset-right)) calc(.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: var(--deep); color: var(--on-dark); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .5); animation: up .25s ease; }
.sticky span { display: grid; line-height: 1.25; }
.sticky small { color: var(--on-dark-muted); font-size: .8rem; }
.sticky .btn { padding: .75rem 1.5rem; }
@keyframes up { from { transform: translateY(100%); } }
@media (min-width: 48rem) { .sticky { left: 50%; right: auto; width: var(--col); transform: translateX(-50%); bottom: 1rem; border-radius: 18px; animation: none; } }
.faq { margin-top: 2.2rem; }
.faq h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.faq details { border-top: 1px solid var(--line); padding: .85rem 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font: 400 1.3rem/1 var(--serif); color: var(--gold-ink); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: .5rem 0 0; color: var(--muted); }
.again { display: block; margin: 1.6rem auto 0; }

/* ---------- rodapé e cookies ---------- */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0 .4rem; margin-top: 2rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
body[data-type="cover"] .foot { border-color: rgba(239, 235, 223, .14); color: var(--on-dark-muted); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- recomeço: os 10 minutos de amanhã ---------- */
.change { margin: 1.4rem 0 0; font: 600 1.15rem/1.4 var(--serif); color: var(--night); }
.care { margin: 1.2rem 0 0; padding: .9rem 1.1rem; border-radius: 14px; background: var(--soft); font-size: .92rem; color: var(--muted); }
.ten { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 1.1rem; }
.ten li { display: grid; gap: .25rem; }
/* cada tempo aparece no seu lugar da linha dos 10 minutos (0-2, 2-5, 5-8, 8-10) */
.ten-bar { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, transparent calc(var(--o) * 10%), var(--gold) calc(var(--o) * 10%), var(--gold) calc((var(--o) + var(--m)) * 10%), var(--soft) calc((var(--o) + var(--m)) * 10%)); margin-bottom: .35rem; }
.ten b { font-weight: 700; }
.ten small { font-weight: 500; color: var(--muted); margin-left: .3rem; }
.ten p { margin: 0; color: var(--ink); }
