/* Layout: uma coluna estreita, pensada para quem chega de um post no celular. */
:root {
  --bg: #f6f4ff; --panel: #ffffff; --text: #17132e; --muted: #5c5780; --line: #e3defa;
  --purple: #7b3ff2; --teal: #19c7c0; --chip: #efeaff; --soon: #8a84b0;
  --glow1: rgba(123,63,242,.22); --glow2: rgba(25,199,192,.12);
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0b1f; --panel: #171232; --text: #f2f0ff; --muted: #a8a3c7; --line: #2a2350; --chip: #231c47; --soon: #7d77a6; --glow1: rgba(123,63,242,.34); --glow2: rgba(25,199,192,.16); color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font);
  padding-block: max(24px, env(safe-area-inset-top, 0px)) max(40px, env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
main { max-width: 560px; margin: 0 auto; display: grid; gap: 28px; }
.lang { justify-self: end; display: flex; gap: 4px; }
.lang button { font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--text); background: var(--chip); border-color: var(--purple); }
.hero { display: grid; justify-items: center; text-align: center; gap: 14px; padding-top: 8px; }
.hero img { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(123,63,242,.14), 0 0 0 20px rgba(25,199,192,.08); }
h1 { margin: 8px 0 0; font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.05; letter-spacing: -.02em; }
.tagline { margin: 0; color: var(--muted); font-size: 1.1rem; max-width: 30ch; text-wrap: balance; }
.cta { display: inline-block; margin-top: 10px; padding: 16px 28px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 1.1rem;
  text-decoration: none; background: linear-gradient(135deg, var(--purple), var(--teal)); box-shadow: 0 8px 24px rgba(123,63,242,.32); }
.cta:focus-visible, .lang button:focus-visible, .copy:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.cta.secondary { background: transparent; color: var(--text); border: 2px solid var(--purple); box-shadow: none; }
.note { margin: 0; font-size: .92rem; color: var(--muted); max-width: 40ch; text-wrap: balance; }
.fail { margin: 0; font-size: .95rem; color: var(--text); background: var(--chip); border: 1px solid var(--purple); border-radius: 12px; padding: 10px 14px; }
section { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 22px; }
h2 { margin: 0 0 12px; font-size: 1.05rem; letter-spacing: .01em; }
ol, ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 8px; }
.copy { font: inherit; font-size: .85rem; font-weight: 600; margin-left: 6px; color: var(--purple); background: transparent; border: 1px solid var(--purple); border-radius: 999px; padding: 1px 10px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
.chips li.soon { color: var(--soon); border-style: dashed; }
.sub { margin: 14px 0 8px; font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
footer { text-align: center; font-size: .85rem; color: var(--muted); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { .cta { transition: transform .15s ease; } .cta:active { transform: scale(.98); } }
/* Bloco de apoio, igual em todas as páginas */
.support h2 { margin-bottom: 4px; }
.support p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.support .row { display: flex; flex-wrap: wrap; gap: 10px; }
.support a, .support button { font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--text); background: var(--chip);
  border: 1px solid var(--purple); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.support a:focus-visible, .support button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
/* Página inicial */
.apps { display: grid; gap: 14px; }
.card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.card img { width: 64px; height: 64px; border-radius: 50%; }
.card strong { display: block; font-size: 1.15rem; }
.card span { color: var(--muted); font-size: .95rem; }
.card:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.more { text-align: center; color: var(--muted); font-size: .95rem; margin: 0; }


/* ---------- Visual v2 ---------- */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46rem 26rem at 50% -6rem, var(--glow1), transparent 62%), radial-gradient(34rem 22rem at 105% 12%, var(--glow2), transparent 62%); }
h1 { background: linear-gradient(120deg, var(--text) 40%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { h1 { color: CanvasText; background: none; } }
.card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); border-color: var(--purple); box-shadow: 0 10px 28px rgba(123,63,242,.22); }

/* Relógio animado: ouvindo (ondas) e depois o resultado, como no app */
.watch { position: relative; width: 224px; height: 224px; border-radius: 50%; margin: 6px auto 4px;
  background: #07060f; border: 9px solid #26233d; box-shadow: 0 0 0 2px #3a3660, 0 18px 50px rgba(123,63,242,.35), inset 0 0 30px rgba(0,0,0,.8); overflow: hidden; }
.watch .rings { position: absolute; inset: 0; display: grid; place-items: center; animation: lis 9s infinite; }
.watch .rings i { position: absolute; width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--purple); opacity: 0; animation: wave 2.4s infinite ease-out; }
.watch .rings i:nth-child(2) { animation-delay: .8s; border-color: #4f7be0; }
.watch .rings i:nth-child(3) { animation-delay: 1.6s; border-color: var(--teal); }
.watch .core { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; animation: lis 9s infinite; }
.watch .cap { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-size: 13px; color: #b8b3d8; animation: lis 9s infinite; }
.watch .res { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; padding: 0 22px; opacity: 0; animation: res 9s infinite; color: #f2f0ff; }
.watch .res b { font-size: 19px; line-height: 1.15; }
.watch .res span { font-size: 14px; color: #b8b3d8; }
.watch .res em { font-style: normal; margin-top: 10px; font-size: 22px; }
@keyframes wave { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(3.1); opacity: 0; } }
@keyframes lis { 0%, 56% { opacity: 1; } 62%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes res { 0%, 58% { opacity: 0; } 66%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .watch .rings, .watch .core, .watch .cap { animation: none; opacity: 0; }
  .watch .rings i { animation: none; }
  .watch .res { animation: none; opacity: 1; }
}

/* Bloco de apoio v2 */
.support { position: relative; text-align: center; background: linear-gradient(160deg, rgba(123,63,242,.14), rgba(25,199,192,.10)), var(--panel);
  border: 1px solid var(--purple); padding: 26px 20px 24px; }
.support .cup { font-size: 2.2rem; line-height: 1; margin-bottom: 6px; }
.support h2 { font-size: 1.2rem; }
.support p { max-width: 36ch; margin-inline: auto; }
.support .row { justify-content: center; }
.support .btn-pix { background: #32bcad; border-color: #32bcad; color: #04211e; }
.support .btn-bmc { background: #ffdd00; border-color: #ffdd00; color: #1a1a1a; }
.support .btn-kofi { background: transparent; }
.support a:hover, .support button:hover { filter: brightness(1.08); }
