/* =========================================================
   Planos de Investimento — sistema visual
   Tema claro, acentos em roxo, composicao em camadas
   ========================================================= */

:root {
  --ink: #1a1222;
  --ink-2: #3d3450;
  --muted: #6f6880;
  --muted-2: #928ca3;

  --brand: #b45ce8;
  --brand-2: #8b3fd4;
  --brand-deep: #62189f;
  --brand-wash: #f7eefe;

  --bg: #faf8fd;
  --surface: #ffffff;
  --surface-2: #fdfbff;
  --line: #ece3f8;
  --line-2: #f3ecfb;

  --ok: #17a673;
  --warn: #e08a12;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 34px;

  --shadow-s: 0 1px 2px rgba(26, 18, 34, .05), 0 2px 8px rgba(98, 24, 159, .04);
  --shadow: 0 2px 4px rgba(26, 18, 34, .04), 0 12px 30px rgba(98, 24, 159, .07);
  --shadow-l: 0 8px 20px rgba(26, 18, 34, .06), 0 30px 70px rgba(98, 24, 159, .13);
  --glow: 0 10px 30px rgba(180, 92, 232, .35);

  --maxw: 1160px;
  --font-h: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-b: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --c-arquiteto: #5b6cf9;
  --c-sprinter: #ef6820;
  --c-explorador: #0fa596;
  --c-equilibrista: #c98a06;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink-2);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.65rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
h4 { font-size: 1.06rem; font-weight: 650; }

p { margin: 0 0 1.1em; }
a { color: var(--brand-deep); text-decoration-color: rgba(180, 92, 232, .35); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 640; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 800px; }

.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: 12px; top: -60px; z-index: 999;
  background: var(--brand-deep); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 10px; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 3px solid rgba(180, 92, 232, .55); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(98, 24, 159, .06); }

.header-in { display: flex; align-items: center; gap: 18px; height: 74px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .95rem; font-weight: 550; color: var(--ink-2);
  text-decoration: none; padding: 9px 13px; border-radius: 10px;
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--brand-wash); color: var(--brand-deep); }
.nav a[aria-current="page"] { color: var(--brand-deep); background: var(--brand-wash); }
/* o botao dentro do menu precisa vencer as regras de link acima */
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #cd85f2 0%, #b25ae8 52%, #9843d8 100%);
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s;
}
.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 { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Botoes ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-b); font-weight: 600; font-size: .97rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .22s, background .22s, color .22s;
  line-height: 1;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, #c476ee 0%, #a94fe4 52%, #8f3ad2 100%);
  color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  background: linear-gradient(135deg, #cd85f2 0%, #b25ae8 52%, #9843d8 100%);
  box-shadow: 0 16px 38px rgba(180, 92, 232, .45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-s); }
.btn-ghost:hover { color: var(--brand-deep); border-color: rgba(180, 92, 232, .45); transform: translateY(-2px); }

.btn-soft { background: var(--brand-wash); color: var(--brand-deep); }
.btn-soft:hover { background: #f0e2fd; color: var(--brand-deep); }

.btn-lg { padding: 16px 32px; font-size: 1.04rem; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Blocos genericos ---------- */

.section { padding: 88px 0; position: relative; }
.section-tight { padding: 58px 0; }
.section-alt { background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-wash);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.lead { font-size: 1.14rem; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 28px;
  box-shadow: var(--shadow-s); position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s, border-color .3s;
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: rgba(180, 92, 232, .3); }

.card-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-wash); color: var(--brand-deep); margin-bottom: 16px;
}
.card-icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 74px 0 92px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 900px; z-index: 0;
  background:
    radial-gradient(closest-side, rgba(180, 92, 232, .22), transparent 70%) 22% 38% / 780px 780px no-repeat,
    radial-gradient(closest-side, rgba(120, 200, 255, .16), transparent 70%) 78% 12% / 620px 620px no-repeat,
    radial-gradient(closest-side, rgba(255, 196, 120, .14), transparent 70%) 62% 72% / 520px 520px no-repeat;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(98, 24, 159, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(98, 24, 159, .035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .hl {
  background: linear-gradient(115deg, var(--brand) 10%, var(--brand-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; white-space: nowrap;
}
.hero-text > p { font-size: 1.12rem; color: var(--muted); max-width: 31em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .89rem; color: var(--muted-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--brand); }

/* composicao do hero */
.hero-art { position: relative; height: 470px; }
.hero-art .orb {
  position: absolute; border-radius: 50%; filter: blur(2px);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(180, 92, 232, .25));
}
.hero-art .orb-1 { width: 340px; height: 340px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #fff, rgba(180, 92, 232, .16) 60%, rgba(180, 92, 232, .05)); filter: blur(0); }
.hero-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px dashed rgba(139, 63, 212, .25);
}
.hero-ring.r1 { width: 300px; height: 300px; }
.hero-ring.r2 { width: 420px; height: 420px; border-style: solid; border-color: rgba(139, 63, 212, .12); }
.hero-mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 158px; height: 158px; display: grid; place-items: center;
  background: #fff; border-radius: 42px; box-shadow: 0 24px 60px rgba(139, 63, 212, .25), inset 0 0 0 1px var(--line);
  animation: floatY 6s ease-in-out infinite;
}
.hero-mark img { width: 104px; height: 104px; }

.chip-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px 9px 10px; box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600; color: var(--ink); white-space: nowrap;
  animation: floatY 7s ease-in-out infinite;
}
.chip-float i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; color: #fff; font-weight: 700; }
.chip-float.c1 { top: 8%; left: -2%; animation-delay: .2s; }
.chip-float.c2 { top: 26%; right: -6%; animation-delay: 1.4s; }
.chip-float.c3 { bottom: 20%; left: -6%; animation-delay: .8s; }
.chip-float.c4 { bottom: 4%; right: 2%; animation-delay: 2s; }

.hero-badge {
  position: absolute; bottom: 26%; right: -4%;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 18px; box-shadow: var(--shadow-l); animation: floatY 8s ease-in-out infinite .6s;
}
.hero-badge b { display: block; font-family: var(--font-h); font-size: 1.5rem; color: var(--brand-deep); line-height: 1; }
.hero-badge span { font-size: .78rem; color: var(--muted); }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
.hero-mark { animation-name: floatMark; }
@keyframes floatMark {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-13px); }
}

/* ---------- Passos ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-h); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(180, 92, 232, .38);
  display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Perfis ---------- */

.profile-card {
  --pc: var(--brand);
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 26px; overflow: hidden;
  box-shadow: var(--shadow-s); transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.profile-card::before {
  content: ""; position: absolute; top: -70px; right: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pc) 26%, transparent), transparent 68%);
  transition: transform .45s ease; pointer-events: none;
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: color-mix(in srgb, var(--pc) 40%, var(--line)); }
.profile-card:hover::before { transform: scale(1.35); }
.profile-glyph {
  width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 15px;
  background: color-mix(in srgb, var(--pc) 13%, #fff); color: var(--pc);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 22%, transparent);
}
.profile-glyph svg { width: 27px; height: 27px; }
.profile-card h3 { margin-bottom: .25em; }
.profile-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pc); margin-bottom: 10px; }
.profile-card p { color: var(--muted); font-size: .97rem; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 14px; }
.tag {
  font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--brand-wash); color: var(--brand-deep);
}
.profile-card .tag { background: color-mix(in srgb, var(--pc) 11%, #fff); color: color-mix(in srgb, var(--pc) 78%, #000); }

/* ---------- Quiz ---------- */

.quiz-shell { position: relative; padding: 40px 0 90px; }
.quiz-shell::before {
  content: ""; position: absolute; inset: -160px 0 auto 0; height: 620px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(180, 92, 232, .16), transparent 72%) 50% 0 / 1100px 700px no-repeat;
}
.quiz-stage { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }

.quiz-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-l); padding: 34px 38px 30px;
}

.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep);
  background: var(--brand-wash); padding: 7px 14px; border-radius: 999px;
}
.cat-chip svg { width: 14px; height: 14px; }
.quiz-count { font-size: .88rem; color: var(--muted); font-weight: 600; }
.quiz-count b { color: var(--ink); font-family: var(--font-h); font-size: 1.05rem; }

.progress-track { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; margin-bottom: 6px; }
.progress-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 60%, var(--brand-deep) 100%);
  box-shadow: 0 0 12px rgba(180, 92, 232, .5);
  transition: width .45s cubic-bezier(.2,.8,.3,1);
}
.progress-dots { display: flex; gap: 5px; margin-bottom: 26px; }
.progress-dots i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transition: background .3s; }
.progress-dots i.done { background: color-mix(in srgb, var(--brand) 55%, #fff); }
.progress-dots i.now { background: var(--brand-2); }

.question { font-family: var(--font-h); font-size: clamp(1.3rem, 2.6vw, 1.72rem); color: var(--ink); font-weight: 700; margin-bottom: 22px; line-height: 1.28; }

.options { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; cursor: pointer; font-family: var(--font-b); font-size: 1rem; color: var(--ink-2);
  transition: border-color .2s, background .2s, transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .2s;
}
.opt:hover { border-color: rgba(180, 92, 232, .55); background: #fff; transform: translateX(4px); box-shadow: var(--shadow-s); }
.opt-key {
  flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line); color: var(--muted);
  font-weight: 700; font-size: .88rem; font-family: var(--font-h); transition: .2s;
}
.opt:hover .opt-key { border-color: var(--brand); color: var(--brand-deep); }
.opt.selected { border-color: var(--brand-2); background: var(--brand-wash); }
.opt.selected .opt-key { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }

.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.quiz-hint { font-size: .84rem; color: var(--muted-2); }

.fade-in { animation: qIn .42s cubic-bezier(.2,.8,.3,1) both; }
.fade-out { animation: qOut .22s ease-in both; }
@keyframes qIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes qOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }

.opt-stagger { animation: qIn .42s cubic-bezier(.2,.8,.3,1) both; }

/* intro do quiz */
.quiz-intro { text-align: center; }
.quiz-intro .quiz-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }
.fact { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; min-width: 128px; }
.fact b { display: block; font-family: var(--font-h); font-size: 1.35rem; color: var(--brand-deep); line-height: 1.1; }
.fact span { font-size: .8rem; color: var(--muted); }

/* resultado */
.result-hero {
  --pc: var(--brand);
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: linear-gradient(150deg, color-mix(in srgb, var(--pc) 14%, #fff) 0%, #fff 58%);
  border: 1px solid color-mix(in srgb, var(--pc) 26%, var(--line));
  box-shadow: var(--shadow-l); padding: 40px; text-align: center;
}
.result-hero::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -220px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--pc) 30%, transparent), transparent 70%);
}
.result-hero > * { position: relative; }
.result-label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.result-glyph {
  width: 92px; height: 92px; margin: 14px auto 16px; border-radius: 28px; display: grid; place-items: center;
  background: #fff; color: var(--pc); box-shadow: 0 18px 40px color-mix(in srgb, var(--pc) 28%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--pc) 20%, transparent);
}
.result-glyph svg { width: 46px; height: 46px; }
.result-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .2em; }
.result-hero .result-kicker { color: var(--pc); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; margin-bottom: 14px; }
.result-hero .result-sum { max-width: 60ch; margin: 0 auto; color: var(--ink-2); font-size: 1.06rem; }

.affinity { max-width: 520px; margin: 26px auto 0; text-align: left; }
.affinity-row { display: grid; grid-template-columns: 112px 1fr 44px; align-items: center; gap: 10px; margin-bottom: 9px; font-size: .86rem; }
.affinity-row b { font-weight: 600; color: var(--ink-2); }
.affinity-bar { display: block; height: 9px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.affinity-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--ab, var(--brand)); transition: width .9s cubic-bezier(.2,.8,.3,1); }
.affinity-row span { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }

.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 26px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-s); }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.panel h3 svg { width: 19px; height: 19px; color: var(--brand-2); flex: none; }
.panel ul { margin: 0; padding-left: 0; list-style: none; }
.panel ul li { position: relative; padding-left: 26px; font-size: .97rem; }
.panel ul li::before {
  content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px; border-radius: 2px;
  background: var(--brand); transform: rotate(45deg);
}
.panel.ok h3 svg { color: var(--ok); }
.panel.ok ul li::before { background: var(--ok); }
.panel.warn h3 svg { color: var(--warn); }
.panel.warn ul li::before { background: var(--warn); }

.tips { counter-reset: tip; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tips li { counter-increment: tip; position: relative; padding-left: 48px; font-size: .99rem; }
.tips li::before {
  content: counter(tip); position: absolute; left: 0; top: -1px; width: 32px; height: 32px; border-radius: 11px;
  background: var(--brand-wash); color: var(--brand-deep); display: grid; place-items: center;
  font-family: var(--font-h); font-weight: 700; font-size: .92rem;
}
.tips li b { display: block; color: var(--ink); }

.method-links { display: grid; gap: 12px; }
.method-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-2); text-decoration: none; color: var(--ink);
  transition: transform .22s cubic-bezier(.2,.8,.3,1), border-color .22s, box-shadow .22s, background .22s;
}
.method-link:hover { transform: translateX(5px); border-color: rgba(180, 92, 232, .45); background: #fff; box-shadow: var(--shadow-s); color: var(--ink); }
.method-link .ml-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-wash); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.method-link .ml-ico svg { width: 19px; height: 19px; }
.method-link b { display: block; font-size: .98rem; }
.method-link small { color: var(--muted); font-size: .85rem; }
.method-link .ml-go { margin-left: auto; color: var(--brand); }

.share-box {
  margin-top: 26px; background: linear-gradient(135deg, var(--brand-wash), #fff 70%);
  border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; text-align: center;
}
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: .9rem;
  opacity: 0; pointer-events: none; transition: .3s; z-index: 200; box-shadow: var(--shadow-l);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.shared-note {
  display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px dashed rgba(180, 92, 232, .5);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; font-size: .93rem; color: var(--muted);
}
.shared-note svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }

/* ---------- Comparador ---------- */

.compare-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; margin-bottom: 26px; }
.field { display: block; }
.field span { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
select, input[type="text"], input[type="email"], input[type="number"], textarea {
  width: 100%; font-family: var(--font-b); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(180, 92, 232, .14); }
.vs {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: .82rem; margin-bottom: 3px;
}

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { --pc: var(--brand); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); }
.compare-head { padding: 22px; background: linear-gradient(150deg, color-mix(in srgb, var(--pc) 16%, #fff), #fff); border-bottom: 1px solid var(--line-2); display: flex; gap: 14px; align-items: center; }
.compare-head .profile-glyph { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.compare-head .profile-glyph svg { width: 23px; height: 23px; }
.compare-head h3 { margin: 0; font-size: 1.16rem; }
.compare-head small { color: var(--pc); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.compare-body { padding: 22px; }
.bar-row { margin-bottom: 14px; }
.bar-row .bl { display: flex; justify-content: space-between; font-size: .86rem; margin-bottom: 5px; color: var(--muted); }
.bar-row .bl b { color: var(--ink-2); font-weight: 600; }
.bar { display: block; height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--pc); transition: width .8s cubic-bezier(.2,.8,.3,1); }
.compare-facts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.compare-facts div { display: grid; grid-template-columns: 128px 1fr; gap: 10px; font-size: .92rem; padding: 7px 0; }
.compare-facts dt, .compare-facts .k { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

/* ---------- Metodos ---------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; align-items: center; }
.filter-chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 9px 17px; border-radius: 999px; font-family: var(--font-b); font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: .2s;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.method-card { display: flex; flex-direction: column; scroll-margin-top: 100px; }
.method-card .m-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.method-card .m-ico { width: 48px; height: 48px; border-radius: 15px; background: var(--brand-wash); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.method-card .m-ico svg { width: 24px; height: 24px; }
.method-card h3 { margin: 0; font-size: 1.18rem; }
.method-card .m-time { font-size: .8rem; color: var(--muted); }
.method-steps { margin: 0 0 16px; padding-left: 1.15em; font-size: .96rem; }
.method-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: .89rem; color: var(--muted); }
.method-foot b { color: var(--ink); }
.is-hidden { display: none !important; }

details.acc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0; margin-bottom: 12px; box-shadow: var(--shadow-s); }
details.acc summary {
  cursor: pointer; padding: 18px 22px; font-family: var(--font-h); font-weight: 650; color: var(--ink);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 1.02rem;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); line-height: 1; transition: transform .25s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 22px 20px; color: var(--muted); }
details.acc .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Ferramentas ---------- */

.tool { scroll-margin-top: 100px; }
.tool-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.tool-head .card-icon { margin: 0; }

.pomodoro { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: center; }
.timer-ring {
  position: relative; width: 240px; height: 240px; border-radius: 50%;
  background: conic-gradient(var(--brand-2) calc(var(--p, 0) * 1%), var(--line-2) 0);
  display: grid; place-items: center; transition: background .4s linear;
  box-shadow: 0 20px 50px rgba(139, 63, 212, .18);
}
.timer-ring::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 2px 14px rgba(98, 24, 159, .07); }
.timer-inner { position: relative; z-index: 1; text-align: center; }
.timer-time { font-family: var(--font-h); font-size: 3.05rem; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.timer-mode { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brand-deep); margin-top: 7px; }
.timer-ring.break { background: conic-gradient(var(--ok) calc(var(--p, 0) * 1%), var(--line-2) 0); }
.timer-ring.break .timer-mode { color: var(--ok); }
.timer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.timer-config { display: flex; flex-wrap: wrap; gap: 14px; }
.timer-config label { font-size: .84rem; color: var(--muted); font-weight: 600; }
.timer-config input { width: 92px; padding: 9px 12px; margin-top: 5px; }
.cycle-dots { display: flex; gap: 7px; margin-top: 18px; align-items: center; font-size: .86rem; color: var(--muted); }
.cycle-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.cycle-dots i.on { background: var(--brand-2); box-shadow: 0 0 0 3px rgba(180, 92, 232, .16); }

.checklist-form { display: flex; gap: 10px; margin-bottom: 18px; }
.checklist-form input { flex: 1; }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--surface-2); margin-bottom: 9px; transition: .2s;
}
.checklist li.done { background: #fff; border-color: var(--line-2); }
.checklist li.done .ck-text { text-decoration: line-through; color: var(--muted-2); }
.ck-box {
  width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line); background: #fff;
  cursor: pointer; flex: none; display: grid; place-items: center; padding: 0; transition: .2s;
}
.ck-box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transition: .2s; }
.checklist li.done .ck-box { background: var(--ok); border-color: var(--ok); }
.checklist li.done .ck-box svg { opacity: 1; }
.ck-text { flex: 1; font-size: .98rem; }
.ck-del { background: none; border: 0; color: var(--muted-2); cursor: pointer; padding: 4px; border-radius: 8px; line-height: 0; }
.ck-del:hover { color: #d63a5e; background: #fff0f3; }
.ck-del svg { width: 16px; height: 16px; }
.checklist-meta { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted); }
.checklist-meta .bar { flex: 1; }
.checklist-meta .bar i { background: var(--ok); }

.matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.quad {
  border: 1.5px dashed var(--line); border-radius: var(--radius-l); padding: 18px; min-height: 190px;
  background: var(--surface-2); transition: .2s;
}
.quad.over { border-color: var(--brand); background: var(--brand-wash); }
.quad h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; font-size: 1rem; }
.quad h4 i { width: 10px; height: 10px; border-radius: 50%; background: var(--qc, var(--brand)); flex: none; }
.quad .q-sub { font-size: .8rem; color: var(--muted); margin-bottom: 13px; }
.quad[data-q="q1"] { --qc: #e0483f; }
.quad[data-q="q2"] { --qc: #2f8fe0; }
.quad[data-q="q3"] { --qc: #e0a11b; }
.quad[data-q="q4"] { --qc: #8a8797; }
.task {
  display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: .92rem; cursor: grab;
  box-shadow: var(--shadow-s); transition: .18s;
}
.task:hover { border-color: rgba(180, 92, 232, .45); transform: translateY(-1px); }
.task.dragging { opacity: .4; }
.task .t-txt { flex: 1; }
.task select { width: auto; padding: 5px 8px; font-size: .78rem; border-radius: 8px; border-width: 1px; }
.task .ck-del { padding: 2px; }
.quad-empty { font-size: .86rem; color: var(--muted-2); font-style: italic; }

/* ---------- Pagina de conteudo ---------- */

.page-hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -300px 0 auto 0; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(180, 92, 232, .17), transparent 72%) 50% 62% / 1200px 620px no-repeat;
}
.page-hero > .wrap { position: relative; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { max-width: 58ch; color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

.breadcrumb { font-size: .85rem; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-deep); }

.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose ul li, .prose ol li { color: var(--ink-2); }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--brand);
  background: var(--brand-wash); border-radius: 0 14px 14px 0; color: var(--ink-2);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.callout {
  display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 26px 0; box-shadow: var(--shadow-s);
}
.callout svg { width: 21px; height: 21px; color: var(--brand); flex: none; margin-top: 3px; }
.callout p { margin: 0; font-size: .96rem; }

/* ---------- CTA final ---------- */

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 56px 44px; text-align: center;
  background: linear-gradient(140deg, #2a0f45 0%, #4c1a7a 48%, #7b2fbe 100%); color: #fff; box-shadow: var(--shadow-l); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent 70%) 18% 12% / 480px 480px no-repeat,
              radial-gradient(closest-side, rgba(180, 92, 232, .5), transparent 70%) 84% 82% / 520px 520px no-repeat;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.cta-band .btn-primary:hover { color: var(--brand-deep); background: #fff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); box-shadow: none; }
.cta-band .btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); border-color: #fff; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; color: var(--muted); max-width: 34ch; }
.site-footer h4 { font-family: var(--font-h); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.site-footer ul a:hover { color: var(--brand-deep); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted-2);
}
.footer-note { max-width: 70ch; font-size: .84rem; color: var(--muted-2); margin-top: 18px; }

/* ---------- Reveal ---------- */

/* o conteudo so parte escondido quando ha JavaScript para revela-lo */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { height: 380px; order: -1; transform: scale(.88); }
  .hero-text > p { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pomodoro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pomodoro .timer-side { text-align: left; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 62px 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 18px 22px;
    box-shadow: 0 20px 40px rgba(98, 24, 159, .1);
    transform: translateY(-14px); opacity: 0; pointer-events: none; transition: .24s;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav .btn { margin-top: 10px; }
  .grid-2, .grid-3, .grid-4, .result-grid, .compare-grid, .matrix { grid-template-columns: 1fr; }
  .compare-controls { grid-template-columns: 1fr; justify-items: stretch; }
  .vs { margin: 0 auto; }
  .quiz-panel { padding: 24px 20px 22px; border-radius: var(--radius-l); }
  .question { font-size: 1.22rem; }
  .opt { padding: 14px; font-size: .96rem; }
  .opt:hover { transform: none; }
  .quiz-nav { flex-direction: column-reverse; align-items: stretch; }
  .quiz-nav .btn { width: 100%; }
  .quiz-hint { text-align: center; }
  .result-hero { padding: 30px 22px; }
  .affinity-row { grid-template-columns: 92px 1fr 40px; font-size: .8rem; }
  .cta-band { padding: 40px 22px; }
  .hero { padding-top: 26px; }
  .hero-art { transform: scale(.68); height: 280px; margin-bottom: -6px; }
  .chip-float { font-size: .82rem; }
  /* decoracao secundaria sai no mobile para nao cobrir o objeto principal */
  .hero-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .timer-ring { width: 210px; height: 210px; }
  .timer-time { font-size: 2.6rem; }
  .compare-facts div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .share-box, .quiz-nav, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .card, .panel, .result-hero { box-shadow: none; border-color: #ddd; break-inside: avoid; }
}
