/* Gab AI · gabai.com.br — a MARCA do site (SITE-MARCA-01, 14/11/2026)
   Carregado PRIMEIRO em todas as páginas (vendas, funil, CRM e jurídicas). Três coisas, num lugar só:
     1. As fontes da marca, hospedadas aqui (/fonts, ver /fonts/LEIAME.md). Nada de Google Fonts.
        Gojali = títulos · Stage Grotesk = apoio curto · Open Sans = texto corrido (marca-06).
     2. A paleta da marca (marca-05), com os tons e os dois estados de aviso do app.
     3. O cabeçalho (.m-top) e o rodapé (.m-foot) — UM desenho só em todas as páginas
        (decisão do founder, 14/11/2026). Os TEXTOS de cada família de páginas ficam como estavam. */

/* ---- 1. Fontes ------------------------------------------------------------------------------- */
@font-face {
  font-family: "Gojali";
  font-style: normal;
  font-weight: 600 900; /* só o Heavy: o padrão de título da marca */
  font-display: swap;
  src: url("/fonts/gojali-heavy-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Stage Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/stage-grotesk-regular-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Stage Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/stage-grotesk-medium-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Stage Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/stage-grotesk-bold-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800; /* variável: a mesma do painel */
  font-display: swap;
  src: url("/fonts/OpenSans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/OpenSans-Italic-latin.woff2") format("woff2");
}

/* ---- 2. Paleta (marca-05) -------------------------------------------------------------------- */
:root {
  /* primária */
  --m-rosa: #FDAADE;
  --m-offwhite: #F6F6F9;
  --m-preto: #060A1F;
  /* secundária: uma por bloco */
  --m-berinjela: #262242;
  --m-lilas: #AE98BE;
  --m-cinza: #E3E4E8;
  --m-limao: #E6FFA9;
  /* tons aprovados para interface (marca-05 § Tons) */
  --m-rosa-suave: #FDE6F4;
  --m-lilas-suave: #E9E3F1;
  --m-preto-80: rgba(6, 10, 31, 0.80);
  --m-preto-66: rgba(6, 10, 31, 0.66);
  --m-preto-35: rgba(6, 10, 31, 0.35);
  --m-offwhite-80: rgba(246, 246, 249, 0.80);
  /* estados de aviso: os mesmos do app (decisão do founder, 14/11/2026) */
  --m-sucesso: #1F7A45;
  --m-erro: #C2185B;
  /* hover do botão rosa: o mesmo do app (brand-pink-hover) */
  --m-rosa-hover: #FF94D5;

  --m-font-titulo: "Gojali", "Arial Black", system-ui, sans-serif;
  --m-font-apoio: "Stage Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --m-font-texto: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- 3a. Cabeçalho único (.m-top) ------------------------------------------------------------ */
.m-top {
  /* Preso no topo só no desktop: no celular a página de vendas tem o palco animado preso em top:0. */
  position: relative; z-index: 30;
  background: var(--m-offwhite); border-bottom: 1px solid var(--m-cinza);
  font-family: var(--m-font-texto);
}
.m-top-in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; max-width: 1280px; min-height: 57px; margin: 0 auto; padding: 0 20px;
}
.m-brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; text-decoration: none; }
/* O wordmark oficial (memory-bank/brand/logos). Mínimo de tela da marca: 70px de largura (marca-04). */
.m-logo { display: block; height: 22px; width: auto; }
.m-pill {
  font-family: var(--m-font-apoio); font-size: 13px; font-weight: 500; line-height: 1.2;
  padding: 6px 12px; border-radius: 999px; background: var(--m-rosa); color: var(--m-preto);
}
.m-nav { display: none; }
.m-nav a { color: var(--m-preto); }
/* O botão do topo: rosa com texto preto (combinação aprovada). */
.m-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--m-rosa); color: var(--m-preto);
  font-family: var(--m-font-texto); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.m-cta:hover { background: var(--m-rosa-hover); color: var(--m-preto); }
.m-top :focus-visible, .m-foot :focus-visible { outline: 3px solid var(--m-preto); outline-offset: 3px; border-radius: 6px; }
.m-foot :focus-visible { outline-color: var(--m-rosa); }

@media (min-width: 900px) {
  .m-top { position: sticky; top: 0; }
  /* 72px + 1px de borda = os 73px que o palco animado da página de vendas desconta (funil.css). */
  .m-top-in { min-height: 72px; padding: 0 40px; }
  .m-logo { height: 26px; }
  .m-top-in > .m-pill { display: none; }
  .m-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
  .m-nav a:not(.m-cta) { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
  .m-nav a:not(.m-cta):hover { text-decoration: underline; text-underline-offset: 4px; }
}

/* ---- 3b. Rodapé único (.m-foot): fundo preto, texto off-white (combinação aprovada) ------------ */
.m-foot {
  background: var(--m-preto); color: var(--m-offwhite-80);
  font-family: var(--m-font-texto); font-size: 14px; line-height: 1.6;
  padding: 40px 0 48px;
}
.m-foot-in {
  display: flex; flex-direction: column; gap: 20px;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px;
}
.m-foot a { color: var(--m-offwhite); }
.m-foot a:hover { color: var(--m-rosa); }
.m-foot-brand { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.m-foot-logo { display: block; height: 26px; width: auto; }
.m-foot-brand p, .m-foot-brand span { margin: 0; color: var(--m-offwhite-80); }
.m-foot-titulo {
  margin: 0 0 4px; font-family: var(--m-font-apoio); font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; color: var(--m-offwhite);
}
.m-foot-links { display: flex; flex-wrap: wrap; column-gap: 20px; }
.m-foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.m-foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* O bloco da empresa (a Meta lê): sempre visível e legível, nunca menor que 13px. */
.m-foot-legal { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(246, 246, 249, 0.18); }
.m-foot-legal p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--m-offwhite-80); }
.m-foot-legal strong { color: var(--m-offwhite); font-weight: 700; }
.m-foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  font-size: 13px; color: var(--m-offwhite-80);
}

@media (min-width: 900px) {
  .m-foot { padding: 56px 0 56px; }
  .m-foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; row-gap: 24px; padding: 0 40px; align-items: start; }
  .m-foot-legal, .m-foot-bottom { grid-column: 1 / -1; }
  .m-foot-links { justify-content: flex-end; }
  .m-foot-nav { justify-self: end; }
}
