/* Identidade inspirada na arte: ameixa profundo, creme e ouro.
   O painel claro mantém a leitura confortável durante as sete perguntas. */
:root {
  --deep: #1c0922;
  --purple: #35143f;
  --surface: #29132f;
  --gold: #e8bf77;
  --gold-light: #f4deb0;
  --cream: #fbf6ed;
  --ink: #302536;
  --muted: #ccbdcf;
  --line: #60445e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: radial-gradient(ellipse 65% 700px at 85% 200px, #3a173b 0, transparent 80%), var(--deep);
  color: var(--cream);
  font: 16px/1.65 var(--sans);
}
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { color: var(--cream); font-family: var(--serif); font-weight: 400; line-height: 1.13; }
h1 { font-size: clamp(48px, 6.2vw, 86px); letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; }
h3 { font-size: 28px; }
em { color: var(--gold-light); font-weight: 400; }
p + p { margin-top: 16px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 5px;
}
h3:focus, h2:focus, legend:focus { outline: none; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip {
  position: absolute; top: 10px; left: 10px; z-index: 10;
  transform: translateY(-160%); background: var(--cream); color: var(--deep); padding: 12px;
}
.skip:focus { transform: none; }
.header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 24px; border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 12px; color: var(--gold-light);
  font: 18px/1.3 var(--serif); letter-spacing: .12em; text-decoration: none;
}
.brand small { display: block; font: 10px/1.8 var(--sans); letter-spacing: .3em; color: var(--cream); }
.brand-symbol { display: block; flex: 0 0 auto; width: 46px; height: 46px; }
.social { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; text-decoration: none; color: var(--gold-light); }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 650; letter-spacing: .17em; margin-bottom: 20px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  min-height: 54px; padding: 15px 25px; border: 1px solid #e2ba76; border-radius: 50px;
  background: linear-gradient(105deg, #f7e4b9, #e6b768);
  color: var(--deep); font-size: 15px; font-weight: 650; line-height: 1.5;
  text-decoration: none; text-align: center; box-shadow: 0 4px 24px #09020c26;
  transition: box-shadow .15s, border-color .15s;
}
.button:hover { border-color: #fff3d8; box-shadow: 0 4px 28px #e8bf7724; }
.micro { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 12px; }
.quiet-link { display: inline-block; padding-block: 12px; color: var(--gold-light); font-size: 14px; line-height: 1.6; }
.reflection { display: grid; gap: 32px; padding-block: 56px 72px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.section-intro > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); max-width: 380px; }
.quiz-panel, .result-panel {
  --muted: #6b5c6d;
  --line: #d9cbd8;
  --gold: #8a622b;
  --gold-light: #4c2457;
  min-width: 0; padding: clamp(20px, 3.5vw, 40px);
  background: var(--cream); border: 1px solid #e5d1ae; border-radius: 8px; color: var(--ink);
}
.quiz-panel :is(h3, legend), .result-panel h3 { color: var(--purple); }
.quiz-panel :is(a, button, input):focus-visible, .result-panel :is(a, button):focus-visible { outline-color: var(--purple); }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.progress-meta span:last-child { font-size: 9px; letter-spacing: .08em; }
progress { display: block; width: 100%; height: 4px; margin: 14px 0 30px; border: none; border-radius: 0; accent-color: var(--purple); background: #e2d5e4; }
progress::-webkit-progress-bar { background: #e2d5e4; }
progress::-webkit-progress-value { background: var(--purple); }
fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
legend { font: 400 28px/1.25 var(--serif); padding: 0; width: 100%; }
.question-help { font-size: 14px; color: var(--muted); margin: 12px 0 24px; }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #b29db5; border-radius: 5px; cursor: pointer; min-height: 58px; font-size: 15px; line-height: 1.5; }
.option:hover { background: #f0e8f2; }
.option:has(input:checked) { border-color: var(--purple); background: #e8ddeb; }
.option:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
.option input { accent-color: var(--purple); width: 18px; height: 18px; flex-shrink: 0; margin: 2px 0 0; }
.quiz-navigation { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; }
.text-button { border: 0; background: transparent; min-height: 44px; padding: 10px 2px; color: var(--purple); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.privacy-note { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; font-size: 12px; color: var(--muted); }
.error { color: #9a2438; font-size: 14px; margin-top: 12px; }
.result-panel h3 { margin-bottom: 16px; font-size: 34px; }
.result-panel p { font-size: 15px; }
.small-step { border-left: 2px solid var(--gold); padding-left: 16px; margin: 24px 0; }
.small-step strong { font-size: 13px; color: var(--purple); }
.small-step p { margin-top: 6px; }
.recommendation { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
.recommendation .eyebrow { font-size: 11px; }
.reason { background: #ece3ef; padding: 16px; margin-block: 20px !important; }
.recommendation .button { width: 100%; }
.result-actions { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 12px; }
.free-section {
  position: relative; padding-block: 56px;
  background: linear-gradient(115deg, #3e1a42, #26112e);
  border-block: 1px solid #9e794c;
}
.free-section::before { content: ''; position: absolute; top: -1px; left: 12%; width: 76%; height: 1px; background: linear-gradient(90deg, transparent, #ffe2a7, transparent); }
.free-grid { display: grid; gap: 28px; align-items: center; }
.free-section .event-subtitle { margin-top: 18px; color: var(--gold-light); font: italic 23px/1.4 var(--serif); }
.free-section .micro { color: #d3c2d6; }
.button-light { margin-top: 24px; }
.paths { padding-block: 64px; }
.section-heading { max-width: 650px; }
.section-heading > p:last-child { margin-top: 20px; color: var(--muted); }
.path-list { margin-top: 36px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 84px; padding: 24px 6px; cursor: pointer; display: flex; align-items: center; gap: 22px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary > span:first-child { color: var(--gold); font-size: 12px; }
summary h3 { font-size: 24px; flex: 1; }
summary::after { content: '+'; font-size: 24px; color: var(--gold); }
details[open] summary::after { content: '−'; }
.path-format { font-size: 13px; color: var(--muted); }
details > div { padding: 0 20px 24px 42px; max-width: 650px; font-size: 15px; color: var(--muted); }
details a { display: inline-block; color: var(--gold-light); padding-block: 12px; }
.about { display: grid; gap: 24px; border-top: 1px solid var(--line); padding-block: 56px; }
.about .eyebrow { grid-column: 1/-1; margin: 0; }
.about p:not(.eyebrow) { margin-top: 20px; color: var(--muted); max-width: 540px; }
.about blockquote { font: italic 26px/1.5 var(--serif); color: var(--gold-light); border-left: 1px solid var(--gold); padding-left: 28px; align-self: center; }
.availability { background: var(--surface); padding: 32px; border: 1px solid #77576c; border-radius: 6px; scroll-margin-top: 20px; }
.availability p:not(.eyebrow) { margin-top: 20px; max-width: 740px; color: var(--muted); }
.availability .button { display: flex; max-width: 400px; margin-top: 16px; }
.footer { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-block: 40px; color: var(--muted); font-size: 12px; }
.footer > span { font-family: var(--serif); color: var(--gold-light); letter-spacing: .08em; }
.footer small { display: block; letter-spacing: .16em; }
.footer a { padding-block: 12px; }
.notice { padding: 20px; border: 1px solid var(--line); }
@media (min-width: 800px) {
  .reflection { grid-template-columns: .8fr 1.2fr; gap: 50px; }
  .section-intro { padding-top: 28px; }
  .free-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about { grid-template-columns: 1.1fr .9fr; gap: 30px 80px; }
}
@media (max-width: 599px) {
  .shell { width: calc(100% - 36px); }
  .header { padding-block: 18px; gap: 10px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand small { font-size: 9px; }
  .brand-symbol { width: 34px; height: 34px; }
  .social { font-size: 11px; }
  .path-format, .progress-meta span:last-child { display: none; }
  .quiz-navigation .button { padding-inline: 17px; font-size: 14px; }
  .result-panel h3 { font-size: 29px; }
  .result-actions { flex-wrap: wrap; }
  .availability { padding: 26px 22px; }
  .free-section .button { width: 100%; }
  .footer { align-items: start; }
  .footer p { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
