@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/open-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --es-azul: #00024D;
  --es-laranja: #F87A09;
  --es-offwhite: #FCFEFD;
  --es-marrom: #98410E;
  --es-cinza-rosado: #9E807F;
  --es-borda: #E4E2E0;
  --es-fundo-apoio: #F4F4F6;
  --es-erro: #98410E;
  --es-font-display: "Montserrat", Arial, sans-serif;
  --es-font-body: "Open Sans", Arial, Helvetica, sans-serif;
  --es-radius-control: 8px;
  --es-radius-card: 12px;
  --es-radius-badge: 999px;
  --es-motion: 150ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--es-offwhite);
  color: var(--es-azul);
  font-family: var(--es-font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--es-azul); text-underline-offset: 3px; }
a:hover { color: var(--es-marrom); }
[hidden] { display: none !important; }

.miolo { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.estreito { max-width: 640px; }

.pular {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  background: var(--es-azul); color: var(--es-offwhite);
  padding: 8px 16px; border-radius: var(--es-radius-control);
}
.pular:focus { top: 16px; }

/* topo */
.topo { padding: 20px 0 8px; }
.topo-conteudo { display: flex; align-items: center; gap: 12px; }
.topo-simbolo { display: block; width: 44px; height: 44px; }
.topo-nome { font-family: var(--es-font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }

/* tipografia */
h1, h2, h3 { font-family: var(--es-font-display); margin: 0; color: var(--es-azul); }
h1 { font-weight: 700; font-size: 32px; line-height: 1.15; }
h2 { font-weight: 600; font-size: 24px; line-height: 1.25; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.3; }

/* hero */
.hero { padding: 24px 0 56px; }
.hero-grade { display: grid; gap: 32px; }
.selo {
  display: inline-block; margin: 0 0 16px; padding: 4px 12px;
  background: var(--es-fundo-apoio); border: 1px solid var(--es-borda);
  border-radius: var(--es-radius-badge);
  font-family: var(--es-font-display); font-weight: 600; font-size: 13px; color: var(--es-azul);
}
.subtitulo { margin: 16px 0 0; font-size: 18px; font-weight: 600; line-height: 1.5; }
.apoio { margin: 16px 0 0; font-size: 16px; }

/* cartao e formulario */
.cartao {
  background: #fff; border: 1px solid var(--es-borda); border-radius: var(--es-radius-card);
  padding: 24px; box-shadow: 0 8px 24px rgba(0, 2, 77, 0.06);
}
.cartao-grande { padding: 32px 24px; margin: 24px 0 56px; }
.cartao-titulo { font-size: 22px; }
.cartao-sub { margin: 8px 0 20px; font-size: 15px; }

.campo { margin-bottom: 16px; }
.campo label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid #b9b7c9; border-radius: var(--es-radius-control);
  background: #fff; color: var(--es-azul);
  font-family: var(--es-font-body); font-size: 16px;
  transition: border-color var(--es-motion), box-shadow var(--es-motion);
}
input::placeholder { color: #6f6d86; }
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--es-azul); outline-offset: 2px;
}
input[aria-invalid="true"] { border-color: var(--es-marrom); box-shadow: 0 0 0 1px var(--es-marrom); }

/* sugestoes de e-mail (gmail.com, hotmail.com) logo abaixo do campo */
.sugestoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sugestoes[hidden] { display: none; }
.sugestao {
  min-height: 44px; max-width: 100%; padding: 8px 14px;
  border: 1px solid var(--es-azul); border-radius: var(--es-radius-badge);
  background: var(--es-offwhite); color: var(--es-azul);
  font-family: var(--es-font-body); font-size: 15px; font-weight: 600; line-height: 1.3;
  overflow-wrap: anywhere; text-align: left; cursor: pointer;
  transition: background-color var(--es-motion), border-color var(--es-motion);
}
.sugestao:hover { background: var(--es-fundo-apoio); border-color: var(--es-laranja); }
.sugestao:focus-visible { outline: 3px solid var(--es-azul); outline-offset: 2px; }

.erro { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--es-marrom); }
.erro-geral { margin: 0 0 16px; padding: 10px 14px; background: var(--es-fundo-apoio); border-left: 4px solid var(--es-marrom); border-radius: var(--es-radius-control); }

/* honeypot: fora da tela, nao usa display:none para robos ainda enxergarem */
.isca { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.campo label.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 0; font-weight: 400; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--es-azul); }

/* botao: laranja com texto azul (contraste 6,97:1) */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 12px 24px;
  background: var(--es-laranja); color: var(--es-azul);
  border: 0; border-radius: var(--es-radius-control);
  font-family: var(--es-font-display); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: filter var(--es-motion), transform var(--es-motion);
}
.botao:hover { filter: brightness(0.95); color: var(--es-azul); }
.botao:active { transform: translateY(1px); }
.botao[disabled] { cursor: progress; filter: grayscale(0.25) brightness(0.97); }
.botao-link { width: auto; margin-top: 24px; }
.nota { margin: 12px 0 0; font-size: 14px; text-align: center; }

/* pagina de obrigado */
.lista-arquivos { margin-top: 24px; display: grid; gap: 12px; }
.arquivo-rotulo { margin: 0 0 8px; font-size: 15px; font-weight: 600; }

/* temas */
.temas { margin-top: 8px; }
.onda { display: block; width: 100%; height: 56px; }
.onda-laranja { fill: var(--es-laranja); }
.onda-azul { fill: var(--es-azul); }
.temas-fundo { background: var(--es-azul); color: var(--es-offwhite); padding: 8px 0 56px; }
.temas-fundo h2, .temas-fundo h3 { color: var(--es-offwhite); }
.temas-intro { margin: 12px 0 0; max-width: 620px; }
.temas-lista { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.temas-lista li { padding: 20px; border: 1px solid rgba(252, 254, 253, 0.25); border-radius: var(--es-radius-card); }
.temas-lista h3 { font-size: 20px; }
.temas-lista p { margin: 8px 0 0; font-size: 15px; }
.temas-assinatura { margin: 40px 0 0; font-family: var(--es-font-display); font-weight: 600; font-size: 18px; color: var(--es-laranja); }

/* rodape */
.rodape { padding: 32px 0 48px; font-size: 14px; }
.rodape p { margin: 0 0 12px; max-width: 760px; }

/* politica */
.texto-longo h1 { margin-top: 8px; }
.texto-longo h2 { margin: 32px 0 8px; font-size: 20px; }
.texto-longo p, .texto-longo li { max-width: 720px; }
.texto-longo ul { padding-left: 20px; }
.aviso-rascunho { margin: 16px 0 0; padding: 12px 16px; background: var(--es-fundo-apoio); border-left: 4px solid var(--es-laranja); border-radius: var(--es-radius-control); font-weight: 600; }

@media (min-width: 900px) {
  h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  .hero { padding: 40px 0 72px; }
  .hero-grade { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
  .temas-lista { grid-template-columns: repeat(4, 1fr); }
  .onda { height: 90px; }
  .temas-fundo { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
