@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url('fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jost-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jost-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jost-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ebeaea;
  --bg-soft: #f5f4f4;
  --line: #dedcda;
  --ink: #2c2b29;
  --ink-2: #5c5a57;
  --muted: #8d8a86;
  --black: #101010;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, p, ul, ol { margin: 0; }
em { font-style: italic; font-weight: 300; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.label {
  font: 400 .68rem/1.6 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.fine { font-size: .8rem; line-height: 1.55; color: var(--ink-2); }

/* Cabeçalho */
.top { padding: 22px 20px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.wordmark {
  font: 400 1.05rem/1.2 var(--serif);
  letter-spacing: .32em;
  padding-left: .32em; /* compensa o espaçamento após a última letra */
  color: var(--black);
}
.top .label { margin-top: 4px; padding-left: .28em; color: var(--ink-2); }

/* Telas */
.screen { max-width: calc(34rem + 40px); margin: 0 auto; padding: 44px 20px 72px; animation: rise .3s var(--ease) both; }
h1 { font-family: var(--serif); font-weight: 300; color: var(--black); }
.btn {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 32px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  transition: background-color .2s;
}
.btn:active { background: #3a3937; }

/* Fotos: faixa sangrada (sai do padding da tela), cinza quente enquanto carrega */
.band { position: relative; overflow: hidden; margin: 0 -20px; aspect-ratio: 3 / 2; background: var(--line); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pending { opacity: 0; }
.settle { animation: settle 1.4s var(--ease-out) both; }
.intro, .question { padding-top: 0; animation: none; }
.copy { animation: rise .5s var(--ease) both; }

/* Intro */
.hero { aspect-ratio: 4 / 3; }
.intro .copy { padding-top: 40px; animation-delay: .15s; }
.intro h1 { font-size: clamp(2.7rem, 13vw, 3.8rem); line-height: 1.02; letter-spacing: -.01em; }
.intro h1::after { content: ''; display: block; width: 40px; height: 1px; margin: 28px 0 8px; background: var(--ink); }
.lead { margin-top: 16px; color: var(--ink-2); }
.intro .fine { margin-top: 28px; }

/* Pergunta: faixa baixa o bastante para a 1ª alternativa aparecer sem rolar */
.theme { aspect-ratio: auto; height: 26vh; height: 26svh; } /* altura fixa: max-height + aspect-ratio encolheria a largura */
.theme .settle { animation-duration: .9s; }
@media (max-height: 700px) { .theme { height: 20svh; } }
.question .copy { padding-top: 22px; }
.progress { font-size: .78rem; letter-spacing: .14em; color: var(--ink-2); }
.bar { height: 2px; margin-top: 10px; background: var(--line); overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--black); transition: width .9s var(--ease-out); }
.qtext { margin-top: 24px; font-weight: 400; font-size: clamp(1.4rem, 7vw, 1.6rem); line-height: 1.25; }
.opts { display: grid; gap: 10px; margin-top: 12px; }
.opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
  text-align: left;
  font-weight: 300;
  font-size: .97rem;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color .2s, background-color .2s, opacity .2s, transform .15s var(--ease-out);
}
.opt:active { transform: scale(.985); }
.letter {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  font: 500 1rem/1 var(--serif);
  transition: background-color .2s, color .2s, border-color .2s;
}
@media (hover: hover) { .opt:hover { border-color: var(--muted); } }
/* Estado selecionado idêntico para qualquer alternativa: nada avaliativo. */
.opt[aria-pressed="true"] { border-color: var(--black); background: var(--white); }
.opt[aria-pressed="true"] .letter { border-color: var(--black); background: var(--black); color: var(--white); }
.locked .opt[aria-pressed="false"] { opacity: .5; }
.locked button { pointer-events: none; }
.status { min-height: 1.7em; margin-top: 16px; font: italic 400 1.1rem/1.5 var(--serif); color: var(--ink-2); }
.status:not(:empty) { animation: fade .25s both; }
.links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 20px; margin-top: 4px; }
.link {
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  font-size: .85rem;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: 5px;
}

/* Devolutiva */
.result { max-width: none; padding: 0; animation: none; }
.sec { padding: 48px 20px; border-top: 1px solid var(--line); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
.sec > * { max-width: 34rem; margin-inline: auto; }
.sec > * + * { margin-top: 18px; }
.sec.head { padding-top: 40px; border-top: 0; }
.cover { max-width: 680px; margin: 0 auto; }
.level { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.1; }
.score { font-size: .85rem; letter-spacing: .06em; color: var(--ink-2); }
.num { margin-right: .06em; font: 300 5.5rem/1 var(--serif); letter-spacing: -.02em; color: var(--black); }
.note { padding-left: 14px; border-left: 1px solid var(--ink); font-size: .88rem; color: var(--ink-2); }
.body { color: var(--ink-2); }
.caminho { font: italic 400 1.2rem/1.45 var(--serif); color: var(--ink); }
.list, .actions { display: grid; gap: 20px; padding: 0; list-style: none; }
.list li { padding-left: 16px; border-left: 1px solid var(--line); }
.foco { margin-top: 6px; font-size: .88rem; color: var(--ink-2); }
.actions { counter-reset: acao; }
.actions li { counter-increment: acao; display: grid; grid-template-columns: 2.4rem 1fr; }
.actions li::before { content: counter(acao, decimal-leading-zero); grid-row: span 2; font: 300 1.5rem/1.1 var(--serif); color: var(--black); }

/* Compromisso (bloco escuro) */
.sec.dark { padding-block: 56px; border-top: 0; background: var(--black); color: var(--white); }
.dark :focus-visible { outline-color: var(--white); }
.commit-q { font: 300 1.65rem/1.25 var(--serif); }
.choices { display: grid; gap: 10px; }
.choice, .chip {
  border: 1px solid rgba(255, 255, 255, .24);
  background: transparent;
  color: var(--white);
  transition: background-color .2s, color .2s, border-color .2s;
}
.choice { min-height: 56px; padding: 14px 18px; border-radius: 4px; text-align: left; font-size: .95rem; line-height: 1.5; }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 48px; padding: 0 18px; border-radius: 999px; font-size: .85rem; }
.choice[aria-pressed="true"], .chip[aria-pressed="true"] { border-color: var(--white); background: var(--white); color: var(--black); }
.commit-out { display: grid; gap: 20px; }
.card { display: grid; gap: 12px; padding: 24px 20px; border: 1px solid rgba(255, 255, 255, .32); animation: rise .3s var(--ease) both; }
.card-action { font: 400 1.35rem/1.3 var(--serif); }
.dark .label, .dark .fine, .closing { color: rgba(255, 255, 255, .66); }
.sec.end { border-top: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { opacity: 0; transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .opt:active { transform: none; }
}
