/* =========================================================
   Crediloom — sistema visual
   Paleta derivada da marca: magenta, roxo, azul, turquesa e âmbar.
   ========================================================= */

:root {
  --ink: #17121f;
  --ink-2: #3d3550;
  --muted: #6c6480;
  --muted-2: #8f8aa0;
  --paper: #ffffff;
  --bg: #f7f4fa;
  --bg-2: #efeaf5;
  --line: rgba(23, 18, 31, .09);
  --line-2: rgba(23, 18, 31, .16);

  --magenta: #c2459b;
  --purple: #8b46b0;
  --blue: #3f8fd0;
  --teal: #3bb3b8;
  --amber: #ef9f2a;
  --coral: #e0574f;
  --green: #3f9d6d;

  --brand: linear-gradient(120deg, var(--magenta) 0%, var(--purple) 45%, var(--blue) 100%);
  --brand-soft: linear-gradient(120deg, rgba(194, 69, 155, .12), rgba(63, 143, 208, .12));
  --warm: linear-gradient(120deg, var(--amber), var(--coral));

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --sh-1: 0 1px 2px rgba(23, 18, 31, .06), 0 4px 14px rgba(23, 18, 31, .05);
  --sh-2: 0 2px 6px rgba(23, 18, 31, .06), 0 18px 44px rgba(23, 18, 31, .09);
  --sh-3: 0 30px 80px rgba(63, 40, 92, .18);
  --sh-glow: 0 14px 40px rgba(194, 69, 155, .32);

  --shell: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Atmosfera de fundo: manchas de cor suaves e textura fina */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58rem 34rem at 12% -8%, rgba(194, 69, 155, .16), transparent 62%),
    radial-gradient(46rem 30rem at 92% 4%, rgba(63, 143, 208, .15), transparent 60%),
    radial-gradient(40rem 28rem at 68% 92%, rgba(239, 159, 42, .12), transparent 62%),
    radial-gradient(52rem 34rem at 4% 78%, rgba(59, 179, 184, .11), transparent 60%),
    linear-gradient(180deg, #fbf9fc 0%, var(--bg) 40%, var(--bg-2) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.075rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--purple); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--magenta); }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

strong { color: var(--ink); font-weight: 600; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25rem; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

.ico { width: 1.25em; height: 1.25em; flex: none; }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-xs);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- estrutura ---------- */

.shell { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }
.shell-narrow { width: min(100% - 2.4rem, 780px); margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.09rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple);
  background: rgba(139, 70, 176, .09);
  border: 1px solid rgba(139, 70, 176, .18);
  padding: .38rem .85rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow .ico { width: 1em; height: 1em; }

.lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--ink-2); }

.grad-text {
  background: var(--brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  text-align: center; line-height: 1.2;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn .ico { width: 1.15em; height: 1.15em; transition: transform .22s ease; }

.btn-primary {
  color: #fff; background: var(--brand); background-size: 160% 160%;
  box-shadow: var(--sh-glow);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 48px rgba(194, 69, 155, .42); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover .ico { transform: translateX(3px); }

.btn-ghost {
  color: var(--ink); background: rgba(255,255,255,.7);
  border: 1px solid var(--line-2); backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--ink); background: #fff; transform: translateY(-2px); box-shadow: var(--sh-1); }

.btn-soft {
  color: var(--purple); background: rgba(139, 70, 176, .1);
  border: 1px solid rgba(139, 70, 176, .16);
}
.btn-soft:hover { color: var(--purple); background: rgba(139, 70, 176, .16); transform: translateY(-2px); }

.btn-lg { padding: 1.1rem 2rem; font-size: 1.08rem; }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* ---------- cabeçalho ---------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  padding: .85rem 0;
  background: rgba(251, 249, 252, .78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-head.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(23, 18, 31, .06);
  padding: .6rem 0;
}
.head-inner { display: flex; align-items: center; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand img { height: 34px; width: auto; transition: transform .3s ease; }
.brand:hover img { transform: scale(1.04) rotate(-2deg); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  color: var(--ink-2); padding: .55rem .8rem; border-radius: 999px;
  position: relative; transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--ink); background: rgba(139, 70, 176, .08); }
.nav a.is-active { color: var(--purple); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: .25rem; transform: translateX(-50%);
  width: 16px; height: 3px; border-radius: 3px; background: var(--brand);
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.8); cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s ease, background .2s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .head-cta { display: none; }
  .nav {
    position: fixed; inset: 64px 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem 1.2rem 1.6rem;
    background: rgba(251, 249, 252, .97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(23, 18, 31, .12);
    transform: translateY(-130%); transition: transform .32s cubic-bezier(.2,.8,.3,1);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav a.is-active::after { display: none; }
  .nav .btn { margin-top: .6rem; }
}

/* ---------- hero ---------- */

.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }

.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.hero-copy h1 { margin-bottom: .55rem; }
.hero-copy .lead { max-width: 46ch; color: var(--muted); margin-bottom: 1.9rem; }

.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }

.blob {
  width: min(100%, 430px); position: relative; z-index: 2;
  filter: drop-shadow(0 40px 70px rgba(139, 70, 176, .35));
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}

.blob-glow {
  position: absolute; z-index: 1;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,69,155,.4), rgba(63,143,208,.22) 55%, transparent 72%);
  filter: blur(50px);
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* painéis que flutuam sobre a arte */
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1.05rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  animation: float 7s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; flex: none;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.18rem; color: var(--ink); line-height: 1.1; }
.float-card span { font-size: .78rem; color: var(--muted); letter-spacing: .01em; }

.fc-1 { top: 8%; left: -2%; animation-delay: .6s; }
.fc-2 { bottom: 14%; right: -4%; animation-delay: 1.4s; }
.fc-3 { bottom: -2%; left: 10%; animation-delay: 2.1s; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; order: -1; }
  .blob { width: min(76%, 300px); }
  .fc-1 { left: 0; top: 2%; }
  .fc-2 { right: 0; bottom: 8%; }
  .fc-3 { display: none; }
}

/* faixa de métricas */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; margin-top: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--sh-1);
}
.metric { background: rgba(255,255,255,.75); padding: 1.5rem 1.35rem; text-align: center; transition: background .25s ease; }
.metric:hover { background: #fff; }
.metric strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1; margin-bottom: .35rem;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { font-size: .88rem; color: var(--muted); }
@media (max-width: 720px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* ---------- superfícies ---------- */

.panel {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.panel-flat { background: rgba(255,255,255,.6); box-shadow: var(--sh-1); }

.card {
  position: relative;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.65rem;
  box-shadow: var(--sh-1);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--c, var(--brand)); opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(139,70,176,.2); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: #fff; margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px rgba(23,18,31,.14);
}
.card-icon .ico { width: 22px; height: 22px; }

.grid { display: grid; gap: 1.35rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- destaque do teste ---------- */

.quiz-cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 5vw, 3.75rem);
  color: #fff;
  background: linear-gradient(125deg, #3b2350 0%, #6a2f7a 42%, #8b3f92 70%, #b8563f 118%);
  box-shadow: var(--sh-3);
}
.quiz-cta::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(239,159,42,.42), transparent 68%);
}
.quiz-cta::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  left: -120px; bottom: -180px;
  background: radial-gradient(circle, rgba(63,143,208,.38), transparent 68%);
}
.quiz-cta > * { position: relative; z-index: 2; }
.quiz-cta h2 { color: #fff; }
.quiz-cta p { color: rgba(255,255,255,.82); }
.quiz-cta .eyebrow { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.26); }
.quiz-cta .btn-primary { background: #fff; color: #6a2f7a; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.quiz-cta .btn-primary:hover { color: #6a2f7a; }
.quiz-cta .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.quiz-cta .btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

.cta-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .cta-split { grid-template-columns: 1fr; } }

.cta-steps { display: grid; gap: .7rem; }
.cta-step {
  display: flex; gap: .85rem; align-items: flex-start;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm); padding: .85rem 1rem;
  backdrop-filter: blur(6px);
}
.cta-step b {
  font-family: var(--font-display); font-size: .82rem; letter-spacing: .06em;
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(255,255,255,.9); color: #6a2f7a;
}
.cta-step span { font-size: .93rem; color: rgba(255,255,255,.88); line-height: 1.45; }

/* ---------- teste ---------- */

.quiz-bar {
  position: sticky; top: 60px; z-index: 50;
  padding: .9rem 0;
  background: rgba(251,249,252,.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.quiz-bar-inner { display: flex; align-items: center; gap: 1.1rem; }
.quiz-bar-meta { flex: 1; min-width: 0; }
.quiz-bar-meta b { font-family: var(--font-display); color: var(--ink); display: block; font-size: 1rem; }
.quiz-bar-meta span { font-size: .82rem; color: var(--muted); }

.progress { height: 8px; border-radius: 999px; background: rgba(23,18,31,.08); overflow: hidden; margin-top: .5rem; }
.progress span {
  display: block; height: 100%; border-radius: 999px;
  background: var(--brand);
  width: var(--p, 0%);
  transition: width .6s cubic-bezier(.2,.8,.3,1);
}

.steps-dots { display: flex; gap: .4rem; align-items: center; }
.steps-dots i {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(23,18,31,.14); display: block;
  transition: all .3s ease;
}
.steps-dots i.done { background: var(--purple); }
.steps-dots i.now { background: var(--magenta); width: 26px; border-radius: 999px; }
@media (max-width: 640px) { .steps-dots { display: none; } }

.question {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  margin-bottom: 1.25rem;
  box-shadow: var(--sh-1);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.question.is-answered { border-color: rgba(139,70,176,.3); box-shadow: 0 4px 24px rgba(139,70,176,.12); }
.question legend { padding: 0; }

.q-num {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--purple);
  margin-bottom: .7rem;
}
.q-num .tag-adapt {
  background: rgba(239,159,42,.16); color: #a8690a; border: 1px solid rgba(239,159,42,.3);
  padding: .18rem .5rem; border-radius: 999px; letter-spacing: .04em; text-transform: none; font-size: .7rem;
}
.q-text { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.42rem); font-weight: 600; color: var(--ink); line-height: 1.28; margin-bottom: .4rem; display: block; }
.q-help { font-size: .88rem; color: var(--muted); margin-bottom: 1.1rem; }

.options { display: grid; gap: .6rem; margin: 0; padding: 0; border: 0; }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; width: 0; height: 0; }
.option-body {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .95rem 1.1rem;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .22s cubic-bezier(.2,.8,.3,1);
}
.option-body:hover { border-color: rgba(139,70,176,.45); background: #fff; transform: translateX(3px); }
.option-mark {
  width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: .1rem;
  border: 2px solid var(--line-2); display: grid; place-items: center;
  transition: all .22s ease;
}
.option-mark::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .22s cubic-bezier(.2,1.6,.4,1); }
.option-text { font-size: 1rem; color: var(--ink-2); line-height: 1.5; }
.option input:checked + .option-body {
  border-color: var(--purple); background: linear-gradient(100deg, rgba(139,70,176,.09), rgba(63,143,208,.06));
  box-shadow: 0 6px 20px rgba(139,70,176,.16);
}
.option input:checked + .option-body .option-mark { border-color: var(--purple); background: var(--purple); }
.option input:checked + .option-body .option-mark::after { transform: scale(1); }
.option input:checked + .option-body .option-text { color: var(--ink); font-weight: 500; }
.option input:focus-visible + .option-body { outline: 3px solid var(--purple); outline-offset: 3px; }

.quiz-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-top: 1.75rem;
  padding: 1.25rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
.quiz-status { font-size: .92rem; color: var(--muted); }
.quiz-status.ok { color: var(--green); font-weight: 500; }

.alert {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: var(--r-sm);
  background: rgba(224,87,79,.08); border: 1px solid rgba(224,87,79,.24);
  color: #a7362f; margin-bottom: 1.5rem; font-size: .96rem;
}
.alert .ico { color: var(--coral); margin-top: .15rem; }

/* ---------- resultado ---------- */

.result-hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(130deg, var(--pc1, #6a2f7a), var(--pc2, #3f8fd0));
  box-shadow: var(--sh-3);
}
.result-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 85% 10%, rgba(255,255,255,.22), transparent 60%);
}
.result-hero > * { position: relative; z-index: 2; }
.result-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); }
.result-hero p { color: rgba(255,255,255,.88); }

.result-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 880px) { .result-grid { grid-template-columns: 1fr; } }

.result-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: .45rem 1rem; border-radius: 999px; font-size: .84rem; font-weight: 600;
  font-family: var(--font-display); letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.radar-box {
  background: rgba(255,255,255,.94); border-radius: var(--r-lg);
  padding: 1.25rem; box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.radar { width: 100%; height: auto; display: block; }
.radar-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; fill: #17121f; }
.radar-value { font-family: var(--font-display); font-size: 12px; font-weight: 700; fill: #8b46b0; }
.radar-area { transition: all .8s cubic-bezier(.2,.8,.3,1); }

.ring { width: 64px; height: 64px; }
.ring-text { font-family: var(--font-display); font-size: 15px; font-weight: 700; fill: #17121f; }

.score-legend { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: .75rem; font-size: .82rem; color: var(--muted); }
.score-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: .35rem; vertical-align: middle; }

/* barras de eixo */
.bars { display: grid; gap: 1.1rem; }
.bars-row { }
.bars-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .45rem; }
.bars-label { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .98rem; }
.bars-value { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.bars-track { height: 10px; border-radius: 999px; background: rgba(23,18,31,.07); overflow: hidden; }
.bars-fill {
  display: block; height: 100%; border-radius: 999px; width: var(--w);
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff));
  animation: growbar 1s cubic-bezier(.2,.8,.3,1);
}
@keyframes growbar { from { width: 0; } }
.bars-note { font-size: .84rem; color: var(--muted); margin: .4rem 0 0; }

/* lista de eixos detalhada */
.axis-item {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 1.1rem; align-items: start;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
}
.axis-item:last-child { border-bottom: 0; }
.axis-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.axis-ico .ico { width: 24px; height: 24px; }
.axis-item h3 { margin-bottom: .25rem; font-size: 1.15rem; }
.axis-item p { font-size: .96rem; color: var(--muted); margin: 0; }
.axis-score { text-align: right; }
.axis-score b { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--ink); }
.axis-score span { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
@media (max-width: 640px) {
  .axis-item { grid-template-columns: 44px 1fr; }
  .axis-ico { width: 44px; height: 44px; }
  .axis-score { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: .6rem; }
  .axis-score b { font-size: 1.4rem; }
}

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  padding: .28rem .7rem; border-radius: 999px;
}
.pill-alto { background: rgba(63,157,109,.14); color: #2c7350; }
.pill-medio { background: rgba(239,159,42,.16); color: #a8690a; }
.pill-baixo { background: rgba(224,87,79,.13); color: #b03a33; }

/* plano de 7 dias */
.plan { position: relative; padding-left: 2.4rem; }
.plan::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--magenta), var(--blue), var(--teal)); border-radius: 2px; opacity: .35; }
.plan-day { position: relative; padding-bottom: 1.6rem; }
.plan-day:last-child { padding-bottom: 0; }
.plan-day::before {
  content: ""; position: absolute; left: -2.4rem; top: .35rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid var(--purple);
  box-shadow: 0 0 0 5px rgba(139,70,176,.1);
}
.plan-day .day-n {
  position: absolute; left: -2.4rem; top: .35rem; width: 28px; height: 28px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--purple);
}
.plan-day h4 { margin-bottom: .3rem; font-size: 1.08rem; }
.plan-day p { font-size: .97rem; color: var(--ink-2); margin-bottom: .5rem; }
.plan-why {
  font-size: .88rem; color: var(--muted); padding: .65rem .9rem;
  background: rgba(139,70,176,.05); border-left: 3px solid rgba(139,70,176,.3);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
}

/* ---------- perfis ---------- */

.profile-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 1.75rem;
  background: rgba(255,255,255,.8); border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  transition: transform .32s cubic-bezier(.2,.8,.3,1), box-shadow .32s ease;
  display: flex; flex-direction: column;
}
.profile-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  right: -90px; top: -110px; opacity: .16;
  background: radial-gradient(circle, var(--pc1), transparent 70%);
  transition: transform .5s ease, opacity .4s ease;
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.profile-card:hover::after { transform: scale(1.35); opacity: .26; }
.profile-card > * { position: relative; z-index: 2; }
.profile-card h3 { margin-bottom: .2rem; }
.profile-card .pc-tag { font-size: .88rem; color: var(--purple); font-weight: 500; margin-bottom: .8rem; display: block; }
.profile-card p { font-size: .95rem; color: var(--muted); margin-bottom: 1.15rem; }
.profile-card .pc-link { margin-top: auto; font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.profile-card .pc-link .ico { transition: transform .25s ease; }
.profile-card:hover .pc-link .ico { transform: translateX(4px); }

.pc-avatar {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; margin-bottom: 1.1rem; box-shadow: 0 10px 26px rgba(23,18,31,.16);
}
.pc-avatar .ico { width: 26px; height: 26px; }

.mini-radar { width: 92px; height: 92px; opacity: .9; }

/* comparador */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.compare-table th, .compare-table td { padding: .85rem .75rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.compare-table thead th { font-family: var(--font-display); color: var(--ink); font-size: .9rem; }
.compare-table .win { color: var(--green); font-weight: 700; }
.compare-table .num { font-family: var(--font-display); font-weight: 600; }

.select-field {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  font-family: var(--font-text); font-size: 1rem; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c6480' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.select-field:focus { border-color: var(--purple); outline: none; }

.field-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .4rem; }

/* ---------- métodos ---------- */

.method-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255,255,255,.82); border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  transition: transform .32s cubic-bezier(.2,.8,.3,1), box-shadow .32s ease;
}
.method-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.method-top {
  padding: 1.4rem 1.5rem; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--mc1), var(--mc2));
}
.method-top::after {
  content: ""; position: absolute; right: -50px; bottom: -70px; width: 170px; height: 170px;
  border-radius: 50%; background: rgba(255,255,255,.14);
}
.method-top .ico { width: 26px; height: 26px; margin-bottom: .7rem; position: relative; z-index: 2; }
.method-top h3 { color: #fff; margin: 0; font-size: 1.24rem; position: relative; z-index: 2; }
.method-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.method-body p { font-size: .95rem; color: var(--muted); }
.method-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.chip {
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  padding: .28rem .65rem; border-radius: 999px;
  background: rgba(23,18,31,.05); color: var(--muted); border: 1px solid var(--line);
}
.chip-n1 { background: rgba(63,157,109,.12); color: #2c7350; border-color: rgba(63,157,109,.2); }
.chip-n2 { background: rgba(239,159,42,.14); color: #a8690a; border-color: rgba(239,159,42,.24); }
.chip-n3 { background: rgba(194,69,155,.12); color: #9c2f78; border-color: rgba(194,69,155,.2); }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  padding: 1rem 1.15rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  margin-bottom: 2rem;
}
.filter-bar b { font-family: var(--font-display); font-size: .86rem; color: var(--ink); margin-right: .3rem; }
.filter-link {
  font-size: .88rem; font-weight: 500; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(23,18,31,.04); color: var(--ink-2); border: 1px solid transparent;
  transition: all .2s ease;
}
.filter-link:hover { background: rgba(139,70,176,.1); color: var(--purple); }
.filter-link.is-on { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(194,69,155,.3); }
.filter-link.is-on:hover { color: #fff; }

/* artigo */
.article-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.article-body { font-size: 1.09rem; line-height: 1.78; }
.article-body h2 { margin-top: 2.75rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 2rem; }

.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.steps-list li {
  counter-increment: step; position: relative;
  padding: 1.25rem 1.4rem 1.25rem 4rem;
  background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--r-md);
  margin: 0;
  transition: border-color .25s ease, transform .25s ease;
}
.steps-list li:hover { border-color: rgba(139,70,176,.25); transform: translateX(4px); }
.steps-list li::before {
  content: counter(step); position: absolute; left: 1.25rem; top: 1.2rem;
  width: 34px; height: 34px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: #fff;
  background: var(--brand);
}
.steps-list strong { display: block; font-family: var(--font-display); font-size: 1.06rem; margin-bottom: .25rem; }

.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; margin: 1.25rem 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; font-size: 1rem; }
.check-list .ico { width: 20px; height: 20px; margin-top: .22rem; flex: none; }
.check-pos .ico { color: var(--green); }
.check-neg .ico { color: var(--coral); }

.callout {
  padding: 1.4rem 1.6rem; border-radius: var(--r-md); margin: 1.75rem 0;
  background: linear-gradient(120deg, rgba(194,69,155,.07), rgba(63,143,208,.06));
  border: 1px solid rgba(139,70,176,.16);
}
.callout h4 { margin-bottom: .4rem; color: var(--purple); }
.callout p { font-size: 1rem; margin-bottom: 0; }
.callout-warn { background: linear-gradient(120deg, rgba(239,159,42,.09), rgba(224,87,79,.06)); border-color: rgba(239,159,42,.24); }
.callout-warn h4 { color: #a8690a; }

.faq-item { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.faq-item p { color: var(--muted); margin: 0; font-size: 1rem; }

.toc {
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.25rem 1.5rem; margin-bottom: 2rem;
}
.toc b { font-family: var(--font-display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .6rem; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.toc li { margin: 0; }
.toc a { font-size: .95rem; color: var(--ink-2); }
.toc a:hover { color: var(--purple); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article-side { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-side { position: static; } }

/* ---------- ferramentas ---------- */

.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } }

.quad {
  border-radius: var(--r-md); padding: 1.4rem; min-height: 200px;
  border: 1px solid var(--line); background: rgba(255,255,255,.72);
  border-top: 4px solid var(--qc);
  transition: box-shadow .3s ease;
}
.quad:hover { box-shadow: var(--sh-2); }
.quad-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .25rem; }
.quad-head h3 { margin: 0; font-size: 1.12rem; }
.quad-count { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--qc); }
.quad-sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--muted); margin-bottom: .9rem; }
.quad-action { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.task-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.task-list li {
  display: flex; align-items: center; gap: .6rem; margin: 0;
  padding: .65rem .85rem; border-radius: var(--r-xs);
  background: rgba(255,255,255,.9); border: 1px solid var(--line);
  font-size: .95rem; color: var(--ink);
  animation: fadeUp .4s ease;
}
.task-list form { margin-left: auto; display: flex; }
.task-del {
  background: none; border: 0; cursor: pointer; color: var(--muted-2); padding: .2rem;
  display: grid; place-items: center; border-radius: 6px; transition: color .2s ease, background .2s ease;
}
.task-del:hover { color: var(--coral); background: rgba(224,87,79,.1); }
.task-empty { font-size: .9rem; color: var(--muted-2); font-style: italic; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

.form-row { display: grid; gap: .9rem; }
.input {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  font-family: var(--font-text); font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 4px rgba(139,70,176,.12); }
.input::placeholder { color: var(--muted-2); }

.switch-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.switch { position: relative; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .6rem 1.05rem; border-radius: 999px; font-size: .93rem; font-weight: 500;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2);
  transition: all .22s ease;
}
.switch span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--line-2); transition: all .22s ease; }
.switch input:checked + span { border-color: var(--purple); background: rgba(139,70,176,.08); color: var(--purple); font-weight: 600; }
.switch input:checked + span::before { background: var(--purple); border-color: var(--purple); box-shadow: inset 0 0 0 2px #fff; }
.switch input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }

/* checklist */
.check-block { margin-bottom: 1.5rem; }
.check-block-head { display: flex; align-items: center; gap: .85rem; margin-bottom: .9rem; }
.check-block-ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.check-block-head h3 { margin: 0; font-size: 1.1rem; }
.check-block-head span { font-size: .84rem; color: var(--muted); margin-left: auto; font-family: var(--font-display); font-weight: 600; }

.check-item { display: block; margin-bottom: .5rem; }
.check-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-item-body {
  display: flex; gap: .8rem; align-items: flex-start; cursor: pointer;
  padding: .8rem 1rem; border-radius: var(--r-sm);
  background: rgba(255,255,255,.68); border: 1.5px solid var(--line);
  transition: all .22s ease; font-size: .98rem;
}
.check-item-body:hover { border-color: rgba(139,70,176,.3); background: #fff; }
.check-box {
  width: 21px; height: 21px; border-radius: 7px; flex: none; margin-top: .1rem;
  border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff;
  transition: all .22s ease;
}
.check-box .ico { width: 13px; height: 13px; opacity: 0; transform: scale(.5); transition: all .22s cubic-bezier(.2,1.6,.4,1); stroke-width: 3.5; }
.check-item input:checked + .check-item-body { border-color: var(--green); background: rgba(63,157,109,.06); }
.check-item input:checked + .check-item-body .check-box { background: var(--green); border-color: var(--green); }
.check-item input:checked + .check-item-body .check-box .ico { opacity: 1; transform: scale(1); }
.check-item input:focus-visible + .check-item-body { outline: 3px solid var(--purple); outline-offset: 2px; }

.score-big {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.5rem; border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(194,69,155,.08), rgba(63,143,208,.07));
  border: 1px solid rgba(139,70,176,.16); margin-bottom: 1.75rem;
}
.score-big .big-n { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 3.8rem); line-height: 1; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score-big .big-info { flex: 1; min-width: 200px; }
.score-big h3 { margin-bottom: .2rem; }
.score-big p { font-size: .96rem; color: var(--muted); margin: 0; }

/* calculadora de tempo */
.time-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .time-grid { grid-template-columns: 1fr; } }

.time-input-row {
  display: grid; grid-template-columns: 1fr 118px; gap: .9rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.time-input-row:last-of-type { border-bottom: 0; }
.time-input-row label { font-size: .97rem; color: var(--ink); font-weight: 500; }
.time-input-row small { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; margin-top: .1rem; }
.time-input-row .input { padding: .6rem .7rem; text-align: center; font-family: var(--font-display); font-weight: 600; }
.time-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .5rem; vertical-align: middle; }

.donut { width: 100%; max-width: 240px; height: auto; margin: 0 auto; display: block; }
.donut-main { font-family: var(--font-display); font-size: 26px; font-weight: 700; fill: #17121f; }
.donut-sub { font-family: var(--font-text); font-size: 11px; fill: #6c6480; }
.donut-seg { transition: stroke-width .25s ease; }

.legend { display: grid; gap: .5rem; margin-top: 1.25rem; }
.legend-row { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.legend-row b { margin-left: auto; font-family: var(--font-display); color: var(--ink); }
.legend-row span { color: var(--muted); }

/* ---------- utilidades ---------- */

.stack > * + * { margin-top: 1.1rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.25rem; } .mt-4 { margin-top: 3rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2.5rem 0; }

.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb span { opacity: .5; }

.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

.note-box {
  padding: 1.1rem 1.3rem; border-radius: var(--r-md); font-size: .95rem; color: var(--muted);
  background: rgba(23,18,31,.03); border: 1px solid var(--line);
}

/* ---------- rodapé ---------- */

.site-foot {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(23,18,31,.04));
  border-top: 1px solid var(--line);
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.foot-grid li { margin: 0; }
.foot-grid a { color: var(--ink-2); font-size: .95rem; }
.foot-grid a:hover { color: var(--purple); }
.foot-brand img { height: 32px; margin-bottom: 1rem; }
.foot-brand p { font-size: .93rem; color: var(--muted); max-width: 34ch; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 1.75rem; border-top: 1px solid var(--line);
  font-size: .87rem; color: var(--muted);
}
.foot-bottom p { margin: 0; }

/* ---------- impressão ---------- */

@media print {
  body::before, body::after { display: none; }
  .site-head, .site-foot, .quiz-bar, .btn, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .panel, .card, .result-hero { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .result-hero { color: #000; background: #fff; }
  .result-hero h1, .result-hero p { color: #000; }
  a { color: #000; }
}
