/* Soymia · estilos
   Paleta e fontes definidas no Project Bible (Fase 5). */

:root {
  --bg: #FBFAF7;
  --ink: #2B2321;
  --ink-2: rgba(43, 35, 33, 0.84);
  --ink-3: rgba(43, 35, 33, 0.66);
  --wine: #7E3B4F;
  --wine-06: rgba(126, 59, 79, 0.06);
  --wine-12: rgba(126, 59, 79, 0.12);
  --gold: #B8955A;
  --gold-soft: #D9C29B;
  --line: #E8E1D9;
  --card: #FFFFFF;
  --blush: #F6EADD;
  --stone: #ECE6E1;
  --olive: #6B7A4B;
  --green: #2E9E5B;
  --terra: #B76E5A;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 2px 12px rgba(43, 35, 33, 0.06);
  --shadow-lift: 0 10px 30px rgba(43, 35, 33, 0.10);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --col: 480px;
  --gutter: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
em { font-style: italic; color: var(--wine); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

.app {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.view { flex: 1; display: flex; flex-direction: column; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.view.is-leaving { opacity: 0; transform: translateY(-6px); }
.view.is-entering { opacity: 0; transform: translateY(8px); transition: none; }

/* ---------- Marca e barra superior ---------- */
.brand {
  margin: 0;
  font: 600 16px/1 var(--serif);
  letter-spacing: .42em;
  text-align: center;
  text-transform: uppercase;
  padding-left: .42em;
}
.brand__dot { color: var(--gold); letter-spacing: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  margin: 0 calc(var(--gutter) * -1);
  padding: 10px var(--gutter) 8px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar[hidden] { display: none; }
.topbar__row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.iconbtn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%;
}
.iconbtn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn:hover { background: var(--wine-06); }

.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.progress__seg { display: grid; gap: 5px; }
.progress__bar { height: 3px; background: #E6DFD7; border-radius: 3px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.progress__bar i { display: block; height: 100%; background: var(--wine); transform-origin: left; transition: transform .45s var(--ease); }
.progress__label { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.progress__label.is-current { color: var(--wine); font-weight: 600; }

/* ---------- Tipografia das telas ---------- */
.screen { display: flex; flex-direction: column; flex: 1; padding: 18px 0 8px; }
.q-title {
  margin: 8px 0 10px;
  font: 600 clamp(28px, 7.4vw, 34px)/1.1 var(--serif);
  text-align: center;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.q-sub { margin: 0 auto 22px; max-width: 34ch; text-align: center; color: var(--ink-2); font-size: 15.5px; text-wrap: pretty; }
.q-sub--italic { font-style: italic; }

/* ---------- Botões ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; padding: 0 22px;
  border: 1.5px solid var(--ink); border-radius: var(--r);
  background: var(--ink); color: var(--bg);
  font: 600 17px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none;
  transition: transform .15s var(--ease), background .2s, color .2s, opacity .2s;
}
.btn:hover { background: #3a2f2c; }
.btn:active { transform: scale(.985); }
.btn:disabled { background: transparent; color: var(--ink-3); border-color: rgba(43, 35, 33, .22); cursor: not-allowed; }
.btn--small { min-height: 46px; width: auto; padding: 0 20px; font-size: 15.5px; }
.btn--cta { min-height: 60px; font-size: 18px; box-shadow: 0 8px 22px rgba(43, 35, 33, .18); }
.linkbtn { border: 0; background: none; color: var(--ink-2); text-decoration: underline; font-size: 13.5px; padding: 10px; }

.cta-dock {
  position: sticky; bottom: 0; z-index: 5;
  margin: auto calc(var(--gutter) * -1) 0;
  padding: 18px var(--gutter) calc(16px + var(--safe-b));
  background: linear-gradient(to top, var(--bg) 70%, color-mix(in srgb, var(--bg) 0%, transparent));
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cta-dock--hidden { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* ---------- Intro ---------- */
.intro { align-items: center; padding-top: 16px; text-align: center; }
.brand--intro { margin-bottom: 14px; }
.intro__media {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.intro__img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.intro__title { margin: -6px 0 18px; font: 600 clamp(30px, 8vw, 36px)/1.08 var(--serif); text-wrap: balance; }
.intro__loading { margin: 0 0 10px; font-weight: 500; }
.loadbar { width: 78%; height: 5px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.loadbar i { display: block; height: 100%; width: 0; background: var(--wine); border-radius: 5px; animation: load 2.6s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }
.intro__foot { margin: 18px auto 0; max-width: 32ch; font-size: 13px; color: var(--ink-2); }

/* ---------- Idade ---------- */
.agegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.agecard {
  padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--card);
  box-shadow: var(--shadow); text-align: left; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.agecard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.agecard__media { aspect-ratio: 1 / 0.92; background: var(--stone); overflow: hidden; }
.agecard__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.agecard__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 16px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 17px; }
.agecard__bar .ico { width: 18px; height: 18px; stroke: var(--bg); }
.agecard.is-selected { box-shadow: 0 0 0 2px var(--wine), var(--shadow-lift); }
.legal { margin: 26px auto 8px; max-width: 36ch; font-size: 12px; color: var(--ink-3); text-align: center; }
.legal a { color: var(--ink-2); }

/* ---------- Opções (lista) ---------- */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--muted { stroke: var(--ink-3); width: 18px; height: 18px; }
.optlist { display: grid; gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 14px 16px 14px 18px; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); text-align: left; font-weight: 500; font-size: 16px; line-height: 1.3;
  transition: border-color .15s, background .15s, transform .15s var(--ease);
}
.opt:hover { border-color: var(--gold-soft); }
.opt:active { transform: scale(.99); }
.opt__label { flex: 1; }
.opt__emoji { font-size: 20px; width: 26px; text-align: center; }
.opt.is-selected { border: 2px solid var(--wine); background: color-mix(in srgb, var(--wine) 6%, #fff); padding: 13px 15px 13px 17px; }
.opt.is-selected .ico--muted { stroke: var(--wine); }
.checkbox { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid rgba(43, 35, 33, .25); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.checkbox .ico { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.4; opacity: 0; }
.opt.is-selected .checkbox { background: var(--wine); border-color: var(--wine); }
.opt.is-selected .checkbox .ico { opacity: 1; }

/* ---------- Caminho ---------- */
.path { position: relative; height: 300px; margin: 6px auto 14px; width: min(100%, 300px); }
.path__line { position: absolute; inset: 0; width: 100%; height: 100%; }
.path__line path { fill: none; stroke: var(--wine); stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .7; vector-effect: non-scaling-stroke; }
.path ol { list-style: none; margin: 0; padding: 0; }
.path__node { position: absolute; top: calc(var(--i) * 60px); left: calc(var(--x) - 26px); animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * 110ms); }
.path__node--l { --x: 35%; }
.path__node--r { --x: 65%; }
.path__label { position: absolute; top: 50%; transform: translateY(-50%); }
.path__node--l .path__label { right: calc(100% + 10px); }
.path__node--r .path__label { left: calc(100% + 10px); }
.path__dot { width: 52px; height: 52px; border-radius: 50%; background: var(--wine); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(126, 59, 79, .25); }
.path__dot .ico { stroke: #fff; width: 24px; height: 24px; }
.path__label { font-size: 14px; font-weight: 500; white-space: nowrap; }
@keyframes pop { from { opacity: 0; scale: .8; } }

/* ---------- Slider ---------- */
.slider { --v: 40; position: relative; padding: 46px 6px 0; margin-bottom: 30px; }
.slider__bubble {
  position: absolute; top: 0; left: calc(6px + (100% - 12px) * var(--v) / 100); transform: translateX(-50%);
  background: var(--blush); color: var(--wine); border: 1px solid var(--gold-soft); border-radius: 10px; padding: 4px 10px; font: 600 15px/1.2 var(--sans);
}
.slider__input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
.slider__input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--wine) calc(var(--v) * 1%), #fff calc(var(--v) * 1%)); box-shadow: inset 0 0 0 1px var(--line); }
.slider__input::-moz-range-track { height: 6px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.slider__input::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--wine); }
.slider__input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 2px solid var(--wine); box-shadow: 0 3px 10px rgba(43, 35, 33, .2); }
.slider__input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--wine); }
.slider__ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Swatches (olhos, cabelo, pele) ---------- */
.swgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.swcard {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  text-align: left; font-weight: 500; font-size: 15px; line-height: 1.2;
  transition: border-color .15s, transform .15s var(--ease);
}
.swcard:hover { border-color: var(--gold-soft); }
.swcard.is-selected { border: 2px solid var(--wine); background: color-mix(in srgb, var(--wine) 6%, #fff); padding: 9px 11px; }
.sw { width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.sw--flat { background: var(--c); }
.sw--iris {
  background:
    radial-gradient(circle at 38% 36%, rgba(255, 255, 255, .9) 0 7%, transparent 8%),
    radial-gradient(circle, #120d0b 0 21%, transparent 22%),
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .16) 0 4deg, rgba(0, 0, 0, .10) 4deg 9deg),
    radial-gradient(circle, color-mix(in srgb, var(--c) 70%, #fff) 22%, var(--c) 46%, color-mix(in srgb, var(--c) 60%, #000) 68%, #2b2321 70%, #fff 72%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .12);
}
.sw--hair {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 42%, transparent 54%),
    repeating-linear-gradient(100deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 6px),
    linear-gradient(160deg, color-mix(in srgb, var(--c) 75%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000));
}

/* ---------- Subtom ---------- */
.tonelist { display: grid; gap: 12px; }
.tonecard {
  display: flex; gap: 16px; align-items: center; padding: 18px; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); text-align: left;
}
.tonecard.is-selected { border: 2px solid var(--wine); background: color-mix(in srgb, var(--wine) 6%, #fff); padding: 17px; }
.tonecard__chip { width: 46px; height: 46px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff8 0 18%, transparent 19%), var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.tonecard__body strong { display: block; font: 600 24px/1.1 var(--serif); margin-bottom: 6px; }
.tonecard__hints { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--ink-2); }
.tonecard__hints span::before { content: "•"; color: var(--gold); margin-right: 6px; }

/* ---------- Fase completada / carregamento ---------- */
.phase { align-items: center; text-align: center; padding-top: 26px; }
.phase .cta-dock { align-self: stretch; }
.pct { width: 76px; height: 76px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(126, 59, 79, .28); }
.pct__num { font: 600 24px/1 var(--serif); }
.pct--ring { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 10px 34px rgba(126, 59, 79, .42); } }
.phase__done { margin: 14px 0 22px; font-weight: 500; min-height: 1.5em; }
.phaseline { --p: 1; position: relative; width: 86%; height: 44px; margin: 0 auto 40px; }
.phaseline__track { position: absolute; left: 0; right: 0; top: 8px; height: 4px; background: #fff; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.phaseline__track i { display: block; height: 100%; width: calc(var(--p) * 33.333% - 4px); background: var(--wine); border-radius: 4px; transition: width .9s var(--ease); }
.phaseline__mark {
  position: absolute; top: 0; left: calc(var(--n) * 33.333%); transform: translateX(-100%);
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--wine); display: grid; place-items: center;
}
.phaseline__mark.is-done { background: var(--wine); }
.phaseline__mark .ico { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; }
.phaseline__pill { position: absolute; top: 28px; left: calc(var(--n) * 33.333% - 10px); transform: translateX(-50%); font-size: 10.5px; padding: 2px 8px; border-radius: 99px; background: var(--blush); color: var(--ink-2); white-space: nowrap; }
.phase__title { margin-top: 26px; }
.tipcard { margin-top: 30px; width: 100%; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.tipcard__eyebrow { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.tipcard__text { margin: 0; font: 500 21px/1.3 var(--serif); }
.fade-in { animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Corpo ---------- */
.bodygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bodycard {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 104px; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); text-align: left; font-weight: 500;
}
.bodycard:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
.bodycard.is-selected { border: 2px solid var(--wine); background: color-mix(in srgb, var(--wine) 6%, #fff); padding: 11px 13px; }
.bodysvg { width: 40px; height: 82px; flex: none; }
.bodysvg__line { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-linecap: round; }
.bodysvg__shape > * { fill: color-mix(in srgb, var(--terra) 35%, transparent); stroke: var(--terra); stroke-width: 1.2; stroke-linejoin: round; }
.bodycard__label { font-size: 15px; line-height: 1.25; }

/* ---------- Looks ---------- */
.lookgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lookcard { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--stone); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.lookcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.lookcard:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
.lookcard__img, .lookcard .imgph { width: 100%; height: 100%; object-fit: cover; }
.lookcard__tick { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--wine); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: .2s var(--ease); }
.lookcard__tick .ico { stroke: #fff; width: 16px; height: 16px; stroke-width: 2.6; }
.lookcard.is-selected { box-shadow: 0 0 0 3px var(--wine), var(--shadow-lift); }
.lookcard.is-selected .lookcard__tick { opacity: 1; transform: none; }

/* ---------- Nome ---------- */
.nameform { display: flex; flex-direction: column; flex: 1; }
.field { width: 100%; height: 60px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); font: 500 19px/1 var(--sans); color: var(--ink); box-shadow: var(--shadow); }
.field:focus { outline: none; border: 2px solid var(--wine); padding: 0 17px; }
.field__error { margin: 8px 2px 0; color: var(--wine); font-size: 14px; }

/* ---------- Placeholder de imagem ---------- */
.imgph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #EADFD6 0 12px, #E4D7CC 12px 24px); color: var(--ink-3); font-size: 12px; text-align: center; padding: 10px; width: 100%; height: 100%; }

/* =================================================================== */
/* RESULTADO                                                            */
/* =================================================================== */
body[data-screen="result"] .app { padding-bottom: 90px; }
.result { padding: 22px 0 0; }
.result__head { text-align: center; }
.eyebrow { margin: 22px 0 8px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.eyebrow--left { text-align: left; margin-top: 0; }
.result__title { margin: 0 0 10px; font: 600 clamp(31px, 8.4vw, 38px)/1.1 var(--serif); text-wrap: balance; }
.result__sub { margin: 0 auto 26px; max-width: 30ch; color: var(--ink-2); }

.archpair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.archpair--single { grid-template-columns: minmax(0, 260px); justify-content: center; }
.arch { margin: 0; }
.arch__frame {
  position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 16px 16px; overflow: visible;
  background: var(--stone);
}
.arch__frame::after { content: ""; position: absolute; inset: 6px; border-radius: 999px 999px 11px 11px; border: 1px solid rgba(255, 255, 255, .75); pointer-events: none; }
.arch__img, .arch__frame .imgph { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 999px 999px 16px 16px; box-shadow: 0 0 0 1px var(--gold-soft); }
.arch__seal { position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); display: grid; place-items: center; }
.arch__seal .ico { width: 16px; height: 16px; stroke: var(--gold); }
.arch figcaption { margin-top: 26px; display: grid; gap: 4px; }
.arch__name { font: 600 22px/1.1 var(--serif); }
.arch__phrase { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.arch__words { font-size: 12px; color: var(--wine); letter-spacing: .02em; }

.block { margin-top: 30px; }
.card { padding: 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); text-align: center; }
.card--gold { background: var(--blush); border-color: var(--gold-soft); text-align: left; }
.h2 { margin: 0 0 8px; font: 600 clamp(25px, 6.6vw, 29px)/1.15 var(--serif); text-wrap: balance; }
.h2--center { text-align: center; }
.muted { margin: 0 0 16px; color: var(--ink-2); }
.note { margin: 16px 0 0; font-size: 14.5px; color: var(--ink-2); }
.key { margin: 0; font: 500 24px/1.25 var(--serif); }

.dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dot { width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px rgba(43, 35, 33, .08); display: grid; place-items: center; }
.dots--locked { position: relative; margin-top: 12px; padding: 4px 0; }
.dot--blur { filter: blur(3.5px); opacity: .85; width: 30px; height: 30px; }
.dots__lock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap;
}
.dots__lock .ico { width: 16px; height: 16px; stroke: var(--wine); }
.silrow { display: flex; align-items: center; gap: 18px; text-align: left; margin-top: 8px; }
.silrow .bodysvg { width: 48px; height: 98px; }
.silrow p { margin: 0; font-size: 16px; }

.told__card { padding: 22px; background: #FFFDFB; border: 1.5px solid var(--gold-soft); border-radius: var(--r-lg); }
.told__card p { margin: 0 0 8px; }
.told__card p:empty { display: none; }
.told__close { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--line); font: 500 21px/1.3 var(--serif); }
.told__close strong { color: var(--wine); font-weight: 600; }

/* ---------- Antes / Depois ---------- */
.caption { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--ink-3); }

/* ---------- Prévia borrada ---------- */
.teaser { margin-top: 14px; padding: 6px 20px; background: var(--blush); border-radius: var(--r-lg); border: 1px solid var(--gold-soft); }
.teaser__item { padding: 16px 0; border-bottom: 1px solid rgba(184, 149, 90, .25); }
.teaser__item:last-child { border-bottom: 0; }
.teaser__title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 600; font-size: 16px; }
.teaser__title--mt { margin-top: 16px; }
.ico--tick { width: 24px; height: 24px; stroke: var(--wine); stroke-width: 2.4; }
.blurline { margin: 0; filter: blur(5px); user-select: none; color: var(--ink-2); font-size: 15px; }
.dot--hidden { width: 40px; height: 40px; background: color-mix(in srgb, var(--c) 35%, #fff); box-shadow: 0 0 0 3px #fff, 0 0 12px color-mix(in srgb, var(--c) 60%, transparent); }
.dot--hidden .ico { width: 18px; height: 18px; stroke: rgba(43, 35, 33, .45); }
.thumbs { position: relative; display: flex; gap: 8px; }
.thumb { flex: 1; aspect-ratio: 3 / 4; border-radius: 10px; background-position: center; background-size: cover; background-repeat: no-repeat; background-color: var(--stone); filter: blur(5px) saturate(.9); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.thumb--crop { background-size: 300% auto; background-position: var(--x) 62%; }
.thumb--wide { flex: 1.6; }
.thumbs--reveal .thumb { filter: blur(4px); }
.pillbtn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 13px 22px; border-radius: 99px; border: 1.5px solid var(--ink); background: rgba(255, 255, 255, .88);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; box-shadow: var(--shadow);
}
.locks { display: flex; gap: 12px; }
.lockdot { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.lockdot .ico, .lockline .ico { width: 18px; height: 18px; stroke: var(--ink-3); }
.lockline { display: flex; align-items: center; gap: 10px; margin: 0; }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checklist .ico--tick { width: 20px; height: 20px; margin-top: 1px; }
.checklist--plain li { font-size: 16px; }

/* ---------- Preço e pagamento seguro ---------- */
.price { text-align: center; padding: 28px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); scroll-margin-top: 20px; }
.badge { display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 99px; background: var(--wine-12); color: var(--wine); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.price__amount { margin: 0; font: 600 58px/1 var(--serif); letter-spacing: -.01em; }
.price .muted { margin: 6px 0 20px; font-size: 14px; }
.secure { margin-top: 14px; padding: 14px 16px; background: var(--blush); border-radius: var(--r); display: grid; gap: 6px; text-align: left; }
.secure__row { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; }
.secure__row--small { font-size: 13px; color: var(--ink-2); }
.ico--shield { width: 22px; height: 22px; stroke-width: 2; }
.ico--lock { width: 18px; height: 18px; stroke: var(--ink); margin: 0 2px; }
.guarantee { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; text-align: left; font-size: 14px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { margin-top: 10px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 2px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq__ico { transform: rotate(90deg); transition: transform .2s var(--ease); stroke: var(--ink-2); }
.faq details[open] .faq__ico { transform: rotate(-90deg); }
.faq details p { margin: 0 2px 16px; color: var(--ink-2); }

.final { text-align: center; }
.final__line { margin: 0 0 16px; font: 600 28px/1.2 var(--serif); }
.footer { margin: 34px 0 10px; text-align: center; font-size: 13px; color: var(--ink-3); }
.footer p { margin: 0 0 4px; }
.footer a { color: var(--ink-2); }

/* ---------- Barra fixa ---------- */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(43, 35, 33, .08); animation: slideUp .3s var(--ease); }
.stickybar[hidden] { display: none; }
.stickybar__inner { max-width: calc(var(--col) - 2 * var(--gutter)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.stickybar__price { margin: 0; display: grid; line-height: 1.15; }
.stickybar__price strong { font: 600 22px/1 var(--serif); }
.stickybar__price strong s { font-size: 15px; font-weight: 400; color: var(--ink-3); }
.price__old { margin: 0 0 8px; font-size: 18px; color: var(--ink-3); }
.price__old span { margin-left: 6px; padding: 3px 9px; border-radius: 99px; background: var(--wine); color: #fff; font-size: 13px; font-weight: 600; }
.stickybar__price span { font-size: 12px; color: var(--ink-2); }
@keyframes slideUp { from { transform: translateY(100%); } }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  body { background: radial-gradient(1200px 600px at 50% -10%, #FFFFFF, var(--bg)); }
  .q-title { font-size: 36px; }
}
/* Computador: coluna mais larga e grades com mais colunas (o celular continua igual). */
@media (min-width: 1000px) {
  :root { --col: 760px; --gutter: 32px; }
  .q-title { font-size: 42px; }
  .q-sub { max-width: 52ch; font-size: 17px; }
  .agegrid { grid-template-columns: repeat(4, 1fr); }
  .optlist { grid-template-columns: 1fr 1fr; }
  .swgrid { grid-template-columns: repeat(3, 1fr); }
  .bodygrid, .lookgrid { grid-template-columns: repeat(3, 1fr); }
  .archpair { max-width: 560px; margin-left: auto; margin-right: auto; }
  .result__sub { max-width: 46ch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Páginas legais ---------- */
.legalpage { padding-bottom: 40px; }
.legalpage p { color: var(--ink-2); }
.legalpage h2 { font: 600 24px/1.2 var(--serif); margin: 28px 0 8px; }

.teaser .dots { gap: 8px; flex-wrap: nowrap; justify-content: flex-start; }

/* ---------- Antes / Depois (modelo Mosso) ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; align-items: start; }
.ba__col { display: flex; flex-direction: column; }
.ba__media { position: relative; aspect-ratio: 3 / 4; margin: 0 6%; }
.ba__arch { position: absolute; left: 0; right: 0; top: 26%; bottom: 0; border-radius: 34px 34px 0 0; }
.ba__col--before .ba__arch { background: #6F6D6B; }
.ba__col--after .ba__arch { background: #F1ECE7; }
.ba__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.ba__col--before .ba__img { filter: grayscale(1); }
.ba__media .imgph { position: absolute; left: 0; right: 0; top: 26%; bottom: 0; width: auto; height: auto; z-index: 1; border-radius: 34px 34px 0 0; }
.ba__tag {
  position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%);
  min-width: 62%; padding: 7px 14px; border-radius: 6px; text-align: center;
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.ba__col--before .ba__tag { background: rgba(255, 255, 255, .38); color: #fff; backdrop-filter: blur(2px); }
.ba__col--after .ba__tag { background: #D9A877; color: #2B2321; }
.ba__card { margin: 0; padding: 4px 12px 12px; border-radius: 8px; box-shadow: 0 4px 14px rgba(43, 35, 33, .10); }
.ba__col--before .ba__card { background: #ECEAE8; }
.ba__col--after .ba__card { background: #FAEDE3; }
.ba__row { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .9); }
.ba__col--before .ba__row { border-bottom-color: rgba(255, 255, 255, .85); }
.ba__row--last { border-bottom: 0; padding-bottom: 2px; }
.ba__row dt { font-size: 11.5px; color: var(--ink-2); margin-bottom: 3px; }
.ba__row dd { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.ba__emo { font-size: 14px; line-height: 1; }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 10px; }
.meter i { height: 3px; border-radius: 2px; background: #fff; }
.meter--before i.on { background: #B32800; }
.meter--after i.on { background: #2F6B3D; }
