/* Fale Agora — estilos base (a maior parte do visual vem dos estilos inline do layout) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: #F7F4ED; color: #0E1521; }
img, svg { max-width: 100%; }
a { color: #0E1521; }

/* acessibilidade: foco visível e link para pular o menu */
a:focus-visible, button:focus-visible { outline: 3px solid #32D583; outline-offset: 3px; border-radius: 6px; }
.pular { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #12B76A; color: #0E1521; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.pular:focus { left: 8px; }

/* interações (os estilos inline não cobrem :hover) */
a[href]:not(.pular) { transition: filter .15s ease, background-color .15s ease; }
a[href]:hover { filter: brightness(1.08); }
.nav-links { gap: clamp(12px, 1.6vw, 22px) !important; }
.nav-links a:hover, footer a:hover { color: #F7F4ED !important; filter: none; }

/* celular: o menu de seções some (a página é de rolagem curta) e os botões do topo se ajustam */
@media (max-width: 860px) {
  .nav-links { display: none !important; }
}
@media (max-width: 520px) {
  .btn-entrar { padding: 9px 14px !important; }
  .btn-demo { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* páginas legais (termos / privacidade) */
.legal { max-width: 780px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 40px) 96px; }
.legal h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.legal .atualizado { color: #5A6472; font-size: 14.5px; margin: 0 0 36px; }
.legal h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; letter-spacing: -0.015em; margin: 38px 0 10px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: #2B3544; }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal a { color: #0A6E41; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { border: 1px solid #DCD7CB; padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: #FFFFFF; }
.topo-legal { background: #0E1521; }
.topo-legal div { max-width: 1200px; margin: 0 auto; padding: 18px clamp(20px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topo-legal a { color: #F7F4ED; text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; }
.topo-legal a.voltar { font-family: Inter, sans-serif; font-weight: 600; font-size: 15px; color: #9AA8B8; }
.rodape-legal { background: #080D16; color: #8A93A1; padding: 28px clamp(20px, 5vw, 56px); font-size: 13.5px; text-align: center; }
.rodape-legal a { color: #C3CEDB; text-decoration: none; margin: 0 8px; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.nf h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(56px, 12vw, 120px); margin: 0; letter-spacing: -0.04em; color: #12B76A; }
.nf p { font-size: 18px; color: #5A6472; }
.nf a.botao { display: inline-block; margin-top: 12px; padding: 14px 26px; border-radius: 12px; background: #0E1521; color: #F7F4ED; text-decoration: none; font-weight: 700; }
