/* ==========================================================================
   Quiz Gláucia Almeida Abreu — identidade visual (mobile-first)
   Paleta: rosa #D50072 · rosa suave #F8DCE6 · pastel #FFF1F5 · branco · grafite #24212A
   ========================================================================== */
:root {
  --pink: #d50072;
  --pink-deep: #a8005a;
  --pink-soft: #f8dce6;
  --pink-pastel: #fff1f5;
  --white: #fff;
  --ink: #24212a;
  --ink-soft: #5b5663;
  --gold: #b88e55;
  --line: #f0cddb;
  --ok: #1f8a57;
  --err: #b3261e;
  --r-lg: 28px;
  --r-md: 18px;
  --shadow: 0 18px 50px -24px rgba(213, 0, 114, 0.35), 0 2px 10px -4px rgba(36, 33, 42, 0.08);
  --font-display: 'Playfair Display', 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--pink-pastel);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 0.9em; }
a { color: var(--pink); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
[tabindex='-1']:focus { outline: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }

/* ───────── Estrutura ───────── */
.shell { position: relative; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }
.shell--loading { background: var(--pink-pastel); }
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, #fff6f9 0%, var(--pink-pastel) 45%, #fde7ef 100%); }
.backdrop__a, .backdrop__b { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.backdrop__a { width: 340px; height: 340px; top: -90px; right: -110px; background: #f7b6d0; }
.backdrop__b { width: 300px; height: 300px; bottom: -120px; left: -120px; background: #fbd5e4; }


.stage { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 18px 18px 36px; animation: in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both; }
.stage--back { animation-name: in-back; }
.shell[data-step='hero'] .stage { max-width: 1080px; padding-top: 22px; }
@keyframes in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes in-back { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ───────── Barra superior ───────── */
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(255, 241, 245, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: calc(env(safe-area-inset-top) + 10px) 16px 0; }
.topbar__row { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.topbar__meta { flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.topbar__stage { font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pink-deep); }
.topbar__count { font-size: 13px; color: var(--ink-soft); }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; transition: transform 0.15s, background 0.2s; }
.iconbtn:hover { background: var(--pink-soft); }
.iconbtn:active { transform: scale(0.94); }
.textbtn { background: none; border: 0; color: var(--pink-deep); font-weight: 500; font-size: 14px; padding: 10px 6px; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.progress { max-width: 560px; margin: 8px auto 0; height: 6px; background: var(--pink-soft); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f06aac, var(--pink)); transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1); }

/* ───────── Cartões ───────── */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px 20px 22px; }
.card--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 34px 22px 28px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.q-title { font-size: clamp(1.45rem, 5.4vw, 1.85rem); margin-bottom: 18px; }
.q-hint { color: var(--ink-soft); font-size: 15px; margin: -6px 0 14px; }

.options { display: grid; gap: 11px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; min-height: 66px; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--pink-pastel); transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s; -webkit-tap-highlight-color: transparent; }
.opt:hover { border-color: #ea8ab8; background: #fff; }
.opt:active { transform: scale(0.985); }
.opt__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--white); color: var(--pink); border: 1px solid var(--line); transition: background 0.2s, color 0.2s; }
.opt__text { flex: 1; font-weight: 450; line-height: 1.35; }
.opt__tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; background: #fff; transition: all 0.2s; }
.opt.is-on { border-color: var(--pink); background: #fff; box-shadow: 0 8px 24px -14px rgba(213, 0, 114, 0.6); }
.opt.is-on .opt__icon { background: var(--pink); color: #fff; border-color: var(--pink); }
.opt.is-on .opt__tick { background: var(--pink); border-color: var(--pink); color: #fff; animation: pop 0.3s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }

.reaction { min-height: 28px; margin: 14px 0 0; font-size: 15px; color: var(--pink-deep); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; display: flex; align-items: center; gap: 6px; }
.reaction.is-on { opacity: 1; transform: none; }

.badge { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #fbd0e2, var(--pink-soft)); color: var(--pink); margin-bottom: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.int-title { font-size: clamp(1.55rem, 6vw, 2rem); margin-bottom: 10px; }
.int-text { color: var(--ink-soft); max-width: 40ch; margin-bottom: 22px; }

/* ───────── Botões ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 99px; border: 0; font-weight: 600; letter-spacing: 0.03em; text-decoration: none; text-align: center; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn--primary { background: linear-gradient(135deg, #ee3a8f, var(--pink) 55%, var(--pink-deep)); color: #fff; box-shadow: 0 14px 30px -12px rgba(213, 0, 114, 0.7); }
.btn--primary:hover { box-shadow: 0 18px 34px -12px rgba(213, 0, 114, 0.85); transform: translateY(-1px); }
.btn--wa { background: linear-gradient(135deg, #2fbf71, #178a50); color: #fff; box-shadow: 0 14px 30px -12px rgba(23, 138, 80, 0.65); }
.btn--soft { background: var(--pink-soft); color: var(--pink-deep); }
.btn--ghost { background: transparent; color: var(--pink-deep); border: 1.5px solid #e9a6c6; }
.btn--xl { width: 100%; min-height: 58px; font-size: 15.5px; }
.support { font-size: 14px; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }

/* ───────── Hero ───────── */
.hero { display: grid; gap: 28px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: stretch; }
.brandline { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.brandline span { font-family: var(--font-display); font-style: italic; color: var(--pink-deep); font-size: 17px; }
.hero__title { font-size: clamp(1.95rem, 8.3vw, 3.1rem); margin-bottom: 14px; }
.hero__title em { font-style: italic; color: var(--pink); }
.hero__sub { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 20px; max-width: 46ch; }
.benefits { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.benefits li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.benefits li span { width: 36px; height: 36px; border-radius: 12px; background: var(--white); color: var(--pink); display: grid; place-items: center; border: 1px solid var(--line); flex: none; }
.resume { background: var(--white); border: 1px dashed #e8a5c4; border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 14px; font-size: 15px; }
.resume p { margin-bottom: 8px; }
.resume div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero .btn--xl { max-width: 440px; }
.hero .support { text-align: left; }

.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; order: -1; padding-top: 6px; }
.hero__arch { width: min(38vw, 150px); aspect-ratio: 3 / 4; border-radius: 999px 999px 28px 28px; padding: 8px; background: linear-gradient(160deg, #fff, var(--pink-soft)); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero__caption { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 0; }
.hero__caption strong { color: var(--ink); font-weight: 600; }
.art { position: absolute; filter: drop-shadow(0 12px 14px rgba(120, 0, 66, 0.22)); animation: float 7s ease-in-out infinite; }
.art--lip { width: 38px; left: 6%; top: 24%; transform: rotate(-14deg); }
.art--compact { width: 62px; right: 5%; top: 6%; animation-delay: -2s; }
.art--bottle { width: 50px; right: 8%; bottom: 20%; animation-delay: -4s; transform: rotate(9deg); }
.art--brush { width: 26px; left: 10%; bottom: 14%; animation-delay: -1s; transform: rotate(24deg); }
@keyframes float { 50% { translate: 0 -10px; } }

.portrait { width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.portrait__ph { width: 100%; height: 100%; min-height: 100%; border-radius: inherit; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 30% 20%, #fff 0%, #fbd0e2 60%, #f2a5c7 100%); }
.portrait__ph span { font-family: var(--font-display); font-style: italic; font-size: 5.5rem; color: var(--pink); line-height: 1; }
.portrait__ph i { position: absolute; inset: 14px; border: 1px solid rgba(213, 0, 114, 0.25); border-radius: inherit; }
.portrait--sm { width: 92px; height: 92px; border-radius: 50%; padding: 4px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 auto 12px; flex: none; }
.portrait--sm .portrait__ph span { font-size: 2.6rem; }
.portrait--sm .portrait__ph i { inset: 5px; }

@media (min-width: 880px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: 56px; min-height: calc(100dvh - 190px); }
  .hero__visual { order: 0; }
  .hero__arch { width: min(100%, 380px); }
  .art--lip { width: 56px; left: 2%; } .art--compact { width: 92px; } .art--bottle { width: 72px; } .art--brush { width: 34px; }
}

/* ───────── Vídeo ───────── */
.video { width: 100%; margin: 6px 0 22px; }
.video video { width: 100%; border-radius: var(--r-md); background: #000; aspect-ratio: 16 / 9; }
.video__ph { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px; border-radius: var(--r-md); background: linear-gradient(135deg, #fff, var(--pink-soft)); border: 1px dashed #e8a5c4; }
.video__ph .portrait--sm { margin: 0; }
.video__ph p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.video__ph strong { color: var(--ink); }
.video__note { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0; }

/* ───────── Captura ───────── */
.card--lead { padding-top: 22px; }
.summary { background: linear-gradient(135deg, var(--pink-pastel), var(--pink-soft)); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-bottom: 22px; }
.summary .eyebrow { margin-bottom: 4px; }
.summary__name { font-family: var(--font-display); font-style: italic; font-size: 1.65rem; color: var(--pink-deep); line-height: 1.15; margin-bottom: 6px; }
.summary__text { margin-bottom: 6px; }
.summary__more { font-size: 14px; color: var(--ink-soft); margin: 0; }
.lead-title { font-size: clamp(1.4rem, 5.2vw, 1.75rem); margin-bottom: 16px; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 96px; gap: 12px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--pink-pastel); font-size: 16px; transition: border-color 0.2s, background 0.2s; }
.field input:focus, .field select:focus { border-color: var(--pink); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(213, 0, 114, 0.12); }
.field.has-error input, .field.has-error select { border-color: var(--err); }
.err { color: var(--err); font-size: 13.5px; margin: 5px 0 0; }
.err--box { background: #fdecea; border-radius: 12px; padding: 10px 12px; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--pink); }
.check--soft { color: var(--ink-soft); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ───────── Resultado ───────── */
.result { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 22px 18px 20px; display: grid; gap: 16px; animation: in 0.5s both; }
.result__hero { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px 22px; }
.result__title { font-size: clamp(1.8rem, 7.4vw, 2.7rem); margin-bottom: 12px; padding-right: 54px; }
.result__title em { color: var(--pink); display: block; }
.result__desc { color: var(--ink-soft); max-width: 54ch; }
.art--result { opacity: 0.9; }
.art--result.art--lip { width: 30px; right: 18px; top: 16px; left: auto; }
.art--result.art--bottle { display: none; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; padding: 7px 12px; border-radius: 99px; background: var(--pink-pastel); border: 1px solid var(--line); color: var(--ink); }
.note { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--pink-pastel); font-size: 14.5px; }

.grid2 { display: grid; gap: 16px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow); }
.tile h2 { font-size: 1.3rem; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ink-soft); }
.tile__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.tile__tag--alt { color: var(--gold); }
.tile--reco { background: linear-gradient(135deg, #fff, var(--pink-soft)); }
.tile--info { background: var(--ink); border-color: var(--ink); }
.tile--info h2 { color: #fff; }
.tile--info p { color: #e7e2ea; }
.tile--info strong { color: #fff; }

.cta { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px 20px; display: grid; justify-items: center; gap: 4px; }
.cta h2 { font-size: 1.55rem; margin-bottom: 8px; }
.cta__bio { color: var(--ink-soft); max-width: 52ch; font-size: 15.5px; }
.cta .btn { max-width: 460px; }
.cta .btn--ghost { margin-top: 12px; width: 100%; max-width: 460px; }
.again { text-align: center; }

@media (min-width: 700px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .result__hero { padding: 38px 36px; }
  .art--result.art--bottle { display: block; width: 46px; right: 82px; top: 22px; bottom: auto; }
}

/* ───────── FAQ ───────── */
.faq { scroll-margin-top: 20px; padding: 10px 2px 0; }
.faq h2 { font-size: 1.6rem; margin-bottom: 6px; }
.faq__lead { color: var(--ink-soft); }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 500; padding: 16px 28px 16px 0; list-style: none; position: relative; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 11px; font-size: 24px; color: var(--pink); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 16px; margin: 0; }

/* ───────── Rodapé / Documento ───────── */
.footer { max-width: 720px; margin: 0 auto; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); text-align: center; }
.footer p { margin-bottom: 8px; }
.doc { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 32px 20px 60px; }
.doc h1 { font-size: 2rem; margin-bottom: 16px; }
.doc h2 { font-size: 1.25rem; margin: 26px 0 8px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc__back { margin-top: 30px; }

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

.int-text--extra { font-size: 15px; margin-top: -8px; padding-top: 12px; border-top: 1px solid var(--line); }

@media (max-width: 879px) {
  .hero__caption { display: none; }
  .art--lip { top: 14%; left: 14%; width: 30px; } .art--compact { width: 48px; right: 12%; } .art--bottle { width: 38px; right: 16%; bottom: 6%; } .art--brush { display: none; }
  .hero__title { font-size: clamp(1.75rem, 7.6vw, 2.4rem); }
}

/* ───────── Ajustes da versão estática ───────── */
.ic { flex: none; vertical-align: middle; }
body { min-height: 100dvh; display: flex; flex-direction: column; position: relative; overflow-x: clip; }
.topbar[hidden] { display: none; }
.topbar, .stage, .footer { position: relative; z-index: 1; }
.topbar { position: sticky; }
.stage--wide { max-width: 720px; }
body[data-step='hero'] .stage { max-width: 1080px; padding-top: 22px; }
.stage { flex: 1; }
.result { padding: 4px 0 20px; display: grid; gap: 16px; }
.result__hero { position: relative; }
.footer a { color: var(--pink-deep); }
.check a { font-weight: 500; }
.sheet { border: 0; border-radius: var(--r-lg); padding: 0; max-width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 40px); box-shadow: 0 30px 80px -20px rgba(36,33,42,.5); }
.sheet::backdrop { background: rgba(36,33,42,.55); }
.sheet__in { padding: 24px 22px 20px; overflow: auto; max-height: calc(100dvh - 40px); font-size: 15.5px; }
.sheet h2 { font-size: 1.5rem; margin-bottom: 10px; }
.sheet h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 16px 0 4px; }
.sheet ul { padding-left: 20px; margin: 0 0 8px; }
.sheet .btn { margin-top: 14px; width: 100%; }
@media (min-width: 700px) { .stage--wide .grid2 { grid-template-columns: 1fr 1fr; } }
noscript p { padding: 80px 24px; text-align: center; }
.topbar { position: sticky; z-index: 5; }

/* botões empilhados na tela de conclusão */
.card--center .btn + .btn{margin-top:12px}
