/* ==========================================================================
   pesquisa.tiagobastos.site — pesquisa de modelo de negócio com IA
   Mesmo design system de tiagobastos.site (tokens em style.css).
   ========================================================================== */

/* ---------------------------------------------------------------- nav */
.nav.solid {
  background: rgba(5, 7, 14, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(22, 35, 58, .9);
  padding-top: 12px;
  padding-bottom: 12px;
}

/* ---------------------------------------------------------------- hero */
.survey-hero {
  padding: clamp(132px, 15vh, 176px) 0 clamp(26px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.survey-hero-head {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}
.survey-hero .kicker {
  justify-content: center;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
.survey-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 7.6vw, 112px);
  line-height: .94;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 clamp(18px, 2.4vw, 26px);
}
.survey-hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: .04em;
}
.survey-hero h1 .line > span {
  display: block;
  animation: riseIn 1.1s cubic-bezier(.16, 1, .3, 1) both;
}
.survey-hero h1 .line.sm { font-size: .5em; line-height: 1.1; }
.survey-hero h1 .line.big { font-size: 1.42em; }
.survey-hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.survey-hero h1 .line:nth-child(3) > span { animation-delay: .18s; }
.survey-hero h1 .accent {
  font-style: normal;
  background: linear-gradient(96deg, #00e5ff 0%, #33b6ff 30%, var(--violet) 66%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(0, 229, 255, .26));
}
.survey-hero .hero-sub {
  max-width: 64ch;
  font-weight: 300;
}
.survey-micro {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------------------------------------------------------------- shell */
.survey-band { padding-top: clamp(20px, 3vw, 34px); }
.survey-shell {
  position: relative;
  padding: clamp(24px, 4.2vw, 52px);
  border: 1px solid rgba(22, 35, 58, .95);
  border-radius: 26px;
  background:
    radial-gradient(760px 340px at 6% -16%, rgba(0, 229, 255, .12), transparent 64%),
    radial-gradient(620px 320px at 100% 4%, rgba(139, 92, 246, .12), transparent 62%),
    linear-gradient(160deg, rgba(10, 18, 32, .97), rgba(5, 9, 17, .97));
  overflow: hidden;
}
.survey-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 52%, var(--magenta));
}
.survey-head { max-width: 760px; margin-bottom: clamp(24px, 3.4vw, 38px); }
.survey-head h2 { margin-bottom: 14px; }
.survey-head .lead { margin-bottom: 0; }

/* ---------------------------------------------------------------- opções */
.survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.survey-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 20px 18px;
  border: 1px solid rgba(22, 35, 58, .95);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(11, 19, 34, .82), rgba(7, 12, 22, .82));
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.survey-opt:hover {
  border-color: rgba(0, 229, 255, .38);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -34px rgba(0, 229, 255, .7);
}
.survey-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.survey-opt.is-selected,
.survey-opt:has(input:checked) {
  border-color: rgba(0, 229, 255, .72);
  background:
    radial-gradient(420px 180px at 8% -10%, rgba(0, 229, 255, .15), transparent 70%),
    linear-gradient(165deg, rgba(13, 25, 42, .95), rgba(7, 13, 24, .95));
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .22) inset, 0 26px 60px -38px rgba(0, 229, 255, .9);
}
.survey-opt:focus-within {
  outline: 2px solid rgba(0, 229, 255, .55);
  outline-offset: 3px;
}
.opt-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.opt-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--dim);
}
.opt-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(0, 229, 255, .18);
  background: rgba(0, 229, 255, .05);
  color: #64dfff;
  transition: border-color .25s, background .25s, color .25s;
}
.opt-icon svg { width: 20px; height: 20px; }
.survey-opt.is-selected .opt-icon,
.survey-opt:has(input:checked) .opt-icon {
  border-color: rgba(0, 229, 255, .5);
  background: rgba(0, 229, 255, .12);
  color: var(--cyan);
}
.opt-check {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  border: 1.5px solid rgba(95, 110, 134, .7);
  transition: border-color .25s, background .25s;
}
.opt-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 4.5px;
  height: 9px;
  border: solid #04121a;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg) scale(.4);
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.is-selected .opt-check,
input:checked ~ .opt-top .opt-check {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, .55);
}
.is-selected .opt-check::after,
input:checked ~ .opt-top .opt-check::after {
  opacity: 1;
  transform: rotate(42deg) scale(1);
}
.opt-title {
  display: block;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 10px;
}
.opt-ex {
  display: block;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.66;
  color: var(--grey);
  border-left: 2px solid rgba(0, 229, 255, .16);
  padding-left: 12px;
}
.survey-opt.is-selected .opt-ex,
.survey-opt:has(input:checked) .opt-ex {
  color: #b9c8dc;
  border-left-color: rgba(0, 229, 255, .42);
}

/* ---------------------------------------------------------------- ação */
.survey-actions {
  margin-top: clamp(24px, 3vw, 34px);
  text-align: center;
}
.survey-submit {
  width: 100%;
  max-width: 520px;
}
.survey-submit[disabled] {
  cursor: not-allowed;
  opacity: .42;
  filter: grayscale(.35);
  box-shadow: none;
  transform: none;
}
.survey-submit[disabled]::after { display: none; }
.survey-note {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------------------------------------------------------------- resultado */
.survey-result {
  margin-top: 8px;
  animation: resultIn .55s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes resultIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.result-thanks { text-align: center; max-width: 760px; margin: 0 auto; }
.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0, 214, 143, .38);
  background: rgba(0, 214, 143, .08);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6ff0c4;
}
.result-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.result-thanks h2 {
  margin-bottom: 14px;
  font-size: clamp(36px, 5.4vw, 64px);
}
.result-thanks .lead { margin: 0 auto; }
.result-live {
  margin: clamp(26px, 3.4vw, 38px) auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 176, 32, .32);
  border-radius: 18px;
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(255, 176, 32, .12), transparent 70%),
    linear-gradient(160deg, rgba(24, 18, 8, .62), rgba(12, 10, 6, .45));
  max-width: 820px;
}
.result-live .kicker { margin-bottom: 12px; }
.result-live-t {
  margin: 0 0 8px;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}
.result-live-t b { color: var(--amber); font-weight: 600; }
.result-live-p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--grey);
}
.result-live-p b { color: var(--white); font-weight: 500; }

.result-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 18px;
  max-width: 820px;
}
.result-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}
.result-total {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.result-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.res-row {
  padding: 14px 16px;
  border: 1px solid rgba(22, 35, 58, .9);
  border-radius: 14px;
  background: rgba(8, 14, 25, .72);
}
.res-row.is-mine {
  border-color: rgba(0, 229, 255, .45);
  background: rgba(0, 229, 255, .045);
}
.res-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.res-pos {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--dim);
  min-width: 20px;
}
.res-label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--soft);
}
.res-row.is-mine .res-label { color: var(--white); }
.res-pct {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--cyan);
  white-space: nowrap;
}
.res-bar {
  height: 8px;
  border-radius: 100px;
  background: rgba(22, 35, 58, .85);
  overflow: hidden;
}
.res-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, #00b8d4, #00e5ff 42%, #8b5cf6);
  transition: width 1s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 0 18px rgba(0, 229, 255, .35);
}
.res-row.is-mine .res-fill {
  background: linear-gradient(90deg, #00d68f, #00e5ff 50%, #8b5cf6);
}
.result-updated {
  margin: 18px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.survey-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 46, 136, .4);
  border-radius: 12px;
  background: rgba(255, 46, 136, .08);
  font-size: 14px;
  color: #ff9ec4;
  text-align: center;
}

/* ---------------------------------------------------------------- passos */
.steps-band { padding-top: clamp(56px, 7vw, 90px); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}
.step {
  padding: 26px 24px 24px;
  border: 1px solid rgba(22, 35, 58, .95);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(10, 18, 32, .72), rgba(6, 10, 19, .72));
}
.step-n {
  display: block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--cyan);
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--grey); }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 820px) {
  .survey-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .survey-hero { padding-top: 124px; }
  .survey-hero h1 { font-size: clamp(42px, 10vw, 74px); }
  .survey-hero h1 .line.sm { font-size: .46em; }
  .survey-hero h1 .line.big { font-size: 1.34em; }
}
@media (max-width: 560px) {
  .survey-shell { padding: 20px 16px 24px; border-radius: 20px; }
  .survey-opt { padding: 17px 16px 16px; }
  .opt-title { font-size: 18px; }
  .survey-submit { font-size: 14px; }
  .result-head { flex-direction: column; gap: 6px; }
  .result-live { padding: 18px; }
}
