/* ==========================================================================
   Guilherme Garcia Advogado — Design system
   Preto e dourado, tipografia system-stack, mobile-first.
   ========================================================================== */

:root {
  --bg: #0b0a08;
  --bg-2: #131110;
  --bg-3: #1c1815;
  --ink: #f5f1e8;
  --ink-soft: rgba(245, 241, 232, 0.68);
  --ink-faint: rgba(245, 241, 232, 0.42);
  --gold: #c9a24c;
  --gold-light: #f0d998;
  --gold-deep: #8a6b24;
  --line: rgba(201, 162, 76, 0.2);
  --line-strong: rgba(201, 162, 76, 0.4);
  --danger-bg: rgba(201, 162, 76, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --gradient-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  --shadow-card: 0 20px 40px -24px rgba(0, 0, 0, 0.7);
  --maxw: 1320px;
  --maxw-narrow: 680px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

html, body { overflow-x: hidden; max-width: 100%; }
img, svg { max-width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  width: 100%;
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -0.005em; }
h3 { font-size: 19px; line-height: 1.35; }

p { margin: 0 0 14px; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 62ch; }

.section { padding: 68px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: none; }

/* seção clara: quebra o ritmo visual do preto contínuo */
.section-light {
  background: #f4efe2;
  --ink: #201a10;
  --ink-soft: rgba(32, 26, 16, 0.72);
  --ink-faint: rgba(32, 26, 16, 0.48);
  --bg-2: #fbf7ee;
  --bg-3: #ece4d0;
  --line: rgba(32, 26, 16, 0.12);
  --line-strong: rgba(32, 26, 16, 0.28);
  --shadow-card: 0 20px 40px -28px rgba(32, 26, 16, 0.35);
  border-top-color: rgba(32, 26, 16, 0.12);
  border-bottom: 1px solid rgba(32, 26, 16, 0.12);
}
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* stagger dentro de grupos de cards */
.case-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.case-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.case-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.case-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
.mechanism-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.mechanism-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.mechanism-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.mechanism-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stat-row > .reveal:nth-child(1) { transition-delay: 0s; }
.stat-row > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stat-row > .reveal:nth-child(3) { transition-delay: 0.2s; }
.steps > .reveal:nth-child(1) { transition-delay: 0.15s; }
.steps > .reveal:nth-child(2) { transition-delay: 0.3s; }
.steps > .reveal:nth-child(3) { transition-delay: 0.45s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 15px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: normal;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--gradient-gold);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #14100a;
  border: 1px solid rgba(255, 245, 214, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 225, 0.7),
    inset 0 -2px 3px rgba(110, 80, 20, 0.35),
    0 6px 14px -6px rgba(0, 0, 0, 0.55);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 225, 0.8),
    inset 0 -2px 3px rgba(110, 80, 20, 0.35),
    0 10px 22px -8px rgba(201, 162, 76, 0.6);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(201, 162, 76, 0.08); border-color: var(--gold); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn .spinner { display: none; }
.btn.is-loading .btn-label { visibility: hidden; }
.btn.is-loading .spinner { display: inline-block; position: absolute; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 10, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text .name { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); display: block; }
.brand-text .role { font-size: 10.5px; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { padding: 18px 0 28px; position: relative; overflow: hidden; border-top: none; }
@media (max-width: 899px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 44px;
    box-sizing: border-box;
  }
  .hero .container { width: 100%; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 460px;
  background: radial-gradient(closest-side, rgba(201, 162, 76, 0.18), transparent 70%);
  pointer-events: none;
  animation: ambientDrift 14s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  0% { transform: translate(-2%, -1%) scale(1); }
  100% { transform: translate(3%, 2%) scale(1.08); }
}
.hero .container { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hero-copy .lede { margin: 16px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-micro { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }

/* ---------- quadro de destaques no hero ---------- */
.hero-highlights {
  margin-top: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.hero-highlight-item {
  padding: 15px 18px 15px 34px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
  text-align: left;
}
.hero-highlight-item:last-child { border-bottom: none; }
.hero-highlight-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-portrait { display: none; }
@media (min-width: 900px) {
  .hero-portrait { display: block; position: relative; max-width: 520px; margin: 0 auto; }
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  background: radial-gradient(closest-side, rgba(201, 162, 76, 0.32), transparent 72%);
  z-index: 0;
  filter: blur(2px);
}
.hero-portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

/* ---------- trust strip (badges pequenos, ex: bloco de autoridade) ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0 0; border-top: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.trust-item svg { flex: none; width: 14px; height: 14px; color: var(--gold); }
.placeholder-flag { color: var(--gold-light); border-color: var(--line-strong); }

/* ---------- faixa de estatísticas (entre hero e a seção seguinte) ---------- */
.stats-band { padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 620px) { .stat-row { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-label { min-width: 0; }
.stat-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.stat-number {
  font-size: 46px;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.stat-label { font-size: 14px; color: var(--ink-soft); line-height: 1.35; }

/* ---------- case identification cards ---------- */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.case-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.case-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 65%;
  height: 140%;
  background: radial-gradient(closest-side, rgba(201, 162, 76, 0.16), transparent 72%);
  pointer-events: none;
  animation: ambientDrift 16s ease-in-out infinite alternate;
  z-index: 0;
}
.case-card > * { position: relative; z-index: 1; }
.case-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.case-card h3 { color: var(--gold-light); }
.case-tags { list-style: none; margin: 2px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags li {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.case-card:hover .case-tags li { border-color: var(--line-strong); }
.case-tags li:hover { color: var(--gold-light); transform: translateY(-2px); }
.case-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- objection block: cards separados, ocupando a largura toda ---------- */
.objection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 28px 0 32px;
}
.objection-card {
  position: relative;
  background: var(--bg-2);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 22px;
  animation: goldGlow 3.4s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.objection-card:hover { transform: translateY(-3px); }
.objection-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.objection-card strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 15px; }
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 76, 0.18); border-color: var(--line-strong); }
  50% { box-shadow: 0 0 16px 1px rgba(201, 162, 76, 0.32); border-color: var(--gold); }
}
.objection-cta { text-align: center; }
/* stagger dentro do grid de objeções */
.objection-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.objection-grid > .reveal:nth-child(2) { transition-delay: 0.06s; }
.objection-grid > .reveal:nth-child(3) { transition-delay: 0.12s; }
.objection-grid > .reveal:nth-child(4) { transition-delay: 0.18s; }
.objection-grid > .reveal:nth-child(5) { transition-delay: 0.24s; }

/* ---------- authority ---------- */
.authority { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.authority > * { min-width: 0; }
@media (min-width: 860px) { .authority { grid-template-columns: 0.85fr 1.15fr; gap: 36px; } }
.authority-photo { position: relative; max-width: 280px; margin: 0 auto; min-width: 0; }
@media (min-width: 860px) { .authority-photo { max-width: 320px; } }
.authority-photo::before {
  content: "";
  position: absolute;
  inset: -14% -20%;
  background: radial-gradient(closest-side, rgba(201, 162, 76, 0.28), transparent 72%);
  z-index: 0;
  filter: blur(2px);
}
.authority-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}
.authority-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.pull-quote {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  font-size: 19px;
  color: var(--ink);
  font-weight: 600;
  margin: 22px 0;
}

/* ---------- process steps (cards limpos, sem animação) ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.step-num {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #14100a;
  line-height: 1;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* ---------- mechanism ---------- */
.mechanism-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .mechanism-grid { grid-template-columns: 1fr 1fr; } }
.mechanism-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.mechanism-item .tag {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(201,162,76,0.14), transparent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--gold-light); font-size: 16px;
  font-family: var(--font);
}
.mechanism-item { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.mechanism-item:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.mechanism-item h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.mechanism-item p { font-size: 13.5px; margin: 0; }

/* ---------- depoimentos ---------- */
.testimonial-shell { position: relative; max-width: 720px; margin: 0 auto; }
.testimonial-track { overflow: hidden; }
.testimonial-slides { display: flex; transition: transform 0.5s ease; }
.testimonial-slide { flex: 0 0 100%; padding: 4px; }
.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: center;
}
.testimonial-quote { font-size: 18px; color: var(--ink); font-weight: 600; margin: 0 0 16px; line-height: 1.5; }
.testimonial-name { font-size: 13.5px; color: var(--gold-light); font-weight: 700; }
.testimonial-role { font-size: 12.5px; color: var(--ink-faint); }
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.testimonial-arrow {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.testimonial-arrow:hover { border-color: var(--gold); transform: translateY(-1px); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); border: none; padding: 0; cursor: pointer; }
.testimonial-dot.is-active { background: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 18px; height: 18px; color: var(--gold); transition: transform 0.2s ease; }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 20px; max-width: 62ch; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

/* ---------- final CTA band ---------- */
.cta-band {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } }
.cta-band h2 { max-width: 44ch; margin: 0 auto 12px; }
.cta-band p { max-width: 50ch; margin: 0 auto 26px; }

/* ---------- footer ---------- */
.site-footer { padding: 44px 0 60px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 700px) { .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 26px; }
.footer-note { font-size: 12.5px; color: var(--ink-faint); max-width: 52ch; }
.footer-contact { font-size: 13.5px; color: var(--ink-soft); }
.footer-contact a { color: var(--gold-light); text-decoration: none; }

/* ---------- quiz (teste.html) ---------- */
.quiz-shell { max-width: var(--maxw-narrow); margin: 0 auto; padding: 36px 20px 80px; }
.progress-track { height: 6px; border-radius: 999px; background: var(--bg-3); overflow: hidden; margin-bottom: 10px; }
.progress-fill { height: 100%; background: var(--gradient-gold); width: 0%; transition: width 0.4s ease; }
.progress-label { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 26px; display: block; }

.quiz-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.quiz-tag { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; display: block; }
.quiz-question { font-size: 21px; font-weight: 700; margin-bottom: 22px; line-height: 1.35; }

.option-list { display: flex; flex-direction: column; gap: 12px; }
.option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.option-btn:hover { border-color: var(--gold); background: rgba(201, 162, 76, 0.08); }
.option-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.option-btn .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); }
.option-btn.is-selected { border-color: var(--gold); background: rgba(201, 162, 76, 0.14); }
.option-btn.is-selected .dot { background: var(--gold); border-color: var(--gold); }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.link-back {
  background: none; border: none; color: var(--ink-faint); font-size: 13.5px; cursor: pointer; padding: 8px;
}
.link-back:hover { color: var(--ink-soft); }
.link-back[hidden] { visibility: hidden; }

.result-icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--gold); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--ink);
  font-size: 16px;
  font-family: var(--font);
}
.field input:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; border-color: var(--gold); }
.field .hint { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }
.field .error-msg { font-size: 12.5px; color: var(--gold-light); margin-top: 6px; display: none; }
.field.has-error input { border-color: var(--gold-light); }
.field.has-error .error-msg { display: block; }

.error-summary {
  display: none;
  background: var(--danger-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
}
.error-summary.is-visible { display: block; }

.trust-note {
  display: flex;
  gap: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-top: 22px;
  align-items: flex-start;
}
.trust-note img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line-strong); }
.trust-note p { font-size: 13.5px; margin: 0; }
.trust-note strong { color: var(--ink); }

[data-quiz-screen] { display: none; }
[data-quiz-screen].is-active { display: block; }

.resume-banner {
  display: none;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13.5px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.resume-banner.is-visible { display: flex; }
.resume-banner button { background: none; border: none; color: var(--gold-light); font-weight: 700; cursor: pointer; font-size: 13.5px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* wide content safety */
.table-wrap { overflow-x: auto; }
