/* ═══════════════════════════════════════════════════════
   Teste DiSC® Gratuito — Lead Magnet
   Interactive quiz with email gate
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.td-hero { padding: var(--page-top) 0 clamp(4rem,8vw,6rem); background: var(--ink); color: var(--white); text-align: center; }
.td-hero h1 { color: var(--white); max-width: 600px; margin: 0 auto 1.2rem; }
.td-hero h1 em { color: var(--gold-soft); }
.td-hero-sub { max-width: 520px; margin: 0 auto 2rem; font-size: clamp(1rem,1.5vw,1.12rem); color: rgba(255,255,255,.6); line-height: 1.7; }
.td-hero-stats { display: flex; gap: 2.5rem; justify-content: center; margin-top: 2.5rem; }
.td-stat { text-align: center; }
.td-stat strong { display: block; font: 700 clamp(1.3rem,2.5vw,1.8rem)/1 var(--serif); color: var(--gold-soft); }
.td-stat span { font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; }

/* ── Progress ── */
.td-progress { display: none; position: sticky; top: 64px; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); padding: .6rem 1.2rem; }
.td-progress.is-visible { display: block; }
.td-progress-bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.td-progress-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width .4s ease; width: 0; }
.td-progress-text { display: flex; justify-content: space-between; margin-top: .3rem; font-size: .68rem; color: var(--quiet); font-weight: 600; }

/* ── Quiz ── */
.td-quiz { display: none; padding: clamp(3rem,6vw,5rem) 0; background: var(--cream); }
.td-quiz.is-visible { display: block; }
.td-q-card { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 2.2rem; }
.td-q-num { font: 700 .65rem var(--sans); color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6rem; }
.td-q-text { font: 500 clamp(1.1rem,2vw,1.3rem)/1.35 var(--serif); margin-bottom: 1.5rem; }
.td-q-opts { display: flex; flex-direction: column; gap: .5rem; }
.td-q-opt { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all .2s; background: none; color: var(--ink); font: 400 .88rem var(--sans); text-align: left; width: 100%; }
.td-q-opt:hover { border-color: var(--gold-soft); background: var(--gold-bg); }
.td-q-opt.is-selected { border-color: var(--gold); background: var(--gold-bg); }
.td-q-radio { width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 50%; flex-shrink: 0; transition: all .15s; display: flex; align-items: center; justify-content: center; }
.td-q-opt.is-selected .td-q-radio { border-color: var(--gold); background: var(--gold); }
.td-q-opt.is-selected .td-q-radio::after { content: ''; width: 6px; height: 6px; background: var(--white); border-radius: 50%; }
.td-q-nav { display: flex; justify-content: space-between; margin-top: 1.2rem; gap: .8rem; }
.td-q-next:disabled { opacity: .35; cursor: not-allowed; }

/* ── Gate ── */
.td-gate { display: none; padding: clamp(4rem,8vw,6rem) 0; background: var(--white); }
.td-gate.is-visible { display: block; }
.td-gate-card { max-width: 480px; margin: 0 auto; padding: 2.5rem; border: 2px solid var(--gold); border-radius: var(--r-lg); text-align: center; box-shadow: var(--shadow); }
.td-gate-kicker { font: 700 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.td-gate-card h2 { font-size: clamp(1.2rem,2.5vw,1.45rem); margin-bottom: .6rem; }
.td-gate-sub { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.4rem; }
.td-gate-form label { display: block; font: 600 .7rem var(--sans); color: var(--quiet); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; text-align: left; }
.td-gate-form input { width: 100%; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: var(--r); font: 500 .88rem var(--sans); color: var(--ink); background: var(--paper); }
.td-gate-form input:focus { border-color: var(--gold); outline: none; }
.td-gate-note { font-size: .7rem; color: var(--quiet); margin-top: .5rem; }
.td-gate-note a { color: var(--gold); }
.td-gate-error { display: none; margin-top: .5rem; padding: .5rem; border-radius: var(--r); background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.15); color: #DC2626; font-size: .78rem; }

/* ── Results ── */
.td-results { display: none; padding: clamp(3rem,6vw,5rem) 0; background: var(--cream); }
.td-results.is-visible { display: block; }
.td-result-hero { text-align: center; margin-bottom: 2.5rem; }
.td-result-badge { font: 700 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.td-result-hero h2 { margin-bottom: .8rem; }
.td-result-sub { max-width: 520px; margin: 0 auto; font-size: .95rem; color: var(--muted); line-height: 1.65; }

.td-chart { display: flex; justify-content: center; gap: 1.2rem; margin: 2rem 0; }
.td-chart-bar { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.td-chart-track { width: 52px; height: 160px; background: var(--line); border-radius: var(--r); position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.td-chart-fill { width: 100%; border-radius: var(--r); transition: height 1s ease; }
.td-chart-bar strong { font: 700 1rem var(--serif); }
.td-chart-bar span { font: 700 .7rem var(--sans); letter-spacing: .04em; }

.td-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 2rem 0; max-width: 680px; margin-left: auto; margin-right: auto; }
.td-result-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; }
.td-result-card--dom { border-width: 2px; }
.td-result-card strong { font: 800 1.6rem var(--serif); display: block; margin-bottom: .15rem; }
.td-result-card > span { display: block; font: 700 .72rem var(--sans); color: var(--quiet); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .6rem; }
.td-result-card p { font-size: .82rem; color: var(--muted); line-height: 1.55; margin-bottom: .3rem; }
.td-result-card b { color: var(--ink); }

.td-result-cta { max-width: 580px; margin: 2rem auto 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; text-align: center; }
.td-result-cta h3 { margin-bottom: .6rem; }
.td-result-cta p { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; }
.td-result-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.td-disc-note { text-align: center; margin-top: 2rem; font-size: .72rem; color: var(--quiet); }
.td-disc-note a { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .td-hero-stats { gap: 1.5rem; }
  .td-q-card { padding: 1.4rem; }
  .td-q-nav { flex-direction: column; }
  .td-gate-card { padding: 1.6rem; }
  .td-gate-form [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .td-result-grid { grid-template-columns: 1fr; }
  .td-chart-track { height: 120px; width: 44px; }
  .td-result-actions { flex-direction: column; }
}
