/* Equivalente a app/globals.css + fonte do layout raiz do projeto Next.js original. */

* {
  box-sizing: border-box;
}

:root {
  --topbar-height: 38px;
  --header-height: 82px;
  --sticky-height: calc(var(--topbar-height) + var(--header-height));
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-anchor: none;
}

@media (max-width: 768px) {
  :root {
    --sticky-height: var(--header-height);
  }
}

/*
 * Poppins self-hospedada (decisão do plano: evitar terceiro/Google Fonts
 * num site com aviso de cookies e blog sobre LGPD). Baixe os 3 arquivos
 * .woff2 (pesos 400/600/700) e coloque em /assets/fonts/ antes do deploy —
 * ver php/DEPLOY.md. Até lá, cai no fallback de sistema abaixo.
 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins-700.woff2') format('woff2');
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #04363b;
}

a {
  color: inherit;
}
