/* Gerado por scripts/propostas/build-sites.js a partir de brand/a. Não editar aqui. */

/* Fontes servidas localmente (Google Fonts, licença SIL OFL 1.1), só o subconjunto latino. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400-italic.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400-normal.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400-normal.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400-normal.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-normal.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-normal.woff2") format("woff2");
  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;
}

/*
  Alpha Impact · Direção A · Rigor
  Sóbria e técnica. Evolução da marca atual: mantém o azul-marinho,
  o rosa passa a sinal e deixa de haver gradiente.

  Fontes (Google Fonts):
  https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap

  Os nomes dos tokens são iguais nas três direções (A, B e C),
  para que qualquer versão do site possa trocar de identidade.
*/

/* ---------- Cor: modo claro ---------- */
:root,
[data-scheme="light"] {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #F4F6F9;
  --surface-alt: #E9EDF3;
  --text: #0F172A;
  --text-muted: #475467;
  --line: #DDE3EA;
  --line-strong: #76839A;
  --brand: #0F172A;
  --on-brand: #FFFFFF;
  --on-brand-muted: #B4BCC9;
  --action: #EC4899;
  --action-hover: #F472B6;
  --on-action: #0F172A;
  --accent: #EC4899;
  --accent-text: #BE185D;
  --highlight: #FDE6F1;
  --focus: #EC4899;
  --focus-on-brand: #EC4899;
  --danger: #B42318;
  --success: #067647;
}

/* ---------- Tipografia, forma, espaço e movimento ---------- */
:root {
  --font-display: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-label: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fw-display: 600;
  --fw-strong: 600;
  --lh-display: 1.08;
  --lh-text: 1.6;
  --tracking-display: -0.022em;
  --tracking-label: 0.08em;

  --fs-label: 0.75rem;
  --fs-small: 0.875rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.45rem + 1.4vw, 2.5rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  --fs-display: clamp(2.75rem, 1.8rem + 4.6vw, 5.5rem);

  --radius-s: 2px;
  --radius-m: 4px;
  --radius-l: 6px;
  --radius-pill: 999px;
  --border-w: 1px;
  --shadow-1: none;
  --shadow-2: none;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --container: 74rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur: 200ms;
}

/* ---------- Cor: modo escuro (preferência do sistema) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0A101C;
    --surface: #111A2B;
    --surface-alt: #18233A;
    --text: #E9EEF6;
    --text-muted: #A4B0C3;
    --line: #233149;
    --line-strong: #66758F;
    --brand: #131E33;
    --on-brand: #E9EEF6;
    --on-brand-muted: #A4B0C3;
    --action: #F472B6;
    --action-hover: #F9A8D4;
    --on-action: #0A101C;
    --accent: #F472B6;
    --accent-text: #F9A8D4;
    --highlight: #3B1830;
    --focus: #F472B6;
    --focus-on-brand: #F472B6;
    --danger: #FDA29B;
    --success: #75E0A7;
  }
}

/* ---------- Cor: modo escuro (escolha manual ou painel) ---------- */
:root[data-theme="dark"],
[data-scheme="dark"] {
  color-scheme: dark;
  --bg: #0A101C;
  --surface: #111A2B;
  --surface-alt: #18233A;
  --text: #E9EEF6;
  --text-muted: #A4B0C3;
  --line: #233149;
  --line-strong: #66758F;
  --brand: #131E33;
  --on-brand: #E9EEF6;
  --on-brand-muted: #A4B0C3;
  --action: #F472B6;
  --action-hover: #F9A8D4;
  --on-action: #0A101C;
  --accent: #F472B6;
  --accent-text: #F9A8D4;
  --highlight: #3B1830;
  --focus: #F472B6;
  --focus-on-brand: #F472B6;
  --danger: #FDA29B;
  --success: #75E0A7;
}

/* ---------- Regras comuns às três versões ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: var(--lh-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--lh-display);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.on-brand {
  --focus: var(--focus-on-brand);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -10rem;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--text);
  color: var(--bg);
  font-weight: var(--fw-strong);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Itens de grelha podem encolher abaixo da largura do conteúdo (tabelas com scroll próprio) */
.page-body > *,
.block > * {
  min-width: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
