/* Quiz, plano e página de confirmação. Marca fixa (brandbook): não muda com o tema do aparelho,
   como a página do e-book. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #12263B; --navy-2: #0c1b2b; --petroleo: #037C9B; --turquesa: #14B4B5; --agua: #2FC9BD; --menta: #8EF4CD;
  --nevoa: #F3F7F7; --branco: #FFFFFF; --ardosia: #5B6B78; --linha: #d9e4e6; --erro: #b3261e;
  --grad: linear-gradient(120deg, #036F92 0%, #0AA3B0 55%, #2FCABD 100%);
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nevoa); color: var(--navy); font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { letter-spacing: -0.02em; text-wrap: balance; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--agua); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--petroleo); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 800; font-size: 16px; border: 0; border-radius: 999px; padding: 15px 26px; text-decoration: none; cursor: pointer; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(3,124,155,.28); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--linha); }
.btn.wa { background: #1fa855; color: #fff; box-shadow: 0 10px 24px rgba(31,168,85,.28); }
.btn.big { width: 100%; min-height: 56px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ── Quiz ── */
body.quiz { min-height: 100dvh; display: flex; flex-direction: column; background: var(--navy); }
.top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px max(16px, env(safe-area-inset-left)); max-width: 640px; width: 100%; margin: 0 auto; }
.top .logo img { height: 26px; width: auto; }
.progress { height: 6px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .35s ease; }
.back { font: inherit; font-size: 14px; font-weight: 700; color: #b8c9d6; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.stage { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 8px 16px 40px; }
.step { display: none; background: var(--branco); border-radius: 22px; padding: 28px 22px 26px; box-shadow: 0 24px 60px rgba(7,18,30,.35); animation: in .3s ease; }
.step.on { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } .progress i { transition: none; } }
.step h1 { margin-top: 10px; font-size: clamp(28px, 7.4vw, 40px); font-weight: 800; line-height: 1.08; }
.step h1 em { font-style: normal; color: var(--petroleo); }
.step h2 { font-size: clamp(22px, 5.8vw, 28px); font-weight: 800; line-height: 1.18; }
.step .lead { margin-top: 14px; font-size: 17px; color: var(--ardosia); }
.step .lead b { color: var(--navy); }
.count { font-size: 13px; font-weight: 700; color: var(--petroleo); margin-bottom: 8px; }
.hint { margin-top: 8px; font-size: 15px; color: var(--ardosia); }
.fine { margin-top: 12px; font-size: 13px; color: var(--ardosia); text-align: center; }
.checks { margin: 20px 0 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.opts { margin-top: 20px; display: grid; gap: 10px; }
.opts button { font: inherit; font-size: 16px; font-weight: 600; text-align: left; color: var(--navy); background: var(--nevoa); border: 1.5px solid var(--linha); border-radius: 14px; padding: 16px 18px; min-height: 56px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.opts button:hover { border-color: var(--turquesa); }
.opts button.picked { border-color: var(--turquesa); background: #e3f7f6; box-shadow: 0 0 0 3px rgba(20,180,181,.18); }

.analyzing { display: grid; justify-items: center; gap: 16px; padding: 40px 0; text-align: center; color: var(--ardosia); font-weight: 600; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--linha); border-top-color: var(--turquesa); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-body h2 { margin-top: 6px; color: var(--petroleo); }
.result-body > p { margin-top: 12px; color: var(--ardosia); }
.pain { margin-top: 16px; padding: 14px 16px; background: #fff7e6; border-left: 4px solid #f0a020; border-radius: 0 10px 10px 0; font-size: 15px; }
.pain:empty { display: none; }
.preview { margin: 20px 0 22px; padding: 18px; background: var(--nevoa); border-radius: 14px; }
.preview > p:not(.eyebrow) { margin-top: 6px; font-size: 15px; }
.preview ol { margin-top: 12px; padding-left: 0; list-style: none; counter-reset: d; display: grid; gap: 8px; }
.preview li { counter-increment: d; position: relative; padding-left: 52px; font-size: 15px; font-weight: 600; line-height: 1.35; min-height: 24px; }
.preview li::before { content: "Dia " counter(d); position: absolute; left: 0; top: 1px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--petroleo); background: #dff3f4; border-radius: 6px; padding: 2px 6px; }
:lang(en) .preview li::before { content: "Day " counter(d); }
.preview li.blur { filter: blur(3px); user-select: none; }
.plan-hint { margin-bottom: 16px; font-size: 14px; color: var(--ardosia); }

.field { margin-top: 18px; display: grid; gap: 12px; }
.field input[type=text], .field input[type=tel], .field input[type=email] {
  width: 100%; height: 56px; padding: 0 16px; font: inherit; font-size: 17px; color: var(--navy); background: var(--nevoa);
  border: 1.5px solid var(--linha); border-radius: 14px; appearance: none; -webkit-appearance: none;
}
.field input:focus { outline: none; border-color: var(--turquesa); box-shadow: 0 0 0 3px rgba(20,180,181,.22); background: #fff; }
.field.bad input[type=text], .field.bad input[type=tel], .field.bad input[type=email] { border-color: var(--erro); }
.err { min-height: 0; font-size: 14px; font-weight: 600; color: var(--erro); }
.err:empty { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ardosia); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--turquesa); }
.consent a { color: var(--petroleo); font-weight: 700; }

.sent { text-align: center; padding: 48px 22px; }
.sent .ok { display: block; margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; background: var(--grad); position: relative; }
.sent .ok::after { content: ""; position: absolute; left: 24px; top: 15px; width: 12px; height: 24px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }
.sent p { margin-top: 8px; color: var(--ardosia); }

/* ── Páginas de conteúdo (plano e confirmação) ── */
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)); }
.hero { background: var(--navy); color: #fff; padding-bottom: 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -220px; top: -140px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(20,180,181,.28), rgba(20,180,181,0) 65%); pointer-events: none; }
.hero .bar { position: relative; display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.hero .bar img { height: 26px; width: auto; }
.hero .bar span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fb4c3; }
.hero .eyebrow { color: var(--agua); position: relative; }
.hero h1 { position: relative; margin-top: 10px; font-size: clamp(28px, 7vw, 44px); font-weight: 800; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--agua); }
.hero .sub { position: relative; margin-top: 14px; font-size: 17px; color: #d3e0e9; max-width: 36em; }
.video { position: relative; margin-top: 24px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { cursor: pointer; padding: 0; background: #000 center / cover no-repeat; }
.video button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--grad); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.video button::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; margin: -13px 0 0 -8px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.hero .cta { position: relative; margin-top: 22px; }
.hero .cta small { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: #9fb4c3; }

.block { padding-block: 40px; }
.block.alt { background: var(--branco); }
.block h2 { font-size: clamp(24px, 6vw, 32px); font-weight: 800; line-height: 1.15; }
.block .intro { margin-top: 10px; font-size: 17px; color: var(--ardosia); }
.grid { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.tile { background: var(--branco); border: 1px solid var(--linha); border-radius: 16px; padding: 18px; }
.block.alt .tile { background: var(--nevoa); border-color: transparent; }
.tile h3 { font-size: 17px; font-weight: 800; line-height: 1.3; }
.tile p { margin-top: 6px; font-size: 15px; color: var(--ardosia); }
.chain { list-style: none; margin-top: 22px; display: grid; gap: 10px; counter-reset: c; }
.chain li { counter-increment: c; position: relative; padding: 14px 16px 14px 56px; background: var(--branco); border-radius: 14px; border: 1px solid var(--linha); font-size: 15px; }
.chain li::before { content: counter(c); position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.shots { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 640px) { .shots { grid-template-columns: 1fr 1fr; } }
.shots figure { margin: 0; background: var(--branco); border-radius: 14px; overflow: hidden; border: 1px solid var(--linha); }
.shots img { width: 100%; height: auto; }
.shots figcaption { padding: 10px 14px; font-size: 14px; font-weight: 600; }

.plans { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.plan { position: relative; background: var(--branco); border: 1.5px solid var(--linha); border-radius: 18px; padding: 22px; }
.plan.best { border-color: var(--turquesa); box-shadow: 0 16px 40px rgba(3,124,155,.16); }
.plan .tag { position: absolute; top: -12px; left: 20px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; font-weight: 800; }
.plan .price { margin-top: 8px; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--ardosia); }
.plan .note { margin-top: 4px; font-size: 14px; color: var(--ardosia); }
.plan ul { margin: 16px 0 18px; display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 24px; font-size: 14px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 3px; background: var(--agua); }
.plan .btn { width: 100%; }

.guarantee { margin-top: 22px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; background: var(--branco); border-radius: 18px; padding: 20px; border: 1px solid var(--linha); }
.guarantee .seal { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.guarantee p { font-size: 15px; color: var(--ardosia); }
.guarantee b { color: var(--navy); }

.faq { margin-top: 22px; display: grid; gap: 10px; }
.faq details { background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; padding: 0 18px; }
.block.alt .faq details { background: var(--nevoa); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--petroleo); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--ardosia); font-size: 15px; }

.closing { background: var(--navy); color: #fff; padding-block: 44px; text-align: center; }
.closing h2 { font-size: clamp(24px, 6vw, 32px); font-weight: 800; line-height: 1.15; }
.closing p { margin-top: 10px; color: #d3e0e9; }
.closing .btn { margin-top: 22px; width: 100%; max-width: 420px; }
.closing .support { margin-top: 18px; font-size: 14px; color: #9fb4c3; }
.closing .support a { color: var(--menta); font-weight: 700; }
.foot { padding: 22px 16px 30px; text-align: center; font-size: 12px; color: var(--ardosia); }
.foot a { color: var(--ardosia); }

.wa-box { margin-top: 22px; background: #e9f8ef; border: 1px solid #bfe8cf; border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.wa-box p { font-size: 15px; color: #1d5a35; }
.wa-box .btn { width: 100%; }

/* Plano */
.days { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.day { background: var(--branco); border-radius: 18px; padding: 20px; border: 1px solid var(--linha); }
.day .n { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--petroleo); background: #dff3f4; border-radius: 6px; padding: 3px 8px; }
.day h3 { margin-top: 10px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.day .passo { margin-top: 8px; font-size: 15px; }
.day .atalho { margin-top: 12px; padding: 12px 14px; background: var(--nevoa); border-radius: 12px; font-size: 14px; color: var(--ardosia); }
.day .atalho b { color: var(--navy); }
.day .atalho a { color: var(--petroleo); font-weight: 700; white-space: nowrap; }
.day label.done { margin-top: 12px; display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; cursor: pointer; }
.day label.done input { width: 20px; height: 20px; accent-color: var(--turquesa); }
.day.checked { border-color: var(--turquesa); }

/* ── Zoom das telas (igual ao pitch): passar o mouse mostra grande; clicar ou tocar trava; Esc ou clique fecha ── */
.shot { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.shot img { transition: transform .2s ease; }
.shot:hover img { transform: scale(1.02); }
.shot::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(18,38,59,.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.2-4.2M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 18px no-repeat;
  pointer-events: none;
}
.shots figure { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(12,27,43,.72); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, visibility .15s;
}
.lightbox.on { opacity: 1; visibility: visible; }
.lightbox.locked { pointer-events: auto; cursor: zoom-out; }
.lightbox figure { margin: 0; width: min(1200px, 100%); display: grid; gap: 12px; justify-items: center; }
.lightbox img { width: 100%; height: auto; max-height: calc(100vh - 90px); object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); }
.lightbox figcaption { color: #dbe6ee; font-size: 14px; text-align: center; max-width: 70ch; }
.lightbox .close { display: none; position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.lightbox.locked .close { display: block; }
@media (prefers-reduced-motion: reduce) { .shot img, .lightbox { transition: none; } }

/* Instagram opcional na tela do e-mail: o "@" fica fixo dentro do campo. */
.field .opt { margin-bottom: -6px; font-size: 14px; font-weight: 700; color: var(--ardosia); }
.field .opt small { font-weight: 500; }
.field .ig { position: relative; }
.field .ig b { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ardosia); font-weight: 600; pointer-events: none; }
.field .ig input[type=text] { padding-left: 34px; }
