/* Muntuza Screen · muntuza.com · v1 · feed de ecrãs inteiros (o formato do protótipo animado)
   Tokens do MuntuzaUI (MUNTUZA CMS/packages/ui/src/tokens). Sem sombras, sem gradientes, acento único volt. */

@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans_300Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans_400Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans_600SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Syne"; src: url("../fonts/Syne_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --obs: #0E0E0E;
  --carbon: #1A1A1A;
  --chalk: #F5F4F0;
  --stone: #5C5C52;
  --volt: #E8FF47;
  --foco: #D4EB00;
  --mut: rgba(245, 244, 240, 0.55);
  --linha: rgba(92, 92, 82, 0.45);
  --faixa: rgba(14, 14, 14, 0.78);
  --m: 20px;
  --topo: 52px;
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  --entra: cubic-bezier(0.22, 1, 0.36, 1);
  --troca: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (min-width: 900px) { :root { --m: 40px; --topo: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--obs); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.feed { scroll-snap-type: y mandatory; }
body { margin: 0; background: var(--obs); color: var(--chalk); font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 25px; letter-spacing: -0.374px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(100% - 2 * var(--m), 1200px); margin-inline: auto; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: var(--m); top: -64px; z-index: 30; padding: 10px 16px; border-radius: 9999px; background: var(--volt); color: var(--obs); font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; }

/* ---------- barra de topo ---------- */
.topo { position: sticky; top: 0; z-index: 10; padding-top: var(--st); background: var(--obs); border-bottom: 1px solid var(--linha); }
.topo.sobre { position: fixed; left: 0; right: 0; background: var(--faixa); border-bottom: 0; }
.topo-in { height: var(--topo); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lock { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; }
.wm { font-family: Syne, "DM Sans", sans-serif; font-weight: 800; font-size: 18px; line-height: 1; letter-spacing: -0.36px; }
.wm i { font-style: normal; color: var(--volt); }
.desc { font-weight: 300; font-size: 17px; line-height: 1; letter-spacing: -0.2px; }
.topo-dir { display: flex; align-items: center; gap: 16px; }
.lg { display: flex; align-items: center; font-size: 13px; line-height: 18px; color: var(--mut); }
.lg a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 44px; color: var(--mut); text-decoration: none; letter-spacing: 0.2px; transition: color 180ms linear; }
.lg a:hover { color: var(--chalk); }
.lg a[aria-current] { color: var(--chalk); font-weight: 600; }
.lg a[aria-current]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 9px; height: 2px; border-radius: 2px; background: var(--volt); }
@media (min-width: 900px) { .wm { font-size: 20px; letter-spacing: -0.4px; } .desc { font-size: 18px; } }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 9999px; font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: -0.2px; text-decoration: none; white-space: nowrap; -webkit-user-select: none; user-select: none; transition: transform 160ms var(--entra), background-color 180ms linear, opacity 220ms linear; }
.btn:active { transform: scale(0.95); transition-duration: 120ms; }
.btn:focus-visible, .lg a:focus-visible, .lock:focus-visible, .rodape a:focus-visible, .voltar:focus-visible, .dica:focus-visible, .dots a:focus-visible { outline: 2px solid var(--foco); outline-offset: 2px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-volt { background: var(--volt); color: var(--obs); }
.btn-contorno { border-color: var(--chalk); color: var(--chalk); }
.btn-contorno:hover { background: var(--carbon); }
.btn-p { height: 44px; padding: 0 18px; font-size: 14px; line-height: 18px; letter-spacing: -0.224px; }
.btn-p svg { width: 18px; height: 18px; }
.btn-g { height: 56px; }

/* ---------- painéis de ecrã inteiro ---------- */
.pn { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; background: var(--obs); scroll-snap-align: start; scroll-snap-stop: always; }
.pn-img { position: absolute; top: calc(var(--topo) + var(--st)); left: 0; right: 0; bottom: 0; margin: 0; background: var(--carbon); }
.pn-img img { width: 100%; height: 100%; object-fit: cover; }
.pn-tx { position: absolute; bottom: 40px; width: min(480px, 40%); padding: 28px 32px 30px; border-radius: 18px; background: var(--faixa); }
.pn-tx.esq { left: 40px; }
.pn-tx.dir { right: 56px; }
.rot { display: inline-block; padding: 5px 10px; border-radius: 9999px; background: var(--carbon); color: var(--chalk); font-size: 12px; line-height: 17px; font-weight: 600; letter-spacing: -0.12px; }
.pn-tx h2 { margin: 14px 0 10px; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.28px; text-wrap: balance; }
.pn-tx p { margin: 0; text-wrap: pretty; }

/* painel 1 · a tela */
.p1 { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); align-items: center; gap: 56px; width: min(100% - 2 * var(--m), 1200px); height: 100%; margin-inline: auto; padding: calc(var(--topo) + var(--st) + 32px) 0 40px; }
.p1 h1 { margin: 0; font-size: clamp(48px, 6.4vw, 96px); line-height: 1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 20px 0 0; max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -0.3px; text-wrap: pretty; }
.dica { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-top: 28px; font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: -0.224px; text-decoration: none; }
.dica svg { width: 16px; height: 16px; animation: dica 1.6s var(--troca) infinite; }
@keyframes dica { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
.p1-img { align-self: stretch; height: 100%; aspect-ratio: 933 / 1400; margin: 0; border-radius: 18px; overflow: hidden; background: #141414; }
.p1-img img { width: 100%; height: 100%; object-fit: cover; }

/* painéis sem imagem · como funciona · fale com a gente */
.pn-bloco { display: flex; flex-direction: column; justify-content: center; width: min(100% - 2 * var(--m), 1200px); height: 100%; margin-inline: auto; padding: calc(var(--topo) + var(--st) + 32px) 0 48px; }
.pn-bloco h2 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.28px; text-wrap: balance; }
.passos { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.passos li { padding-top: 20px; border-top: 1px solid var(--stone); }
.num { display: block; font-size: 48px; line-height: 48px; font-weight: 800; letter-spacing: -0.28px; color: var(--volt); font-variant-numeric: tabular-nums; }
.passos p { margin: 16px 0 0; font-size: 19px; line-height: 27px; letter-spacing: -0.3px; text-wrap: pretty; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 48px; font-size: 13px; line-height: 20px; letter-spacing: -0.12px; color: var(--mut); }
.rodape a { color: var(--chalk); text-underline-offset: 3px; }
/* divulgação legal obrigatória (Reg. 25, SI 2015/17): linha própria, sempre legível */
.rodape .legal { flex-basis: 100%; margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--mut); }

/* entrada do texto quando o painel aparece (fica visível depois de entrar) */
.js .pn .anima { opacity: 0; transform: translateY(16px); transition: opacity 420ms var(--entra), transform 420ms var(--entra); }
.js .pn.on .anima { opacity: 1; transform: none; }
.js .pn.on .anima + .anima { transition-delay: 120ms; }

/* ---------- pontos de posição ---------- */
.dots { position: fixed; top: 50%; right: 12px; z-index: 9; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 7px; }
.dots a { position: relative; width: 4px; height: 4px; border-radius: 2px; background: rgba(245, 244, 240, 0.4); transition: height 220ms var(--troca), background-color 220ms linear; }
.dots a::after { content: ""; position: absolute; inset: -3.5px -20px; }
.dots a[aria-current] { height: 14px; background: var(--volt); }
@media (min-width: 900px) { .dots { right: 20px; } }

/* ---------- botão fixo do WhatsApp (celular) ---------- */
.fixo { position: fixed; left: var(--m); right: var(--m); bottom: calc(16px + var(--sb)); z-index: 20; transition: opacity 220ms linear, transform 280ms var(--entra); }
.fixo.esc { opacity: 0; transform: translateY(16px); pointer-events: none; }
.so-mob { display: none !important; }

/* ---------- privacidade (página de leitura) ---------- */
.priv { max-width: 680px; padding: 24px 0 80px; }
.voltar { display: inline-flex; align-items: center; gap: 6px; height: 44px; font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: -0.224px; text-decoration: none; }
.voltar svg { width: 18px; height: 18px; }
.priv h1 { margin: 16px 0 12px; font-size: clamp(36px, 4vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -0.28px; text-wrap: balance; }
.priv .intro { margin: 0; font-size: 19px; line-height: 28px; letter-spacing: -0.3px; color: var(--mut); }
.priv h2 { margin: 40px 0 10px; font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -0.2px; text-wrap: balance; scroll-margin-top: 88px; }
.priv p, .priv li { font-size: 17px; line-height: 26px; letter-spacing: -0.3px; text-wrap: pretty; }
.priv p { margin: 0 0 12px; }
.priv ul { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.priv li::marker { color: var(--mut); }
.priv strong { font-weight: 600; }
.rasc, .pend { display: inline-block; border: 1px dashed var(--stone); border-radius: 5px; color: var(--mut); font-size: 12px; line-height: 17px; font-weight: 400; letter-spacing: -0.12px; }
.rasc { margin-top: 8px; padding: 3px 8px; }
.pend { padding: 1px 6px; vertical-align: 2px; }
.empresa { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--stone); }
.empresa h2 { margin-top: 0; font-size: 14px; line-height: 18px; }
.empresa p { font-size: 14px; line-height: 21px; color: var(--mut); }
.versao { margin-top: 20px; font-size: 13px !important; line-height: 19px !important; color: var(--mut); }
.rodape-pag { border-top: 1px solid var(--linha); }
.rodape-pag .rodape { margin: 0; padding: 24px 0 calc(24px + var(--sb)); }

/* ---------- celular: imagem em cima, texto embaixo ---------- */
@media (max-width: 899px) {
  .so-desk { display: none !important; }
  .so-mob { display: flex !important; }
  .pn { display: flex; flex-direction: column; padding-top: calc(var(--topo) + var(--st)); }
  .pn-img { position: relative; top: auto; left: auto; right: auto; bottom: auto; flex: 1; min-height: 0; }
  .pn-tx, .pn-tx.esq, .pn-tx.dir { position: static; width: auto; border-radius: 0; background: var(--obs); padding: 20px var(--m) calc(var(--sb) + 16px + 52px + 20px); }
  .pn-tx h2 { font-size: 30px; line-height: 34px; }
  .p1 { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 0; width: auto; height: auto; margin: 0; padding: 0; }
  .p1-img { order: -1; flex: 1; min-height: 0; height: auto; aspect-ratio: auto; margin: 12px var(--m) 0; }
  .p1-img img { object-fit: contain; }
  .p1-tx { padding: 20px var(--m) calc(var(--sb) + 16px + 52px + 8px); }
  .p1 h1 { font-size: 44px; line-height: 46px; }
  .lead { margin-top: 12px; }
  .dica { margin-top: 4px; }
  .pn-bloco { flex: 1; min-height: 0; width: auto; height: auto; margin: 0; justify-content: flex-start; padding: 32px var(--m) calc(var(--sb) + 16px + 52px + 20px); }
  .pn-bloco.fale { justify-content: flex-end; padding-bottom: calc(var(--sb) + 24px); }
  .passos { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .passos li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; }
  .passos li p { margin: 0; font-size: 17px; line-height: 24px; }
  .num { min-width: 28px; font-size: 40px; line-height: 40px; }
  .acoes .btn { width: 100%; }
  .rodape { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .pn .anima { opacity: 1; transform: none; transition: none; }
  .dica svg { animation: none; }
  .btn, .fixo, .lg a, .dots a { transition: none; }
}
