/* Página pública da Harpa Quant: identidade do harpa-web (web/src/app/globals.css), tema escuro fixo. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fundo: #0b0b0c;
  --painel: #151517;
  --borda: #2a2a2e;
  --texto: #e8e8ea;
  --texto2: #a1a1aa;
  --destaque: #f5a524;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: "Inter Variable", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--destaque); }
a:hover { text-decoration: none; }

.conteudo { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* cabeçalho */
.topo { border-bottom: 1px solid var(--borda); }
.topo .conteudo { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.marca { display: flex; align-items: center; gap: 12px; color: var(--texto); text-decoration: none; }
.marca img { width: 30px; height: 30px; }
.marca span { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* seções */
section { padding: 56px 0; border-bottom: 1px solid var(--borda); }
section:last-of-type { border-bottom: 0; }
h1 { font-size: 40px; line-height: 1.15; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 8px; }
.subtitulo { font-size: 22px; color: var(--destaque); font-weight: 500; margin: 0 0 24px; }
h2 { font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 20px; }
p { margin: 0 0 16px; }
.discreto { color: var(--texto2); }

.botao {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 22px;
  background: var(--destaque);
  color: #0b0b0c;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.botao:hover { filter: brightness(1.08); }
.botao:focus-visible { outline: 2px solid var(--texto); outline-offset: 3px; }

/* vídeo */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--borda); border-radius: 8px; overflow: hidden; background: var(--painel); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* famílias de ferramentas */
.familias { display: grid; gap: 14px; }
.familia { background: var(--painel); border: 1px solid var(--borda); border-left: 3px solid var(--destaque); border-radius: 6px; padding: 16px 18px; }
.familia h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.familia p { margin: 0; color: var(--texto2); }

/* rodapé */
footer { border-top: 1px solid var(--borda); padding: 32px 0 40px; font-size: 14px; color: var(--texto2); }
footer p { margin: 0 0 10px; }
.redes { display: flex; gap: 18px; margin-top: 14px; }

/* aviso de privacidade */
.aviso h1 { font-size: 30px; margin-bottom: 24px; }
.aviso h2 { font-size: 18px; margin: 28px 0 8px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 40px 0; }
  h1 { font-size: 32px; }
  .subtitulo { font-size: 19px; }
  h2 { font-size: 22px; }
  .botao { display: block; text-align: center; }
}
