/* Tokens herdados da página de vendas (gancho.nortebusiness.com.br) */
:root {
  --ivory: #FCF9ED;
  --ivory-2: #F6EFD8;
  --paper: #FFFDF6;
  --line: #E8DFC2;
  --line-soft: #EFE8D1;
  --ink: #010B21;
  --ink-muted: #4C5366;
  --ink-soft: #7A7F8C;
  --sand: #F1D579;
  --amber: #CF911A;
  --amber-deep: #8F620C;
  --red: #B42318;
  --green: #1F7A3E;
  --gold: linear-gradient(120deg, #CF911A 0%, #E4B84A 45%, #F1D579 100%);
  --gold-text: linear-gradient(120deg, #8A5C08 0%, #B67E14 55%, #CF911A 100%);
  --display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(1, 11, 33, .04), 0 8px 24px -12px rgba(1, 11, 33, .12);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 60% at 50% 0%, #FFF6D6 0%, rgba(255, 246, 214, 0) 60%),
    var(--ivory);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Topo: voltar + progresso ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 20px 12px;
  background: linear-gradient(var(--ivory) 70%, rgba(252, 249, 237, 0));
}
.topbar[hidden] { display: none; }

.progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gold);
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Layout ---------- */
.wrap {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 20px 40px;
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: enter .38s cubic-bezier(.2, .8, .2, 1) both;
}
.screen--center { min-height: calc(100dvh - 140px); justify-content: center; }

@keyframes enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.foot {
  padding: 24px 20px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Tipografia ---------- */
.eyebrow {
  font: 700 12px/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  text-align: center;
}

.title {
  font: 700 clamp(28px, 7.4vw, 38px)/1.12 var(--display);
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
}
.title--sm { font-size: clamp(24px, 6.2vw, 30px); }
.title--md { font-size: clamp(25px, 6.6vw, 32px); }

.lead {
  font-size: 17px;
  color: var(--ink-muted);
  text-align: center;
  text-wrap: pretty;
}

.mark {
  padding: 0 .12em;
  background: linear-gradient(transparent 14%, var(--sand) 14%, var(--sand) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.neg { color: var(--red); font-weight: 700; }
.pos { color: var(--amber-deep); font-weight: 700; }

/* ---------- Botão principal (mesmo da LP) ---------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font: 700 15px/1.2 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 24px -10px rgba(207, 145, 26, .65), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .15s, box-shadow .15s;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(207, 145, 26, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible, .opt:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.cta-note { margin-top: -8px; font-size: 13px; color: var(--ink-soft); text-align: center; }

.sticky-cta {
  position: sticky;
  bottom: 0;
  margin: 0 -20px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(252, 249, 237, 0), var(--ivory) 35%);
}

/* ---------- Capa ---------- */
.hero-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Opções do quiz ---------- */
.opts { display: flex; flex-direction: column; gap: 10px; }

.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color .15s, background .15s, transform .15s;
}
.opt:hover { border-color: var(--amber); }
.opt:active { transform: scale(.99); }
.opt.is-picked { border-color: var(--amber); background: #FFF4D2; }

.opt__key {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font: 700 13px/1 var(--display);
  transition: background .15s, color .15s;
}
.opt.is-picked .opt__key { background: var(--ink); color: var(--sand); }

.hint { font-size: 14px; color: var(--ink-soft); text-align: center; }

/* ---------- Antes e depois ---------- */
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.ex {
  display: grid;
  gap: 10px;
  padding: 8px 8px 10px;
  border-radius: 18px;
  background: var(--paper);
  border: 1.5px solid var(--line);
}
.ex--win { border: 2px solid var(--amber); box-shadow: 0 12px 30px -16px rgba(207, 145, 26, .55); }
.ex__top { display: grid; gap: 10px; }
.ex__reel { width: 100%; height: auto; border-radius: 12px; }
.ex__info { display: grid; gap: 4px; justify-items: start; padding: 0 2px; }
.ex__tag {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--ink-muted);
  font: 700 10px/1 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ex--win .ex__tag { background: var(--ink); color: var(--sand); }
.ex__stat { font-size: 12px; line-height: 1.2; color: var(--ink-muted); }
.ex__stat + .ex__stat { margin-top: 4px; }
.ex__stat b { display: block; margin-bottom: 2px; font: 800 24px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.ex--win .ex__stat b { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ex__print { width: 100%; height: auto; border-radius: 10px; }

/* ---------- Carrossel de reels (loop contínuo) ---------- */
.marquee {
  margin: 0 -20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.reel {
  flex: none;
  width: 190px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.reel img { width: 100%; height: auto; aspect-ratio: 572 / 900; object-fit: cover; }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 6px)); }
}

/* ---------- Pergunta final ---------- */
.ask-stack { position: relative; height: 230px; margin-bottom: 8px; }
.ask-stack img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 140px;
  aspect-ratio: 9 / 15;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow);
}
.ask-stack img:nth-child(1) { transform: translateX(-112%) rotate(-8deg) translateY(14px); }
.ask-stack img:nth-child(2) { transform: translateX(-50%); z-index: 1; }
.ask-stack img:nth-child(3) { transform: translateX(12%) rotate(8deg) translateY(14px); }

/* ---------- Oferta ---------- */
.timer { display: flex; align-items: center; justify-content: center; gap: 8px; }
.timer__box {
  display: grid;
  justify-items: center;
  min-width: 68px;
  padding: 10px 12px 8px;
  border-radius: 16px;
  background: #FBE6E3;
  border: 1.5px solid #F5C9C3;
}
.timer__box b { font: 800 30px/1 var(--display); letter-spacing: -.02em; color: #D92D20; font-variant-numeric: tabular-nums; }
.timer__box small { margin-top: 4px; font: 600 12px/1 var(--body); color: #E8847A; }
.timer__sep { font: 800 24px/1 var(--display); color: var(--ink-soft); }
.after-video { display: flex; flex-direction: column; gap: 20px; animation: enter .6s cubic-bezier(.2, .8, .2, 1) both; }
.after-video[hidden] { display: none; }

.video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 9 / 16;
  max-height: 78dvh;
  margin: 0 auto;
  width: 100%;
  box-shadow: var(--shadow);
}
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding-left: 4px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(241, 213, 121, .28), 0 12px 30px -8px rgba(0, 0, 0, .5);
  animation: pulse 2s ease-in-out infinite;
}
.video.is-playing .video__play { opacity: 0; pointer-events: none; }
.video__play { transition: opacity .2s; }
.video video { cursor: pointer; }
.video__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: rgba(255, 253, 246, .25);
  pointer-events: none;
}
.video__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width .25s linear;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 18px rgba(241, 213, 121, .12), 0 12px 30px -8px rgba(0, 0, 0, .5); }
}
.video__empty {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(255, 253, 246, .7);
  font-size: 14px;
}

.pains { display: grid; gap: 10px; }
.pains li { list-style: none; display: flex; gap: 10px; font-size: 16px; color: var(--ink-muted); }
.pains li::before { content: "✕"; flex: none; color: var(--red); font-weight: 700; }
.pains b { color: var(--ink); }

.deliv { display: grid; gap: 10px; }
.deliv__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.deliv__num { font: 700 12px/1 var(--display); letter-spacing: .1em; color: var(--amber-deep); padding-top: 3px; }
.deliv__item h3 { font: 700 17px/1.3 var(--display); letter-spacing: -.02em; }
.deliv__item p { margin-top: 2px; font-size: 15px; color: var(--ink-muted); }
.deliv__item.bonus { background: #FFF4D2; border-color: var(--sand); }

.price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--paper);
  border: 2px solid var(--amber);
}
.price__name { font: 700 17px/1.3 var(--display); }
.price__name small { display: block; font: 500 13px/1.4 var(--body); color: var(--ink-soft); }
.price__val { text-align: right; font: 800 34px/1 var(--display); letter-spacing: -.04em; }
.price__val sup { font-size: 15px; vertical-align: 14px; margin-right: 2px; }
.price__val small { display: block; margin-top: 4px; font: 500 12px/1 var(--body); letter-spacing: 0; color: var(--ink-soft); }

.guarantee {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--ivory-2);
}
.seal {
  display: grid; place-items: center;
  width: 58px; height: 58px; flex: none;
  border-radius: 999px;
  background: var(--gold);
  font: 800 22px/1 var(--display);
  text-align: center;
}
.seal small { display: block; font-size: 9px; letter-spacing: .1em; margin-top: -10px; }
.guarantee p { font-size: 15px; color: var(--ink-muted); }
.guarantee strong { display: block; color: var(--ink); font-family: var(--display); }

.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font: 600 16px/1.35 var(--display);
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 20px; line-height: 1; color: var(--ink-soft); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: 15px; color: var(--ink-muted); }

.disclaimer { font-size: 12px; color: var(--ink-soft); text-align: center; }

@media (max-width: 380px) {
  .cta { letter-spacing: .08em; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Pop-up de captura (mesmo da página de vendas) ---------- */
.lead-modal {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(1, 11, 33, .55);
}
.lead-modal::backdrop { background: rgba(1, 11, 33, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lead-modal[open] { display: block; animation: pop .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.lead-form { position: relative; display: grid; gap: 16px; padding: 30px 24px 22px; }
.lead-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink-muted);
  font-size: 26px;
  line-height: 1;
}
.lead-close:hover { background: var(--ivory-2); }
.lead-close:focus-visible { outline: 2px solid var(--amber); }
.lead-step { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); }
.lead-form h2 { padding-right: 28px; font: 700 clamp(21px, 5.4vw, 25px)/1.2 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.lead-sub { margin-top: -6px; font-size: 15px; color: var(--ink-muted); }
.field { display: grid; gap: 6px; }
.field label { font: 600 13px/1.2 var(--display); }
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.field input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(207, 145, 26, .22); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.field .err { font-size: 13px; color: #B3261E; }
.field .err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .cta { margin-top: 4px; }
.lead-form .cta[disabled] { opacity: .7; cursor: wait; }
.lead-consent { font-size: 12px; line-height: 1.5; color: var(--ink-muted); text-align: center; }
.lead-safe { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-soft); }
