/* ===== NEGÓCIO FANTASMA — Quiz · tema preto/dourado ===== */
:root {
  --ink: #0d0d0f;
  --ink-2: #131316;
  --card: #1a1a1d;
  --card-2: #252528;
  --line: rgba(212, 175, 55, 0.18);
  --gold: #d4af37;
  --gold-2: #f0d060;
  --green: #16c047;
  --green-2: #3dff77;
  --ivory: #f5f5f5;
  --muted: #b0b0b0;
  --muted-2: #7c7c80;
  --radius: 16px;
  --maxw: 760px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--ivory);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ----- fundo ----- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.bg__glow--1 { width: 46vw; height: 46vw; top: -12vw; right: -10vw; background: radial-gradient(circle, rgba(212,175,55,.22), transparent 70%); }
.bg__glow--2 { width: 40vw; height: 40vw; bottom: -14vw; left: -12vw; background: radial-gradient(circle, rgba(22,192,71,.14), transparent 70%); }
.bg__grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

/* ----- topbar + progresso ----- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 2rem);
  background: rgba(13,13,15,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: 'Bebas Neue', sans-serif; letter-spacing: .14em; font-size: 1.1rem; color: var(--ivory); white-space: nowrap; }
.brand__mark { color: var(--gold); }
.progress { flex: 1; height: 6px; border-radius: 100px; background: var(--card); overflow: hidden; }
.progress__bar { display: block; height: 100%; width: 0; border-radius: 100px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .5s var(--ease); box-shadow: 0 0 14px rgba(212,175,55,.5); }

/* ----- palco / telas ----- */
.stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem); }
.screen { width: 100%; max-width: var(--maxw); opacity: 0; transform: translateY(18px); }
.screen.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
.screen--q, .screen--intro { max-width: var(--maxw); }

.eyebrow { display: inline-block; margin: 0 0 1rem; color: var(--gold); font: 700 .76rem/1 'Montserrat'; letter-spacing: .22em; text-transform: uppercase; }
.display { font-family: 'Bebas Neue', sans-serif; font-weight: 400; line-height: .96; letter-spacing: .01em;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem); margin: 0 0 1.1rem; color: var(--ivory); text-transform: uppercase; }
.display--sm { font-size: clamp(2rem, 5vw, 3.2rem); }
.display .hl { color: var(--gold); }
.sub { font-size: clamp(1.02rem, 2.1vw, 1.18rem); color: var(--ivory); margin: 0 0 1.1rem; }
.apoio { color: var(--muted); margin: 0 0 1.8rem; font-size: .98rem; }
.micro { color: var(--muted-2); font-size: .85rem; margin: 1rem 0 0; }

/* ----- botão ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: none; cursor: pointer; text-decoration: none; text-align: center;
  font-family: 'Bebas Neue', sans-serif; letter-spacing: .08em; font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  padding: 1.05rem 2rem; border-radius: 14px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease); }
.btn--gold { background: linear-gradient(105deg, var(--gold), var(--gold-2) 55%, var(--gold)); color: #1a1408;
  box-shadow: 0 16px 40px rgba(212,175,55,.32), 0 0 0 1px rgba(240,208,96,.45) inset; width: min(440px, 100%); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 22px 52px rgba(212,175,55,.42); filter: brightness(1.04); }
.btn--gold:active { transform: translateY(0); }

/* ----- intro ----- */
.intro { text-align: left; display: flex; flex-direction: column; align-items: stretch; }
.intro .display { max-width: none; }
.intro .sub, .intro .apoio { max-width: 60ch; }

/* ----- pergunta ----- */
.quiz__head { margin-bottom: .8rem; }
.quiz__count { color: var(--gold); font: 700 .8rem/1 'Montserrat'; letter-spacing: .14em; text-transform: uppercase; }
.quiz__q { font-family: 'Bebas Neue', sans-serif; font-weight: 400; line-height: 1.02; letter-spacing: .01em;
  font-size: clamp(1.7rem, 4.4vw, 2.7rem); margin: 0 0 1.6rem; text-transform: uppercase; }
.opts { display: grid; gap: .8rem; }
.opt { display: flex; align-items: center; gap: 1rem; text-align: left; cursor: pointer;
  padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  color: var(--ivory); font-family: 'Montserrat'; font-size: 1.02rem; line-height: 1.35;
  transition: transform .18s var(--ease), border-color .18s, background .18s, box-shadow .18s; }
.opt__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted-2); transition: all .18s; position: relative; }
.opt:hover { transform: translateX(4px); border-color: var(--gold); background: var(--card-2); }
.opt:hover .opt__mark { border-color: var(--gold); }
.opt.is-sel { border-color: var(--gold); background: var(--card-2); box-shadow: 0 0 0 1px var(--gold) inset, 0 14px 30px rgba(0,0,0,.4); }
.opt.is-sel .opt__mark { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.18); }
.opt__t { flex: 1; }
.back { margin-top: 1.3rem; background: none; border: none; cursor: pointer; color: var(--muted-2); font-family: 'Montserrat'; font-size: .9rem; }
.back:hover { color: var(--gold); }

/* ----- captura ----- */
.capture { text-align: left; display: flex; flex-direction: column; align-items: stretch; }
.capture .sub { max-width: 46ch; }
.lead-form { width: 100%; max-width: 440px; display: grid; gap: .7rem; margin: .8rem 0 0; }
.lead-form input { width: 100%; padding: 1rem 1.15rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  color: var(--ivory); font-family: 'Montserrat'; font-size: 1rem; transition: border-color .18s, box-shadow .18s; }
.lead-form input::placeholder { color: var(--muted-2); }
.lead-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.16); }
.lead-form .btn { margin-top: .3rem; }
.lead-form.shake { animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-7px)} 40%,80%{transform:translateX(7px)} }

/* ----- loading ----- */
.loading { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; padding: 3rem 0; }
.spinner { width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--card-2); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading__t { font-family: 'Bebas Neue', sans-serif; letter-spacing: .04em; font-size: clamp(1.3rem, 3.6vw, 1.8rem); color: var(--gold); text-transform: uppercase; }

/* ----- resultado ----- */
.result .display { max-width: none; }
.result__body { text-align: left; margin: .5rem 0 1.8rem; }
.result__body p { color: var(--muted); margin: 0 0 1.1rem; }
.result__body h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: .04em; color: var(--gold);
  font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 1.6rem 0 .6rem; text-transform: uppercase; }
.result__transition { margin-top: 1.6rem; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(212,175,55,.10), rgba(212,175,55,.02)); border: 1px solid var(--line); }
.result__transition p { color: var(--ivory); margin: 0; }
.result > .btn { margin-top: .4rem; }
.result { text-align: left; }

/* ----- ponte ----- */
.bridge { text-align: left; display: flex; flex-direction: column; align-items: stretch; }
.bridge__reforco { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: .02em; line-height: 1.05;
  font-size: clamp(1.5rem, 4vw, 2.3rem); color: var(--ivory); text-transform: uppercase; max-width: none; margin: 0 0 1.2rem; }
.bridge__txt { color: var(--muted); max-width: 54ch; margin: 0 0 1.3rem; }
.bridge__obj { color: var(--green-2); font-weight: 600; font-size: .98rem; margin: 0 0 1.6rem;
  padding: .7rem 1.1rem; border-radius: 100px; background: rgba(22,192,71,.10); border: 1px solid rgba(22,192,71,.3); }

/* ----- rodapé ----- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  padding: 1.2rem clamp(1rem, 4vw, 2rem); border-top: 1px solid var(--line);
  color: var(--muted-2); font-size: .8rem; }
.foot span:first-child { font-family: 'Bebas Neue', sans-serif; letter-spacing: .12em; color: var(--muted); }

@media (max-width: 560px) {
  .topbar .brand { font-size: .95rem; }
  .opt { padding: 1rem 1.1rem; font-size: .98rem; }
  .foot { justify-content: center; text-align: center; }
  /* abertura: botão visível ao entrar + headline menor (linhas mais longas = menos margem lateral, menos "paredão") — pedido Deidson */
  .stage { padding: 1rem .85rem 2rem; }
  .intro .display { font-size: 1.55rem; line-height: 1.08; letter-spacing: .005em; margin-bottom: .7rem; }
  .intro .sub { font-size: .94rem; margin-bottom: 1rem; }
  .intro .btn--gold { width: 100%; }
  .intro .micro { margin-top: .7rem; }
  .intro .apoio { font-size: .86rem; margin: 1.5rem 0 0; opacity: .82; }
  .quiz__q { font-size: clamp(1.5rem, 5.6vw, 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .screen, .screen.is-in { transition: none; transform: none; opacity: 1; }
  .spinner { animation-duration: 2s; }
}
