/* =========================================================
   thro — páginas de nicho (thro.com.br/pet, /motos…)
   Usa brand.css + landing.css; aqui só a faixa, o hero em duas
   colunas e o formulário em etapas (estilo Typeform).
   ========================================================= */

/* faixa de qualificação no topo */
.strip { position: relative; z-index: 60; padding: 9px 16px; text-align: center; font-size: .8125rem; font-weight: 600; color: #fff; background: linear-gradient(90deg, #D94E00, #F25C00 45%, #1F6FD1 55%, #0055A4); }
.strip strong { font-weight: 800; }

/* topo enxuto: só o logo, a linha da marca e o tema */
.header--lean .header__inner { gap: 16px; }
.header__tagline { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }

/* hero: texto à esquerda, formulário à direita */
.nhero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.nhero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.nhero__title { font-size: clamp(2.125rem, 4.4vw, 3.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 20px; }
.nhero__title em { font-style: normal; background: linear-gradient(100deg, #FFA265 0%, #F25C00 60%, #E04F00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nhero__sub { font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--text-2); max-width: 540px; margin-bottom: 26px; }
.nhero__sub strong { color: var(--text); }
.checks { display: grid; gap: 10px; margin-bottom: 28px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F25C00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks li:nth-child(even)::before { background-color: var(--blue-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7FE0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.proof { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== FORMULÁRIO EM ETAPAS ===== */
.quiz {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 460px; display: flex; flex-direction: column;
  padding: 30px 30px 24px; border-radius: 26px;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
  scroll-margin-top: 24px;
}
.quiz::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange) 50%, var(--blue-mark) 50%); }
.quiz__glow { position: absolute; z-index: -1; inset: auto -30% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--glow-blue); filter: blur(70px); pointer-events: none; }
.quiz__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.quiz__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-text); }
.quiz__count { font-size: .75rem; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.quiz__bar { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; margin-bottom: 30px; }
.quiz__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--blue-mark)); transition: width .5s var(--ease); }

.quiz__stage { position: relative; flex: 1; }
.qstep { display: flex; flex-direction: column; gap: 14px; }
.qstep.is-in { animation: qIn .45s var(--ease) both; }
.qstep.is-back { animation: qBack .45s var(--ease) both; }
.qstep__num { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; color: var(--orange-text); }
.qstep__num svg { width: 14px; height: 14px; }
.qstep__title { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.qstep__hint { margin-top: -6px; font-size: .875rem; color: var(--text-3); }

.qinput {
  width: 100%; padding: 10px 2px; border: 0; border-bottom: 2px solid var(--border-strong); border-radius: 0;
  background: transparent; color: var(--text); font: 500 1.375rem/1.3 var(--font-body); outline: none;
  transition: border-color .25s;
}
.qinput::placeholder { color: var(--text-3); opacity: .7; }
.qinput:focus { border-bottom-color: var(--orange); }
.qinput:focus-visible { outline: none; }

.qopts { display: grid; gap: 10px; }
.qopt {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 14px; text-align: left; font-weight: 500;
  background: var(--btn-glass-bg); border: 1px solid var(--btn-glass-border); box-shadow: inset 0 1px 0 var(--glass-hi);
  transition: border-color .2s, transform .25s var(--ease), background .2s;
}
.qopt:hover { border-color: var(--orange-line); transform: translateX(3px); }
.qopt__key { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-size: .75rem; font-weight: 700; color: var(--text-2); border: 1px solid var(--border-strong); background: var(--surface); }
.qopt.is-on { border-color: var(--orange); background: var(--orange-soft); }
.qopt.is-on .qopt__key { color: #fff; border-color: var(--orange); background: var(--orange); }
.qopt.is-on::after { content: ""; position: absolute; right: 14px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F25C00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.qopt:nth-child(even).is-on { border-color: var(--blue-mark); background: var(--blue-soft); }
.qopt:nth-child(even).is-on .qopt__key { border-color: var(--blue-mark); background: var(--blue-mark); }
.qopt:nth-child(even).is-on::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7FE0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

.qerr { min-height: 20px; font-size: .8125rem; font-weight: 600; color: #FF6B6B; }
:root[data-theme="light"] .qerr { color: #C62828; }

.quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.quiz__back { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--text-3); transition: color .2s; }
.quiz__back:hover { color: var(--text); }
.quiz__back[hidden] { display: none; }
.quiz__back svg { width: 16px; height: 16px; }
.quiz__enter { font-size: .75rem; color: var(--text-3); }
.quiz__enter kbd { font: 600 .6875rem var(--font-body); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border-strong); background: var(--surface); }
.quiz__go { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.quiz__fine { margin-top: 14px; font-size: .75rem; color: var(--text-3); text-align: center; }
.quiz__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* abertura e final */
.qwelcome, .qdone { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.qdone { align-items: center; text-align: center; padding-top: 6px; }
.qwelcome h2, .qdone h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); letter-spacing: -0.03em; line-height: 1.15; }
.qwelcome p, .qdone p { color: var(--text-2); }
.qwelcome__list { display: grid; gap: 8px; margin: 2px 0 6px; color: var(--text-2); font-size: .9375rem; }
.qwelcome__list li { display: flex; align-items: center; gap: 10px; }
.qwelcome__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.qwelcome__list li:nth-child(even)::before { background: var(--blue-mark); }
.qdone__mark { position: relative; width: 92px; height: 92px; display: grid; place-items: center; margin-bottom: 4px; }
.qdone__mark::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--orbit); }
.qdone__mark::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: radial-gradient(circle at 30% 50%, rgba(242, 92, 0, .55), transparent 62%), radial-gradient(circle at 70% 50%, rgba(47, 127, 224, .6), transparent 62%); filter: blur(16px); }
.qdone__mark svg { position: relative; z-index: 1; width: 64px; height: 64px; }

@keyframes qIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes qBack { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

/* seções de apoio */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { position: relative; padding: 26px; border-radius: 20px; background: var(--card-bg); border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.pain:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 26px 50px -22px rgba(242, 92, 0, .45); }
.pain.spot--b:hover { box-shadow: 0 26px 50px -22px rgba(47, 127, 224, .55); }
.pain__from { font-size: .8125rem; color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(242, 92, 0, .6); margin-bottom: 10px; }
.pain h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 8px; }
.pain p { color: var(--text-2); font-size: .9375rem; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step3 { position: relative; padding: 26px 26px 26px 26px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi); }
.step3 b { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; font-family: var(--font-display); color: #fff; background: linear-gradient(180deg, #FF7E2E, #E85600); box-shadow: 0 10px 24px -10px rgba(242, 92, 0, .8); }
.step3:nth-child(even) b { background: linear-gradient(180deg, #3D8BEA, #0055A4); box-shadow: 0 10px 24px -10px rgba(0, 85, 164, .8); }
.step3 h3 { font-size: 1.125rem; margin-bottom: 6px; }
.step3 p { color: var(--text-2); font-size: .9375rem; }

.ncta { position: relative; overflow: hidden; padding: 96px 0; text-align: center; color: #fff; background: radial-gradient(700px 360px at 50% 110%, rgba(242, 92, 0, .22), transparent 70%), radial-gradient(600px 300px at 100% 0%, rgba(0, 85, 164, .3), transparent 70%), linear-gradient(180deg, #06060A 0%, #0A0A12 100%); }
.ncta__inner { position: relative; z-index: 2; max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.ncta h2 { font-size: clamp(1.75rem, 3.6vw, 2.625rem); letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 14px; color: #fff; }
.ncta p { color: #B6B8C2; margin-bottom: 26px; }

.footer--lean .footer__copy { margin-top: 0; padding-top: 0; border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .qstep.is-in, .qstep.is-back { animation: none; }
}
@media (max-width: 960px) {
  .nhero__grid { grid-template-columns: 1fr; gap: 36px; }
  .pains, .steps3 { grid-template-columns: 1fr; }
  .header__tagline { display: none; }
}
@media (max-width: 600px) {
  .nhero { padding: 40px 0 64px; }
  .quiz { padding: 24px 18px 18px; min-height: 440px; border-radius: 22px; }
  .qinput { font-size: 1.1875rem; }
  .quiz__enter { display: none; }
  .ncta { padding: 72px 0; }
}
