:root {
  --ink: #26151b;
  --wine: #6f0928;
  --wine-dark: #2f0b19;
  --rose: #c9a6a8;
  --cream: #f7f1eb;
  --paper: #fffdf9;
  --gold: #c79b56;
  --green: #2e6954;
  --danger: #9a263d;
  --line: rgba(47, 11, 25, .15);
  --shadow: 0 24px 70px rgba(47, 11, 25, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(199, 155, 86, .13), transparent 30rem),
    linear-gradient(180deg, #fbf7f2 0%, #f5ece8 100%);
  font: 16px/1.55 "Segoe UI", Arial, sans-serif;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.review-bar {
  padding: .45rem 1rem;
  color: #fff;
  background: var(--wine-dark);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
}
.topbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; gap: .7rem; align-items: center; color: var(--wine-dark); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand small { display: block; font-size: .67rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.brand-mark { width: 2.65rem; height: 2.65rem; border: 1px solid var(--wine); border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; }
.quiet-button, .text-button { border: 0; background: transparent; color: var(--wine); cursor: pointer; padding: .6rem; font-weight: 650; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 660px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); padding: 4rem 0 7rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--wine); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.04; }
h1 { margin-bottom: 1.5rem; color: var(--wine-dark); font: 700 clamp(4.5rem, 10vw, 8.6rem)/.82 Georgia, serif; letter-spacing: -.055em; }
h1 em { color: var(--wine); font-weight: 400; }
.lead { max-width: 690px; margin-bottom: 1.8rem; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.proof-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2rem; }
.proof-row span { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.45); font-size: .86rem; }
.primary-button, .outline-button, .danger-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.15rem;
  border-radius: 4px; cursor: pointer; text-decoration: none; font-weight: 750; transition: transform .15s ease, box-shadow .15s ease;
}
.primary-button { border: 1px solid var(--wine); color: #fff; background: var(--wine); box-shadow: 0 10px 25px rgba(111, 9, 40, .18); }
.outline-button { border: 1px solid var(--wine); color: var(--wine); background: transparent; }
.danger-button { border: 1px solid var(--danger); color: var(--danger); background: transparent; }
.primary-button:hover, .outline-button:hover { transform: translateY(-1px); }
.hero-card, .panel, .result-panel { background: rgba(255,253,249,.9); border: 1px solid rgba(111,9,40,.13); box-shadow: var(--shadow); }
.hero-card { padding: clamp(1.8rem, 4vw, 3.2rem); position: relative; }
.hero-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(199,155,86,.35); pointer-events: none; }
.hero-card > * { position: relative; }
.hero-card h2 { font: 600 2rem/1.1 Georgia, serif; }
.hero-card li { margin: .45rem 0; }
.card-index { display: block; margin-bottom: 1rem; color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }

.journey { padding: 2rem 0 7rem; }
.progress-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1rem; }
.progress-head h2 { margin-bottom: 0; font: 600 clamp(2.2rem, 5vw, 4rem)/1 Georgia, serif; }
.progress-head > span { color: var(--wine); font-weight: 800; }
.progress-track { height: 4px; margin-bottom: 2rem; background: rgba(111,9,40,.12); overflow: hidden; }
.progress-track span { display: block; width: 33%; height: 100%; background: var(--wine); transition: width .3s ease; }
.panel { padding: clamp(1.4rem, 4vw, 3rem); }
.panel-intro { margin-bottom: 2rem; }
.panel-intro h3 { margin-bottom: .55rem; font: 600 2rem/1.1 Georgia, serif; }
.panel-intro p { margin: 0; color: #68565d; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field.full { grid-column: 1/-1; }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field span { font-weight: 700; font-size: .9rem; }
.field input { width: 100%; padding: .9rem 1rem; border: 1px solid rgba(47,11,25,.24); border-radius: 3px; background: #fff; color: var(--ink); }
.field input:focus { outline: 3px solid rgba(199,155,86,.25); border-color: var(--wine); }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin: .65rem 0; }
.consent input { margin-top: .3rem; accent-color: var(--wine); }
.required-consent { padding: 1rem; background: rgba(199,155,86,.10); border-left: 3px solid var(--gold); }
.marketing-box { margin: 1.4rem 0; padding: 1rem 1.2rem; border: 1px solid var(--line); }
.marketing-box legend { padding: 0 .4rem; font-weight: 800; }
.marketing-box p { margin: 0 0 .8rem; color: #6d5961; font-size: .9rem; }
.form-footer, .question-footer, .result-actions, .dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.status { margin: 0; min-height: 1.5em; color: var(--danger); font-size: .9rem; }

.questions-intro { display: flex; justify-content: space-between; gap: 2rem; align-items: start; min-height: 120px; }
.questions-intro h3 { max-width: 800px; }
.question-note { max-width: 245px; padding-left: 1rem; border-left: 2px solid var(--gold); color: #6d5961; font-size: .88rem; }
.option-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.option-card { display: flex; align-items: center; gap: .85rem; min-height: 68px; padding: 1rem; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.option-card:has(input:checked) { border-color: var(--wine); background: rgba(111,9,40,.055); }
.option-card input { accent-color: var(--wine); }

.result-panel { padding: clamp(1.5rem, 5vw, 4rem); }
.result-panel > h2 { max-width: 900px; margin-bottom: 2rem; font: 600 clamp(2.4rem, 6vw, 5rem)/.98 Georgia, serif; color: var(--wine-dark); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.result-grid article { padding: 1.4rem; border-top: 2px solid var(--gold); background: var(--cream); }
.result-grid span, .offer-card span { display: block; color: var(--wine); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.result-notice { padding: 1rem 1.2rem; border-left: 3px solid var(--wine); background: rgba(111,9,40,.05); }
.offer-card { margin-top: 2rem; padding: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #fff; background: var(--wine-dark); }
.offer-card h3 { margin: .4rem 0; font: 600 2rem Georgia, serif; }
.offer-card p { margin: 0; max-width: 690px; color: rgba(255,255,255,.78); }
.offer-card .primary-button { background: var(--gold); border-color: var(--gold); color: var(--wine-dark); white-space: nowrap; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 1.5rem 0 2.5rem; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #715d64; font-size: .82rem; }
dialog { width: min(600px, calc(100% - 28px)); padding: 2rem; border: 0; box-shadow: 0 30px 100px rgba(0,0,0,.3); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(26,8,15,.62); }
.dialog-close { position: absolute; right: .8rem; top: .6rem; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; color: var(--wine); }

@media (max-width: 760px) {
  .topbar, main, footer { width: min(100% - 28px, 1180px); }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 2.2rem 0 5rem; gap: 2.2rem; }
  h1 { font-size: clamp(4.2rem, 22vw, 7rem); }
  .field-grid, .option-list, .result-grid { grid-template-columns: 1fr; }
  .questions-intro, .offer-card, .form-footer, .result-actions { align-items: stretch; flex-direction: column; }
  .question-note { max-width: none; }
  .question-footer { display: grid; grid-template-columns: auto 1fr; }
  .question-footer .primary-button { grid-column: 2; }
  .question-footer .status { grid-column: 1/-1; grid-row: 2; }
  footer { flex-direction: column; gap: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* V2: fluxo direto de dez perguntas e coleta posterior ao resultado. */
.shell { width:min(760px,calc(100% - 32px)); margin:56px auto; }.shell .panel { margin:18px 0; border-radius:12px; }.shell h1 { font-size:clamp(3rem,10vw,6rem); }.shell label:not(.consent) { display:grid; gap:.35rem; margin:12px 0; font-weight:700; }.shell input:not([type=checkbox]),.shell select { padding:.75rem; border:1px solid var(--line); border-radius:4px; }.primary,.secondary,.exports button,.table-wrap button { display:inline-flex;justify-content:center;align-items:center;min-height:45px;padding:.7rem 1rem;border-radius:4px;font:inherit;font-weight:800;cursor:pointer;text-decoration:none; }.primary { border:1px solid var(--wine);background:var(--wine);color:#fff; }.primary:disabled { opacity:.45;cursor:not-allowed; }.secondary,.exports button,.table-wrap button { border:1px solid var(--wine);background:transparent;color:var(--wine); }.progress { display:grid;gap:.6rem;margin-bottom:1.5rem;color:var(--wine);font-weight:800; }.progress progress { width:100%; accent-color:var(--wine); }.options { display:grid;gap:.7rem; }.options label { display:block;padding:1rem;border:1px solid var(--line);background:#fff;cursor:pointer; }.options label:has(input:checked) { border-color:var(--wine);background:#fff5f7; }.options b { display:inline-grid;place-items:center;width:1.7rem;height:1.7rem;margin-right:.5rem;border-radius:50%;background:var(--wine);color:#fff; }.actions { display:flex;justify-content:space-between;gap:1rem;margin-top:1.5rem; }.notice { padding:1rem;border-left:3px solid var(--gold);background:var(--cream); }.shell #results article { padding:1.25rem 0;border-bottom:1px solid var(--line); }.shell #results h2 { color:var(--wine-dark);font:600 2rem Georgia,serif; }.shell form { margin-top:1.5rem; }
/* V2.1 — alternativas compactas, horizontais e mobile-first. */
.shell { width:min(720px,calc(100% - 40px)); margin:40px auto; }
.shell #quiz { overflow:visible; }
.shell #question { margin:0 0 1.25rem; font-size:clamp(1.55rem,4vw,2rem); line-height:1.16; }
.shell .progress { gap:.55rem; margin-bottom:1.35rem; }
.shell .options { display:grid; grid-template-columns:1fr; gap:10px; }
.shell .options .option-row {
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:52px;
  margin:0;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  cursor:pointer;
  font-size:1rem;
  font-weight:650;
  line-height:1.42;
  transition:border-color .15s,background .15s,box-shadow .15s;
}
.shell .options .option-row:has(input:checked) {
  border-color:var(--wine);
  background:#fff5f7;
  box-shadow:0 0 0 1px rgba(111,9,40,.08);
}
.shell .options input[type="radio"] {
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  padding:0;
  border:0;
  opacity:0;
  pointer-events:none;
}
.shell .option-control {
  flex:0 0 21px;
  width:21px;
  height:21px;
  border:2px solid #8a747c;
  border-radius:50%;
  background:#fff;
  box-shadow:inset 0 0 0 4px #fff;
  transition:border-color .15s,background .15s;
}
.shell .option-row input:checked + .option-control { border-color:var(--wine); background:var(--wine); }
.shell .option-text { min-width:0; }
.shell .options .option-row:focus-within { outline:3px solid rgba(111,9,40,.22); outline-offset:2px; }

@media (hover:hover) {
  .shell .options .option-row:hover { border-color:rgba(111,9,40,.55); background:#fffafb; }
}

@media (max-width:600px) {
  .shell { width:calc(100% - 40px); margin:24px auto 40px; }
  .shell .panel { padding:1.25rem; margin:14px 0; border-radius:10px; }
  .shell #question { margin-bottom:1.1rem; font-size:clamp(1.5rem,7vw,1.75rem); }
  .shell .options .option-row { min-height:50px; padding:14px; gap:11px; }
  .shell .actions { margin-top:1.2rem; }
}

/* V2.2 — continuidade após o resultado. */
.next-step { margin-top:1.5rem; padding:1.25rem; border:1px solid var(--line); border-top:3px solid var(--gold); background:rgba(255,253,249,.76); }
.next-step h2 { margin-bottom:.45rem; color:var(--wine-dark); font:600 clamp(1.65rem,5vw,2.15rem)/1.1 Georgia,serif; }
.next-step h3 { margin:1.4rem 0 .65rem; color:var(--wine-dark); font:600 1.35rem/1.2 Georgia,serif; }
.next-step-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1rem; }
.next-step-form { margin-top:1.25rem; padding-top:1.15rem; border-top:1px solid var(--line); }
.next-step-form textarea { width:100%; resize:vertical; min-height:7rem; padding:.75rem; color:var(--ink); border:1px solid var(--line); border-radius:4px; font:inherit; }
.next-step-form textarea:focus { outline:3px solid rgba(111,9,40,.18); border-color:var(--wine); }
@media (max-width:600px) { .next-step-actions .primary,.next-step-actions .secondary,.next-step-form .primary { width:100%; } }