/* Cão Tranquilo — estilos (mobile-first, sem dependências) */

:root {
  --bg: #fbf6ee;
  --surface: #ffffff;
  --surface-2: #f4eee4;
  --text: #1d2a2a;
  --muted: #55625f;
  --border: #e8dfd1;
  --accent: #0d7a6f;
  --accent-2: #0b6680;
  --accent-strong: #095d55;
  --accent-ink: #ffffff;
  --accent-soft: #e0f3ef;
  --sun: #f6b73c;
  --sun-soft: #fff0d2;
  --hl: #ffd98a;
  --warn-soft: #fff3e0;
  --warn-ink: #7a4300;
  --danger: #b42318;
  /* fundos dos emojis nas opções (decorativos) */
  --t1: #fff0d2;
  --t2: #dff3ee;
  --t3: #fde3ea;
  --t4: #e2eefc;
  --t5: #ece5fb;
  /* fundo animado */
  --blob-1: rgba(246, 183, 60, .30);
  --blob-2: rgba(13, 122, 111, .20);
  --blob-3: rgba(240, 120, 150, .18);
  --paw-op: .09;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 6px 20px rgba(60, 40, 10, .07);
  --shadow-lift: 0 2px 4px rgba(60, 40, 10, .08), 0 10px 26px rgba(60, 40, 10, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1716;
    --surface: #18211f;
    --surface-2: #202b29;
    --text: #e9efed;
    --muted: #a7b6b3;
    --border: #2d3a37;
    --accent: #3cc4b3;
    --accent-2: #5bb8e0;
    --accent-strong: #66d9ca;
    --accent-ink: #06201c;
    --accent-soft: #163330;
    --sun: #f6b73c;
    --sun-soft: #3a2f17;
    --hl: rgba(246, 183, 60, .32);
    --warn-soft: #2d2413;
    --warn-ink: #f2c47e;
    --danger: #ff8a7a;
    --t1: #3a2f17;
    --t2: #163330;
    --t3: #3a1f2a;
    --t4: #172a40;
    --t5: #2a2140;
    --blob-1: rgba(246, 183, 60, .12);
    --blob-2: rgba(60, 196, 179, .14);
    --blob-3: rgba(140, 110, 230, .12);
    --paw-op: .10;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-lift: 0 4px 18px rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--accent-strong); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1:focus, h2:focus { outline: none; }
.sr-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* =========================================================
   Fundo animado: manchas de cor, bolhas e patinhas
   Só transform/opacity (leve no celular). Fica atrás de tudo.
   ========================================================= */
.bg {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.bg__blob {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  will-change: transform;
}
.bg__blob--1 { top: -30vmax; left: -28vmax; background: radial-gradient(closest-side, var(--blob-1), transparent); animation: drift1 26s ease-in-out infinite alternate; }
.bg__blob--2 { bottom: -34vmax; right: -30vmax; background: radial-gradient(closest-side, var(--blob-2), transparent); animation: drift2 30s ease-in-out infinite alternate; }
.bg__blob--3 { top: 30%; left: 20%; width: 50vmax; height: 50vmax; background: radial-gradient(closest-side, var(--blob-3), transparent); animation: drift3 34s ease-in-out infinite alternate; }

.bg__paw, .bg__bubble {
  position: absolute; bottom: -90px; left: 0;
  will-change: transform;
  animation: floatUp 30s linear infinite;
}
.bg__paw { width: 34px; height: 34px; fill: var(--accent); opacity: var(--paw-op); }
.bg__paw--1 { left: 6%;  width: 30px; height: 30px; animation-duration: 32s; animation-delay: -4s; }
.bg__paw--2 { left: 22%; width: 22px; height: 22px; animation-duration: 38s; animation-delay: -20s; fill: var(--sun); }
.bg__paw--3 { left: 40%; width: 38px; height: 38px; animation-duration: 34s; animation-delay: -12s; }
.bg__paw--4 { left: 58%; width: 26px; height: 26px; animation-duration: 40s; animation-delay: -28s; fill: #e86a8a; }
.bg__paw--5 { left: 74%; width: 34px; height: 34px; animation-duration: 30s; animation-delay: -16s; fill: var(--sun); }
.bg__paw--6 { left: 88%; width: 24px; height: 24px; animation-duration: 36s; animation-delay: -6s; }
.bg__paw--7 { left: 14%; width: 26px; height: 26px; animation-duration: 42s; animation-delay: -33s; fill: #e86a8a; }
.bg__paw--8 { left: 66%; width: 30px; height: 30px; animation-duration: 44s; animation-delay: -38s; }

.bg__bubble {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: .08;
  animation-name: bubbleUp;
}
.bg__bubble--1 { left: 30%; width: 26px; height: 26px; animation-duration: 28s; animation-delay: -9s; }
.bg__bubble--2 { left: 52%; width: 54px; height: 54px; animation-duration: 40s; animation-delay: -25s; border-color: var(--sun); opacity: .14; }
.bg__bubble--3 { left: 82%; width: 18px; height: 18px; animation-duration: 24s; animation-delay: -3s; }
.bg__bubble--4 { left: 4%;  width: 44px; height: 44px; animation-duration: 36s; animation-delay: -18s; border-color: #e86a8a; opacity: .10; }

@keyframes floatUp {
  0%   { transform: translate3d(0, 0, 0) rotate(-18deg); }
  25%  { transform: translate3d(14px, -30vh, 0) rotate(-4deg); }
  50%  { transform: translate3d(-10px, -60vh, 0) rotate(12deg); }
  75%  { transform: translate3d(12px, -90vh, 0) rotate(0deg); }
  100% { transform: translate3d(0, calc(-100vh - 180px), 0) rotate(-14deg); }
}
@keyframes bubbleUp {
  0%   { transform: translate3d(0, 0, 0) scale(.8); }
  50%  { transform: translate3d(18px, -60vh, 0) scale(1); }
  100% { transform: translate3d(-8px, calc(-100vh - 180px), 0) scale(1.1); }
}
@keyframes drift1 { to { transform: translate3d(14vw, 10vh, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-12vw, -12vh, 0) scale(1.08); } }
@keyframes drift3 { to { transform: translate3d(-16vw, 8vh, 0) scale(1.2); } }

/* ---- Topo ---- */
.topbar { border-bottom: 1px solid var(--border); background: var(--surface); }
.topbar__in { display: flex; align-items: center; min-height: 54px; }
.brand { font-weight: 800; letter-spacing: -.01em; font-size: 1.05rem; }
.brand__icon { display: inline-block; }

main { padding-top: 18px; padding-bottom: 32px; overflow-x: clip; }

/* ---- Tipografia ---- */
.h1 { font-size: clamp(1.6rem, 6.6vw, 2.15rem); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 12px; }
.h2 { font-size: clamp(1.3rem, 5.4vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 12px; }
.h3 { font-size: 1.14rem; line-height: 1.3; margin: 0 0 10px; }
.lead { font-size: 1.07rem; color: var(--muted); margin: 0 0 18px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 800;
  color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin: 0 0 10px;
}
.muted { color: var(--muted); }
.tiny { font-size: .85rem; }
.center { text-align: center; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.hl {
  background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%);
  padding: 0 .08em; border-radius: 4px;
}

/* ---- Blocos ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin: 0 0 16px;
  box-shadow: var(--shadow);
}
.card--hero { border-top: 5px solid var(--sun); }
.card--soft { background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.card--warn { background: var(--warn-soft); border-color: transparent; box-shadow: none; }
.card--warn .h3 { color: var(--warn-ink); }
.card--why { border-left: 5px solid var(--sun); }
.card--errors { border-left: 5px solid #e86a8a; }
.section { margin: 32px 0 24px; }
.stack > * + * { margin-top: 14px; }

.pills { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pills li {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow);
}

/* ---- Formulários ---- */
.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
input[type="text"], input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 1.05rem; /* >=16px evita zoom no iOS */
  padding: 14px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"]:focus, input[type="email"]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.error { color: var(--danger); font-weight: 600; font-size: .95rem; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font: inherit; font-weight: 700;
  min-height: 48px; padding: 0 20px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
}
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); animation: pop .3s ease; }

/* ---- Botões ---- */
.btn {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  font: inherit; font-weight: 800; font-size: 1.05rem;
  min-height: 52px; padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .1s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 58px; font-size: 1.1rem; border-radius: 16px; }
.btn--primary {
  background: var(--accent);
  background-image: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 6px 18px rgba(13, 122, 111, .28);
}
.btn--primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn__arrow { display: inline-block; transition: transform .15s ease; }
.link-btn { font: inherit; background: none; border: 0; color: var(--accent-strong); text-decoration: underline; cursor: pointer; padding: 12px; }

@media (hover: hover) {
  .btn--primary:not(:disabled):hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(13, 122, 111, .36); }
  .btn--primary:not(:disabled):hover .btn__arrow { transform: translateX(4px); }
  .btn--ghost:hover { border-color: var(--accent); }
}

/* "Pulse" suave: um anel que se expande atrás do botão */
.btn--pulse::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  border: 3px solid var(--accent); opacity: 0; pointer-events: none;
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
  0%   { opacity: .55; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.06, 1.22); }
  100% { opacity: 0; transform: scale(1.06, 1.22); }
}

/* ---- Mascote ---- */
.mascot-wrap { display: flex; justify-content: center; margin: 0 auto 6px; position: relative; width: max-content; animation: bounceIn .6s cubic-bezier(.2, .9, .3, 1.3) both; }
.mascot { display: block; height: auto; overflow: visible; }
.mascot .m-shadow { fill: var(--text); opacity: .08; }
.mascot .m-tail, .mascot .m-head, .mascot .m-eyes, .mascot .m-ear { transform-box: view-box; }
.mascot .m-tail { transform-origin: 138px 136px; animation: wag 2.6s ease-in-out infinite; }
.mascot .m-head { transform-origin: 100px 108px; animation: tilt 7s ease-in-out infinite; }
.mascot .m-eyes { transform-origin: 100px 66px; animation: blink 5s infinite; }
.mascot .m-ear--l { transform-origin: 62px 42px; animation: earL 7s ease-in-out infinite; }
.mascot .m-ear--r { transform-origin: 138px 42px; animation: earR 7s ease-in-out infinite; }

@keyframes wag {
  0%, 44%, 100% { transform: rotate(0deg); }
  6%  { transform: rotate(18deg); }
  14% { transform: rotate(-10deg); }
  22% { transform: rotate(18deg); }
  30% { transform: rotate(-10deg); }
  38% { transform: rotate(12deg); }
}
@keyframes tilt {
  0%, 40%, 82%, 100% { transform: rotate(0deg); }
  50%, 72% { transform: rotate(-7deg); }
}
@keyframes blink {
  0%, 93%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.1); }
}
@keyframes earL { 0%, 40%, 82%, 100% { transform: rotate(0deg); } 50%, 72% { transform: rotate(10deg); } }
@keyframes earR { 0%, 40%, 82%, 100% { transform: rotate(0deg); } 50%, 72% { transform: rotate(-4deg); } }
@keyframes bounceIn {
  0%   { opacity: 0; transform: translateY(14px) scale(.9); }
  100% { opacity: 1; transform: none; }
}

/* ---- Quiz ---- */
.quiz-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.btn-back {
  font: inherit; font-weight: 700; color: var(--text);
  background: none; border: 0; padding: 10px 8px 10px 0; min-height: 44px; cursor: pointer;
}
.q-count { color: var(--muted); font-size: .92rem; font-weight: 600; }

.progress { position: relative; height: 30px; margin: 0 0 18px; }
.progress__track {
  position: absolute; left: 0; right: 0; top: 9px; height: 12px;
  background: var(--surface-2); border-radius: 999px; overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08);
}
.progress__bar {
  height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--sun), var(--accent));
  transition: width .5s cubic-bezier(.3, .9, .3, 1);
  position: relative; overflow: hidden;
}
.progress__bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 2.8s ease-in-out infinite;
}
.progress__paw {
  position: absolute; top: 0; left: 0; width: 30px; height: 30px;
  fill: var(--accent-strong);
  transform: translateX(-50%) rotate(12deg);
  transition: left .5s cubic-bezier(.3, .9, .3, 1);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15));
}
.progress__paw.is-step { animation: pawStep .5s ease; }
@keyframes shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes pawStep {
  0% { transform: translateX(-50%) rotate(12deg) scale(1); }
  40% { transform: translateX(-50%) translateY(-6px) rotate(-8deg) scale(1.2); }
  100% { transform: translateX(-50%) rotate(12deg) scale(1); }
}

/* Transição entre perguntas */
.q-stage.slide-next { animation: inFromRight .34s cubic-bezier(.2, .8, .2, 1) both; }
.q-stage.slide-prev { animation: inFromLeft .34s cubic-bezier(.2, .8, .2, 1) both; }
.q-stage.leave-next { animation: outToLeft .18s ease-in both; }
.q-stage.leave-prev { animation: outToRight .18s ease-in both; }
.q-stage.slide-next .opt, .q-stage.slide-prev .opt { animation: optIn .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
@keyframes inFromRight { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes inFromLeft  { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes outToLeft   { to { opacity: 0; transform: translateX(-28px); } }
@keyframes outToRight  { to { opacity: 0; transform: translateX(28px); } }
@keyframes optIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* Opções em formato de card: emoji grande + texto */
.options { display: grid; gap: 10px; margin: 10px 0 18px; }
.opt {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 70px; padding: 11px 14px 11px 11px;
  font: inherit; font-size: 1.04rem; font-weight: 700; text-align: left; line-height: 1.3;
  color: var(--text); background: var(--surface);
  border: 2px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.opt:nth-child(5n+1) { --tile: var(--t1); }
.opt:nth-child(5n+2) { --tile: var(--t2); }
.opt:nth-child(5n+3) { --tile: var(--t3); }
.opt:nth-child(5n+4) { --tile: var(--t4); }
.opt:nth-child(5n+5) { --tile: var(--t5); }
.opt__icon {
  flex: 0 0 50px; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.8rem; line-height: 1; background: var(--tile, var(--t1));
  position: relative;
}
.opt__icon--s { font-size: 1.1rem; }
.opt__icon--m { font-size: 1.5rem; }
.opt__icon--l { font-size: 2.05rem; }
.opt__txt { flex: 1 1 auto; min-width: 0; }
.opt__txt small { font-weight: 600; font-size: .85rem; }
.opt__mark {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border); display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; color: transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.opt__mark--box { border-radius: 7px; }
.opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.opt[aria-pressed="true"] .opt__mark { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opt:active { transform: scale(.98); }
@media (hover: hover) {
  .opt:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
}

/* Microanimação ao escolher */
.opt.is-pop { animation: pop .34s ease; }
.opt.is-pop .opt__icon { animation: wiggle .5s ease; }
.burst {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  fill: var(--accent); pointer-events: none;
  animation: burst .7s ease-out forwards;
}
.burst--2 { fill: var(--sun); animation-name: burst2; }
.burst--3 { fill: #e86a8a; animation-name: burst3; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes wiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  30% { transform: rotate(-12deg) scale(1.18); }
  60% { transform: rotate(10deg) scale(1.1); }
}
@keyframes burst  { from { opacity: .9; transform: translate(0, 0) scale(.4); } to { opacity: 0; transform: translate(-6px, -40px) scale(1); } }
@keyframes burst2 { from { opacity: .9; transform: translate(0, 0) scale(.4); } to { opacity: 0; transform: translate(-30px, -22px) scale(.8) rotate(-30deg); } }
@keyframes burst3 { from { opacity: .9; transform: translate(0, 0) scale(.4); } to { opacity: 0; transform: translate(26px, -26px) scale(.8) rotate(30deg); } }

.group-label { font-weight: 800; margin: 14px 0 4px; }

/* Grade 2 colunas (respostas curtas) e linha de 3 (idade/porte) */
.options--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.options--grid .opt, .options--row .opt {
  flex-direction: column; justify-content: flex-start; gap: 8px; text-align: center;
  padding: 14px 8px 12px;
}
.options--grid .opt__icon { flex-basis: auto; width: 56px; height: 56px; font-size: 2rem; }
.options--row .opt { font-size: .95rem; padding: 12px 4px 10px; }
.options--row .opt__icon { flex-basis: auto; width: 46px; height: 46px; }
.options--grid .opt__mark, .options--row .opt__mark { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; font-size: .7rem; }

/* ---- E-mail ---- */
.done-badge {
  width: 76px; height: 76px; margin: 8px auto 12px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.3rem;
  background: var(--sun-soft); border: 3px solid var(--sun);
  animation: bounceIn .5s cubic-bezier(.2, .9, .3, 1.4) both;
}

/* ---- Resultado ---- */
.result-head { text-align: center; margin: 0 0 20px; }
.mascot-wrap--result { margin-bottom: 10px; }
.profile-emoji {
  position: absolute; top: 0; right: -18px;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem;
  background: var(--surface); border: 3px solid var(--sun); box-shadow: var(--shadow-lift);
  animation: badgeIn .5s .35s cubic-bezier(.2, .9, .3, 1.5) both;
}
@keyframes badgeIn { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
.result-head .h1 strong { color: var(--accent-strong); }

.errors { margin: 0; padding: 0; list-style: none; counter-reset: e; }
.errors li { counter-increment: e; position: relative; padding: 0 0 0 42px; margin: 0 0 14px; }
.errors li:last-child { margin-bottom: 0; }
.errors li::before {
  content: counter(e); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--warn-soft); color: var(--warn-ink); font-weight: 800; font-size: .9rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.tags li { background: var(--surface); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 700; }
.notes { margin: 0; padding-left: 20px; }
.notes li { margin-bottom: 8px; }
.notes li:last-child { margin-bottom: 0; }

.features { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features .fi {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem; background: var(--tile, var(--t1));
}
.features li:nth-child(5n+1) { --tile: var(--t1); }
.features li:nth-child(5n+2) { --tile: var(--t2); }
.features li:nth-child(5n+3) { --tile: var(--t3); }
.features li:nth-child(5n+4) { --tile: var(--t4); }
.features li:nth-child(5n+5) { --tile: var(--t5); }
.features li > span:last-child { padding-top: 7px; }

.phone { margin: 0 auto; max-width: 240px; text-align: center; }
.phone__screen {
  border: 8px solid var(--text); border-radius: 28px; padding: 18px 14px 14px;
  background: var(--surface); text-align: left; box-shadow: var(--shadow-lift);
}
.phone__day { font-size: .78rem; font-weight: 800; color: var(--accent-strong); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.phone__task { font-weight: 800; line-height: 1.3; margin-bottom: 6px; }
.phone__meta { font-size: .85rem; color: var(--muted); }
.phone__check { margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--surface-2); font-size: .85rem; }
.phone__check p { margin: 0 0 6px; font-weight: 700; }
.phone__scale { display: flex; justify-content: space-between; gap: 4px; }
.phone__scale span { flex: 1; text-align: center; border-radius: 8px; padding: 4px 0; background: var(--surface); font-weight: 800; }
.phone__scale .on { background: var(--accent); color: var(--accent-ink); }
.phone__chart { display: block; width: 100%; height: auto; margin-top: 10px; }
.phone figcaption { margin-top: 8px; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 50px; min-height: 38px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); background-image: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); font-weight: 800;
}

.offer { text-align: center; border: 2px solid var(--accent); box-shadow: var(--shadow-lift); }
.offer > * + * { margin-top: 12px; }
.anchor { text-align: left; background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .97rem; }
.offer__name { font-weight: 800; }
.offer--final .h3 { font-weight: 800; }
.price { font-size: 3.2rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; margin: 8px 0 0; }
.price--sm { font-size: 2.6rem; }
.price__cur { font-size: 1.3rem; font-weight: 700; vertical-align: top; margin-right: 4px; position: relative; top: .35em; }
.safe-line { font-size: .85rem; color: var(--muted); text-align: center; }

.bullets { margin: 0; padding-left: 20px; }
.bullets li { margin-bottom: 6px; }

.faq { display: grid; gap: 8px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 14px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 800; padding: 15px 34px 15px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; margin-top: -13px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.1rem; line-height: 1; color: var(--accent-strong); background: var(--accent-soft);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq details p { padding: 0 0 16px; color: var(--muted); }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
  animation: slideUp .3s ease both;
}
.sticky-cta .btn { max-width: 528px; margin: 0 auto; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }

/* ---- Rodapé ---- */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 24px 0 96px; color: var(--muted); font-size: .9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
.footer p { margin: 0 0 6px; }

/* ---- Páginas legais ---- */
.legal h1 { margin-top: 8px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.notice { background: var(--warn-soft); color: var(--warn-ink); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; }

/* ---- Telas maiores ---- */
@media (min-width: 720px) {
  main { padding-top: 34px; }
  .card { padding: 24px; }
  .mascot-wrap .mascot { width: 190px; }
  .mascot-wrap--result .mascot { width: 160px; }
}

.screen { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Reduzir movimento: desliga todas as animações ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .bg__paw, .bg__bubble, .burst { display: none !important; }
}

/* Campo do "Outro momento" na 1ª pergunta */
.other-field { margin-top: 14px; animation: other-in .25s ease-out; }
.other-field[hidden] { display: none; }
@keyframes other-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .other-field { animation: none; } }
