/* Meu Bip — base: fontes, cores do tema da loja, topo, botões, rodapé. */
@font-face { font-family: "Baloo 2"; font-weight: 600; font-display: swap; src: url("../fontes/baloo-2-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("../fontes/baloo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("../fontes/baloo-2-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fontes/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fontes/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fontes/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fontes/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --mb-bg: #F4F5F7; --mb-surface: #FFFFFF; --mb-text: #16161A; --mb-muted: #555A66;
  --mb-marca: #FFC400; --mb-marca-hover: #F0B700; --mb-tinta: #16161A;
  --mb-t-amarelo: #FFF1BF; --mb-t-azul: #DCEBFF; --mb-t-verde: #D4F1DF; --mb-t-rosa: #FFE0EA; --mb-t-laranja: #FFE3CC;
  --mb-a-amarelo: #7A5A00; --mb-a-azul: #1D4F91; --mb-a-verde: #1B6B3F; --mb-a-rosa: #A2244F; --mb-a-laranja: #9A4A0C;
  --mb-display: "Baloo 2", ui-rounded, system-ui, sans-serif;
  --mb-corpo: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --topo: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mb-bg); color: var(--mb-text); font-family: var(--mb-corpo); line-height: 1.5; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #1D4F91; outline-offset: 3px; }

.pular { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--mb-marca); padding: 8px 14px; border-radius: 10px; }
.pular:focus { left: 8px; }

/* Topo */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--topo); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 max(16px, 4vw); background: rgba(244,245,247,.96); border-bottom: 1px solid rgba(22,22,26,.06); }
.marca { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--mb-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; }
.marca__icone { width: 30px; height: 30px; border-radius: 9px; background: var(--mb-marca); display: grid; place-items: center; }
.marca__nome::after { content: "meubip"; }
.progresso { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.progresso span { display: block; height: 100%; width: 100%; background: var(--mb-marca); transform-origin: 0 50%; transform: scaleX(0); }

/* Botões */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--mb-marca); color: var(--mb-tinta); text-decoration: none;
  font-weight: 700; border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(122,90,0,.55); transition: background .2s, transform .2s; white-space: nowrap; }
.cta:hover { background: var(--mb-marca-hover); transform: translateY(-1px); }
.cta--topo { padding: 10px 18px; font-size: .95rem; }
.cta--grande { padding: 16px 30px; font-size: 1.12rem; margin-top: 8px; }
@media (max-width: 380px) { .cta--topo { padding: 9px 13px; font-size: .85rem; } .marca { font-size: 1.2rem; } .marca__icone { width: 26px; height: 26px; } }

/* Rodapé */
.rodape { background: var(--mb-tinta); color: #F4F5F7; text-align: center; padding: 28px 16px; font-size: .92rem; }
.rodape a { color: var(--mb-marca); }
