@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson';
  src: url('/fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson';
  src: url('/fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #241a3b;
  --ink-soft: #5a5272;
  --paper: #eceff7;
  --surface: #ffffff;
  --line: #d9dbe8;
  --uva: #5b2a86;
  --uva-deep: #44196a;
  --uva-tint: #efe6f7;
  --fita: #f5c344;
  --fita-tint: #fdf2cf;
  --chiclete: #d6336c;
  --chiclete-tint: #fbe4ec;
  --menta: #0f7a69;
  --menta-tint: #dcf2ed;
  --alerta: #b3261e;
  --alerta-tint: #fbe5e3;
  --focus: #1f6feb;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 0 rgba(36, 26, 59, .06), 0 8px 24px -12px rgba(68, 25, 106, .25);

  --f-display: 'Bricolage', 'Trebuchet MS', system-ui, sans-serif;
  --f-body: 'Atkinson', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--f-body);
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }
a { color: var(--uva); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); font-weight: 750; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- casca ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(236, 239, 247, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font: 750 1.15rem/1 var(--f-display); color: var(--ink); text-decoration: none;
}
.brand svg { width: 28px; height: 28px; }
.topbar .spacer { flex: 1; }
.topbar a.icon-link { font-weight: 700; text-decoration: none; padding: 8px 10px; border-radius: 999px; }
.topbar a.icon-link:hover { background: var(--uva-tint); }

main { max-width: 600px; margin: 0 auto; padding: 20px 16px 120px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-weight: 700; text-decoration: none; }

/* ---------- botões ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px;
  border-radius: 999px;
  font: 700 1.05rem/1.2 var(--f-body);
  text-decoration: none;
  background: var(--uva); color: #fff;
  transition: background-color .15s, transform .1s;
}
.btn:hover { background: var(--uva-deep); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--surface); color: var(--uva); box-shadow: inset 0 0 0 2px var(--uva); }
.btn.secondary:hover { background: var(--uva-tint); }
.btn.ghost { background: transparent; color: var(--uva); min-height: 44px; padding: 8px 14px; }
.btn.ghost:hover { background: var(--uva-tint); }
.btn.danger { background: var(--alerta); }
.btn.danger:hover { background: #8f1e18; }
.btn.danger-ghost { background: transparent; color: var(--alerta); box-shadow: inset 0 0 0 2px var(--alerta); }
.btn.whatsapp { background: #128c4a; }
.btn.whatsapp:hover { background: #0d6e3a; }
.btn.small { min-height: 40px; padding: 6px 14px; font-size: .95rem; }
.btn .spin { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stack { display: grid; gap: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper) 70%, rgba(236, 239, 247, 0));
}
.dock > * { max-width: 568px; margin: 0 auto; }

/* ---------- formulários ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field .label { font-weight: 700; }
.field .hint { font-size: .92rem; color: var(--ink-soft); }
.field .err { font-size: .95rem; color: var(--alerta); font-weight: 700; }
input[type=text], input[type=email], input[type=url], input[type=datetime-local], input[type=number], input[type=search], select, textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  min-height: 52px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--uva); outline: none; box-shadow: 0 0 0 3px rgba(91, 42, 134, .2); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--alerta); }
.code-input { font: 750 2rem/1 var(--f-display) !important; letter-spacing: .4em; text-align: center; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--uva); flex: none; }
.radio-cards { display: grid; gap: 10px; }
.radio-cards label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.radio-cards input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--uva); flex: none; }
.radio-cards label:has(input:checked) { border-color: var(--uva); background: var(--uva-tint); }
.radio-cards strong { display: block; }
.radio-cards span { color: var(--ink-soft); font-size: .95rem; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.money { position: relative; }
.money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-soft); }
.money input { padding-left: 44px; }

/* ---------- blocos ---------- */
.panel { background: var(--surface); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.panel h2 { margin-bottom: 12px; }
.muted { color: var(--ink-soft); }
.small { font-size: .92rem; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 28px 0 12px; }
.section-title h2 { margin: 0; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); margin-bottom: 16px; font-weight: 400; }
.notice strong { display: block; }
.notice.info { background: var(--uva-tint); }
.notice.warn { background: var(--fita-tint); }
.notice.ok { background: var(--menta-tint); }
.notice.error { background: var(--alerta-tint); color: #6d140f; }
.notice .ico { flex: none; font-size: 1.3rem; line-height: 1.2; }

/* chip de estado */
.state {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
}
.state::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.state.open { background: var(--menta-tint); color: var(--menta); }
.state.closed { background: var(--fita-tint); color: #7a5600; }
.state.drawn { background: var(--uva-tint); color: var(--uva); }
.state.finished { background: #e7e7ee; color: #4a4760; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .85rem; font-weight: 700; background: var(--uva-tint); color: var(--uva); }
.badge.warn { background: var(--fita-tint); color: #7a5600; }
.badge.ok { background: var(--menta-tint); color: var(--menta); }
.badge.danger { background: var(--alerta-tint); color: var(--alerta); }

/* ---------- etiqueta (motivo central) ---------- */
.tag-card {
  position: relative;
  background: var(--surface);
  border-radius: 12px 28px 28px 12px;
  padding: 22px 22px 20px 44px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  overflow: hidden;
}
.tag-card::before { /* furo da etiqueta */
  content: ''; position: absolute; left: 16px; top: 26px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
}
.tag-card::after { /* faixa de fita */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--fita);
}
.tag-card h1 { margin-bottom: 10px; overflow-wrap: anywhere; }
.facts { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; }
.facts .ico { font-size: 1.15rem; line-height: 1.4; text-align: center; }
.facts strong { display: block; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- avatar ---------- */
.avatar {
  --size: 48px;
  width: var(--size); height: var(--size); flex: none;
  border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  font: 750 calc(var(--size) * .38)/1 var(--f-display); color: #fff;
  background: var(--uva);
  box-shadow: 0 0 0 3px var(--surface);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.xl { --size: 168px; box-shadow: 0 0 0 6px var(--surface), 0 0 0 9px var(--fita); }
.avatar.lg { --size: 96px; }
.avatar.c0 { background: #5b2a86; } .avatar.c1 { background: #d6336c; } .avatar.c2 { background: #0f7a69; }
.avatar.c3 { background: #b4530a; } .avatar.c4 { background: #1d5fa8; } .avatar.c5 { background: #7a3d9e; }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 18px 10px; }
.people li { display: grid; justify-items: center; gap: 6px; text-align: center; font-weight: 700; font-size: .95rem; overflow-wrap: anywhere; }
.people .avatar { --size: 64px; }
.people .meta { font-size: .8rem; font-weight: 400; color: var(--ink-soft); }
.name-tag { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: var(--fita-tint); color: #7a5600; font-size: .78em; font-weight: 700; vertical-align: 1px; }

.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.list .avatar { --size: 44px; }

.group-link { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--surface); border-radius: 12px 22px 22px 12px; border-left: 8px solid var(--fita); box-shadow: var(--shadow); text-decoration: none; color: inherit; margin-bottom: 12px; }
.group-link h3 { margin: 0 0 4px; overflow-wrap: anywhere; }
.group-link .grow { flex: 1; min-width: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stats div { background: var(--surface); border-radius: var(--r-md); padding: 12px; box-shadow: var(--shadow); }
.stats b { display: block; font: 750 1.8rem/1.1 var(--f-display); }
.stats span { font-size: .88rem; color: var(--ink-soft); }

.invite-box { display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: var(--paper); border-radius: var(--r-sm); font-size: .9rem; overflow-wrap: anywhere; word-break: break-all; margin-bottom: 12px; }

/* ---------- capa / home ---------- */
.hero { padding: 18px 0 8px; }
.hero h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; max-width: 12ch; }
.hero p { font-size: 1.15rem; max-width: 34ch; color: var(--ink-soft); }
.hero-tags { position: relative; height: 170px; margin: 8px 0 24px; }
.hero-tags .t {
  position: absolute; width: 150px; height: 84px; border-radius: 10px 22px 22px 10px;
  display: grid; place-items: center; font: 750 1.05rem/1.1 var(--f-display); color: #fff;
  box-shadow: var(--shadow); padding-left: 18px;
}
.hero-tags .t::before { content: ''; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--paper); }
.hero-tags .t1 { left: 0; top: 30px; background: var(--uva); transform: rotate(-8deg); }
.hero-tags .t2 { left: 34%; top: 0; background: var(--chiclete); transform: rotate(5deg); }
.hero-tags .t3 { right: 0; top: 64px; background: var(--fita); color: var(--ink); transform: rotate(-3deg); }
.hero-tags .t3::before { background: var(--surface); }

/* ---------- recorte de foto ---------- */
.photo-picker { display: flex; gap: 16px; align-items: center; }
.photo-picker .avatar { --size: 88px; }
.photo-picker .row { flex: 1; }
dialog {
  border: 0; padding: 0; border-radius: var(--r-lg);
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(36, 26, 59, .5);
}
dialog::backdrop { background: rgba(36, 26, 59, .55); }
.dialog-body { padding: 20px; }
.cropper { position: relative; width: 100%; aspect-ratio: 1; background: #1c1530; border-radius: var(--r-md); overflow: hidden; touch-action: none; cursor: grab; user-select: none; }
.cropper canvas { width: 100%; height: 100%; display: block; }
.cropper .mask { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 0 calc(50% - 1px), rgba(28, 21, 48, .6) 50%); }
.cropper .ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); pointer-events: none; }
input[type=range] { width: 100%; accent-color: var(--uva); height: 32px; }

/* ---------- lista de desejos ---------- */
.wish-item { display: grid; gap: 8px; padding: 14px; border: 2px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; background: var(--surface); }
.wish-item .row { justify-content: space-between; }
.wish-view { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wish-view li { padding: 12px 14px; background: var(--paper); border-radius: var(--r-sm); overflow-wrap: anywhere; }
.wish-view a { font-weight: 700; display: inline-flex; gap: 6px; margin-top: 4px; }
.prefs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.prefs div { background: var(--paper); border-radius: var(--r-sm); padding: 10px 12px; }
.prefs dt { font-size: .85rem; color: var(--ink-soft); }
.prefs dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.prefs .wide { grid-column: 1 / -1; }

/* ---------- revelação ---------- */
.reveal-stage { display: grid; justify-items: center; text-align: center; padding-top: 12px; perspective: 1200px; }
.reveal-card {
  position: relative; width: min(100%, 360px); min-height: 420px;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
.reveal-card.flipped { transform: rotateY(180deg); }
.reveal-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 16px 40px 40px 16px; padding: 28px 24px 24px 48px;
  display: grid; align-content: center; justify-items: center; gap: 14px;
  box-shadow: 0 24px 60px -24px rgba(68, 25, 106, .6);
}
.reveal-face::before { content: ''; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3); }
.reveal-front { background: var(--uva); color: #fff; }
.reveal-front .ribbon { position: absolute; left: 0; right: 0; top: 46%; height: 26px; background: var(--fita); }
.reveal-front .ribbon-v { position: absolute; top: 0; bottom: 0; left: 58%; width: 26px; background: var(--fita); }
.reveal-front .seal { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; background: var(--chiclete); display: grid; place-items: center; font: 800 2.4rem/1 var(--f-display); box-shadow: 0 0 0 6px var(--uva); }
.reveal-front p { position: relative; z-index: 1; font: 700 1.25rem/1.25 var(--f-display); margin: 0; background: var(--uva); padding: 4px 12px; border-radius: 10px; }
.reveal-back { background: var(--surface); transform: rotateY(180deg); }
.reveal-back .who { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.reveal-back h1 { margin: 0; font-size: clamp(2rem, 9vw, 2.8rem); overflow-wrap: anywhere; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: fall 1.6s cubic-bezier(.3, .6, .4, 1) forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); opacity: .9; } }
.result-details { width: 100%; text-align: left; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-card { transition: opacity .2s !important; }
  .confetti { display: none; }
}

/* ---------- carregamento / vazio ---------- */
.skeleton { background: linear-gradient(90deg, #e2e5ef 25%, #eef0f6 50%, #e2e5ef 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r-md); }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 32px 16px; background: var(--surface); border-radius: var(--r-md); border: 2px dashed var(--line); }
.empty p { color: var(--ink-soft); }

.toast-host { position: fixed; left: 0; right: 0; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 50; display: grid; justify-items: center; gap: 8px; padding: 0 16px; pointer-events: none; }
.toast { pointer-events: auto; max-width: 520px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.error { background: var(--alerta); }
.toast.ok { background: var(--menta); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.danger-zone { border: 2px solid var(--alerta-tint); }
.danger-zone h2 { color: var(--alerta); }
.foot { text-align: center; font-size: .85rem; color: var(--ink-soft); margin-top: 40px; }

@media (min-width: 640px) {
  main { padding-top: 32px; }
  .people { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* barra superior compacta no celular */
.brand { white-space: nowrap; }
.topbar nav .row { flex-wrap: nowrap; gap: 2px; }
@media (max-width: 380px) {
  .brand { font-size: 1rem; }
  .topbar a.icon-link { padding: 8px 8px; font-size: .95rem; }
}
.topbar a.icon-link { white-space: nowrap; }
main:focus { outline: none; }

/* ---------- tutorial interativo ---------- */
.tour-layer { position: fixed; inset: 0; z-index: 100; }
.tour-spot {
  position: fixed; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 4px var(--fita), 0 0 0 9999px rgba(28, 21, 48, .62);
  transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease, opacity .2s;
}
.tour-card {
  position: fixed; background: var(--surface); color: var(--ink);
  border-radius: 12px 24px 24px 12px; border-left: 8px solid var(--fita);
  padding: 16px 18px 14px; box-shadow: 0 24px 60px -20px rgba(28, 21, 48, .6);
  transition: opacity .2s;
  max-height: calc(100dvh - 16px); overflow: auto;
}
.tour-card:focus { outline: none; }
.tour-card h2 { font-size: 1.2rem; margin: 6px 0 6px; }
.tour-card p { margin: 0 0 14px; font-size: 1rem; }
.tour-head { display: flex; justify-content: space-between; align-items: center; }
.tour-count { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
.tour-skip { appearance: none; border: 0; background: none; color: var(--ink-soft); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; padding: 6px; }
.tour-actions { display: flex; justify-content: flex-end; gap: 8px; }
body.tour-open { overflow: hidden; }

/* ---------- ajuda ---------- */
.steps { list-style: none; counter-reset: passo; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: passo; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.steps li::before {
  content: counter(passo); width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--uva); color: #fff;
  font: 750 1.05rem/1 var(--f-display);
}
.steps strong { display: block; }
.faq details { background: var(--surface); border-radius: var(--r-sm); margin-bottom: 8px; border: 2px solid var(--line); }
.faq details[open] { border-color: var(--uva); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 700 1.3rem/1 var(--f-display); color: var(--uva); }
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 0 16px 14px; }
.faq .answer p:last-child { margin-bottom: 0; }
.tabs { display: flex; gap: 6px; background: var(--surface); padding: 4px; border-radius: 999px; margin-bottom: 14px; box-shadow: var(--shadow); }
.tabs button { flex: 1; appearance: none; border: 0; background: none; font: 700 .95rem/1.2 var(--f-body); color: var(--ink-soft); padding: 10px 12px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.tabs button[aria-selected=true] { background: var(--uva); color: #fff; }
.topbar a.help-link { width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--uva); font-weight: 800; }
/* elementos destacados não ficam escondidos sob a barra fixa */
[data-tour] { scroll-margin-top: 80px; }
