/* Acha Licita: landing. Estilo de sistema, acento verde-escuro, modo escuro automático. */

:root {
  --fundo: #ffffff;
  --fundo-2: #f5f5f7;
  --superficie: #ffffff;
  --texto: #1d1d1f;
  --texto-2: #515154;
  --texto-3: #6e6e73;
  --linha: #d2d2d7;
  --linha-suave: #e8e8ed;
  --acento: #0b6e4f;
  --acento-forte: #085a40;
  --acento-texto: #ffffff;
  --acento-suave: #e6f2ed;
  --me: #1a7f37;
  --me-suave: #eafaf0;
  --tag: #0a58ca;
  --tag-suave: #eef4ff;
  --urgente: #b4321a;
  --erro: #c4231a;
  --erro-suave: #fdecea;
  --ok: #0b6e4f;
  --sombra: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 40px -12px rgba(0, 0, 0, .14);
  --raio-g: 22px;
  --raio-m: 14px;
  --raio-p: 10px;
  --largura: 1120px;
  --mola: cubic-bezier(.2, .8, .2, 1);
  --fonte: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-titulo: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #000000;
    --fundo-2: #161617;
    --superficie: #1d1d1f;
    --texto: #f5f5f7;
    --texto-2: #b0b0b6;
    --texto-3: #8e8e93;
    --linha: #3a3a3c;
    --linha-suave: #2c2c2e;
    --acento: #3fbf8a;
    --acento-forte: #5fd3a2;
    --acento-texto: #00140c;
    --acento-suave: #0f2a20;
    --me: #5fd38a;
    --me-suave: #11291a;
    --tag: #8ab4ff;
    --tag-suave: #16233a;
    --urgente: #ff8a70;
    --erro: #ff7b6e;
    --erro-suave: #3a1512;
    --ok: #5fd3a2;
    --sombra: 0 1px 2px rgba(0, 0, 0, .5), 0 16px 48px -16px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
a, button, summary, label, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 17px/1.5 var(--fonte);
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--fonte-titulo); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--acento); }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 72px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pular {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--texto); color: var(--fundo); padding: 10px 14px; border-radius: var(--raio-p);
  text-decoration: none; font-weight: 600;
}
.pular:focus { top: 12px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  background: var(--acento); color: var(--acento-texto);
  border: 0; border-radius: 999px;
  font: 600 17px/1 var(--fonte); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s var(--mola);
}
.btn:hover { background: var(--acento-forte); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-peq { min-height: 36px; padding: 0 16px; font-size: 14px; }
.link-seta {
  font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
}
.link-seta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--fundo) 80%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--linha) 60%, transparent);
}
.topo-in {
  max-width: var(--largura); margin: 0 auto; padding: 0 24px; height: 56px;
  display: flex; align-items: center; gap: 24px;
}
.marca {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--texto); text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -.02em;
}
.marca-icone { width: 28px; height: 28px; flex: none; }
.marca-fundo { fill: var(--acento); }
.marca-traco { stroke: var(--acento-texto); }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: var(--texto-2); text-decoration: none; font-size: 14px; }
.menu a:hover { color: var(--texto); }

/* Hero */
.hero {
  max-width: var(--largura); margin: 0 auto; padding: 104px 24px 120px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center;
}
.foco {
  display: inline-block; margin-bottom: 22px; padding: 6px 12px;
  background: var(--acento-suave); color: var(--acento); border-radius: 999px;
  font-size: 14px; font-weight: 600;
}
.hero h1 {
  font-size: clamp(44px, 5.4vw, 72px); line-height: 1.03; letter-spacing: -.035em; font-weight: 700;
}
.hero-sub {
  margin-top: 24px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; color: var(--texto-2); max-width: 34em;
}
.hero-acoes { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-prova { margin-top: 28px; font-size: 14px; color: var(--texto-3); max-width: 40em; }

/* Caixa de entrada ilustrativa */
.caixa {
  background: var(--superficie); border: 1px solid var(--linha-suave); border-radius: var(--raio-g);
  box-shadow: var(--sombra); overflow: hidden;
}
.caixa-barra { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--linha-suave); }
.caixa-barra span { width: 11px; height: 11px; border-radius: 50%; background: var(--linha); }
.caixa-titulo { padding: 16px 20px 8px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.caixa-msg { padding: 14px 20px 16px 34px; border-top: 1px solid var(--linha-suave); position: relative; }
.caixa-msg:first-of-type { border-top: 0; }
.caixa-de { display: flex; align-items: center; font-weight: 650; font-size: 15px; }
.caixa-de time { margin-left: auto; font-weight: 400; color: var(--texto-3); font-size: 13px; }
.ponto {
  position: absolute; left: 14px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--acento);
}
.caixa-assunto { font-size: 15px; margin-top: 2px; }
.caixa-previa {
  font-size: 14px; color: var(--texto-3); margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.caixa-msg.nova { background: color-mix(in srgb, var(--acento-suave) 55%, transparent); }
.fantasma i { display: block; height: 10px; border-radius: 5px; background: var(--fundo-2); margin-top: 8px; }
.fantasma i:nth-child(1) { width: 38%; margin-top: 2px; }
.fantasma i:nth-child(2) { width: 72%; }
.fantasma i:nth-child(3) { width: 88%; }

/* Seções */
.secao { max-width: var(--largura); margin: 0 auto; padding: 112px 24px; }
.secao + .secao { border-top: 1px solid var(--linha-suave); }
.hero + .secao { border-top: 1px solid var(--linha-suave); }
.cab { max-width: 680px; margin-bottom: 56px; }
.cab h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.cab p { margin-top: 14px; font-size: 20px; line-height: 1.45; color: var(--texto-2); }

/* Passos */
.passos {
  list-style: none; margin: 0; padding: 0; counter-reset: passo;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px;
}
.passos li { counter-increment: passo; position: relative; padding-top: 20px; border-top: 2px solid var(--texto); }
.passos li::before {
  content: counter(passo); display: block; margin-bottom: 18px;
  font: 700 44px/1 var(--fonte-titulo); letter-spacing: -.03em; color: var(--acento);
  font-variant-numeric: tabular-nums;
}
.passos h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; font-weight: 650; }
.passos p { margin-top: 10px; color: var(--texto-2); }

/* Amostra do e-mail */
.amostra { padding-bottom: 96px; }
.email {
  margin: 0 auto; max-width: 720px;
  background: var(--fundo-2); border: 1px solid var(--linha-suave); border-radius: var(--raio-g);
  box-shadow: var(--sombra); overflow: hidden;
}
.email-cab { background: var(--superficie); border-bottom: 1px solid var(--linha-suave); padding: 14px 22px; }
.email-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; color: var(--texto-2); }
.email-meta b { color: var(--texto-3); font-weight: 500; margin-right: 6px; }
.email-corpo { padding: 28px 22px 24px; }
.email-data { font-size: 13px; color: var(--texto-3); }
.email-titulo { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.email-intro { font-size: 15px; color: var(--texto-2); margin-top: 6px; line-height: 1.45; }
.licitacoes { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.licitacao {
  background: var(--superficie); border: 1px solid var(--linha-suave); border-radius: var(--raio-m);
  padding: 18px 20px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag {
  display: inline-block; background: var(--tag-suave); color: var(--tag);
  border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 500;
}
.tag-me { background: var(--me-suave); color: var(--me); }
.obj { font-size: 16px; font-weight: 600; line-height: 1.35; }
.orgao { margin-top: 6px; font-size: 14px; color: var(--texto-2); }
.orgao b { color: var(--texto); font-weight: 600; }
.fatos { margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; }
.fatos div { min-width: 0; }
.fatos dt { font-size: 12px; color: var(--texto-3); }
.fatos dd { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.faltam { font-weight: 400; color: var(--texto-3); }
.docs { margin-top: 14px; }
.docs-tit { font-size: 12px; color: var(--texto-3); margin-bottom: 6px; }
.docs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.docs li {
  font-size: 13px; line-height: 1.3; padding: 4px 9px; border-radius: 8px;
  background: var(--fundo-2); color: var(--texto-2);
}
.docs li.extra { display: none; }
.docs ul:has(details[open]) li.extra { display: block; animation: abrir .3s var(--mola) backwards; }
.docs li.mais { padding: 0; background: transparent; }
.docs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 28px; min-width: 40px;
  justify-content: center; padding: 3px 10px; border: 1px solid var(--linha); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--texto-2); transition: border-color .2s, color .2s;
}
.docs summary::-webkit-details-marker { display: none; }
.docs summary:hover { border-color: var(--acento); color: var(--acento); }
.docs details .mais-aberto, .docs details[open] .mais-fechado { display: none; }
.docs details[open] .mais-aberto { display: inline; }
.docs details[open] .sr.mais-aberto { display: block; }
.edital {
  display: inline-flex; align-items: center; margin-top: 14px; min-height: 36px; padding: 0 16px;
  background: #0071e3; color: #fff; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500;
}
.edital:hover { background: #0062c4; }
@media (prefers-color-scheme: dark) {
  .edital { background: #2997ff; color: #001b33; }
  .edital:hover { background: #57adff; }
}
.email-mais { margin-top: 16px; font-size: 14px; color: var(--texto-3); text-align: center; }
.fonte {
  padding: 14px 22px; border-top: 1px solid var(--linha-suave); background: var(--superficie);
  font-size: 13px; color: var(--texto-3); line-height: 1.5;
}

/* Preço */
.preco {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  background: var(--fundo-2); border-radius: 28px; padding: 64px;
}
.preco h2 { font-size: 17px; font-weight: 600; color: var(--texto-2); letter-spacing: -.01em; }
.preco-gratis {
  margin-top: 10px; font: 700 clamp(40px, 5vw, 60px)/1.02 var(--fonte-titulo); letter-spacing: -.035em;
}
.preco-depois { margin-top: 14px; font-size: 22px; color: var(--texto-2); }
.preco-depois strong { color: var(--texto); font-weight: 700; }
.preco-nota { margin-top: 8px; color: var(--texto-2); max-width: 30em; }
.lancamento {
  margin-top: 20px; max-width: 30em; padding: 14px 16px 14px 18px;
  background: var(--acento-suave); color: var(--texto); border-left: 3px solid var(--acento); border-radius: 4px 12px 12px 4px;
  font-size: 15px; line-height: 1.45;
}
.lancamento-form { margin: 0 0 28px; max-width: none; }
.preco .btn { margin-top: 28px; }
.preco-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.preco-lista li {
  display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--linha);
}
.preco-lista li:last-child { border-bottom: 0; }
.preco-lista li::before {
  content: ""; flex: none; width: 14px; height: 8px; transform: translateY(-3px) rotate(-45deg);
  border-left: 2.5px solid var(--acento); border-bottom: 2.5px solid var(--acento);
}

/* Perguntas */
.faq { max-width: 780px; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 20px; font-weight: 600; letter-spacing: -.015em;
}
.faq summary:hover { color: var(--acento); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--texto-3); border-bottom: 2px solid var(--texto-3);
  transform: rotate(45deg); transition: transform .3s var(--mola);
}
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--texto-2); max-width: 40em; }
.faq details[open] p { animation: abrir .35s var(--mola) backwards; }
@keyframes abrir { from { opacity: 0; transform: translateY(-4px); } }

/* Cadastro */
.cadastro .cab { margin-left: auto; margin-right: auto; text-align: center; }
#cadastro {
  max-width: 720px; margin: 0 auto; padding: 40px;
  background: var(--superficie); border: 1px solid var(--linha-suave); border-radius: var(--raio-g);
  box-shadow: var(--sombra);
}
.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.largo { grid-column: 1 / -1; }
.campo { margin-bottom: 18px; }
.campo label, .nichos legend { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.opcional { font-weight: 400; color: var(--texto-3); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 17px/1.35 var(--fonte); color: var(--texto);
  background: var(--fundo); border: 1px solid var(--linha); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
textarea { resize: vertical; min-height: 88px; }
::placeholder { color: var(--texto-3); opacity: .8; }
input:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--acento);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento) 22%, transparent);
}
[aria-invalid="true"] { border-color: var(--erro) !important; }
input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 4px color-mix(in srgb, var(--erro) 22%, transparent); }
.erro { color: var(--erro); font-size: 14px; margin-top: 6px; }
.erro:empty { display: none; }
.dica { color: var(--texto-3); font-size: 14px; margin-top: 6px; }
.dica.centro { text-align: center; margin-top: 12px; }
.lgpd { margin: 8px 0 0 32px; }
.obrigado { max-width: 640px; margin: 0 auto; padding: 120px 24px 140px; text-align: center; }
.obrigado .selo { width: 64px; height: 64px; margin: 0 auto 28px; display: block; }
.obrigado h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em; }
.obrigado p { margin-top: 16px; font-size: 20px; color: var(--texto-2); }
.obrigado .btn { margin-top: 36px; }
@media (max-width: 560px) { .obrigado { padding: 72px 16px 96px; } .lgpd { margin-left: 0; } }

.nichos { border: 0; padding: 0; margin: 4px 0 18px; min-width: 0; }
.nichos legend { padding: 0; }
.opcao {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  padding: 12px 14px; border: 1px solid var(--linha); border-radius: 12px; margin-bottom: 10px;
  transition: border-color .2s, background-color .2s;
}
.opcao:has(input:checked) { border-color: var(--acento); background: var(--acento-suave); }
.nichos[aria-invalid="true"] .opcao { border-color: var(--erro); }
.opcao input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acento); cursor: pointer;
}
.opcao span { font-size: 16px; }
.aceite { border: 0; padding: 4px 0; margin: 8px 0 0; }
.aceite:has(input:checked) { background: transparent; }
.aceite span { font-size: 15px; color: var(--texto-2); }

.status {
  margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 15px;
  background: var(--fundo-2); color: var(--texto);
}
.status.ok { background: var(--acento-suave); color: var(--ok); font-weight: 600; }
.status.falha { background: var(--erro-suave); color: var(--erro); }
.btn-enviar { width: 100%; margin-top: 24px; min-height: 52px; }

/* Rodapé */
.rodape { border-top: 1px solid var(--linha-suave); background: var(--fundo-2); }
.rodape-in {
  max-width: var(--largura); margin: 0 auto; padding: 28px 24px 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 13px; color: var(--texto-3);
}

/* Movimento: uma entrada no hero e os cartões do e-mail aparecendo em sequência */
@media (prefers-reduced-motion: no-preference) {
  .hero-texto > * { animation: subir .8s var(--mola) backwards; }
  .hero-texto > :nth-child(2) { animation-delay: .06s; }
  .hero-texto > :nth-child(3) { animation-delay: .12s; }
  .hero-texto > :nth-child(4) { animation-delay: .18s; }
  .hero-texto > :nth-child(5) { animation-delay: .24s; }
  .caixa { animation: subir 1s .2s var(--mola) backwards; }
  .caixa-msg.nova { animation: chegar .7s .9s var(--mola) backwards; }
  .js .licitacao { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--mola), transform .6s var(--mola); }
  .js .visivel .licitacao { opacity: 1; transform: none; }
  .js .visivel .licitacao:nth-child(2) { transition-delay: .08s; }
  .js .visivel .licitacao:nth-child(3) { transition-delay: .16s; }
  .js .visivel .licitacao:nth-child(4) { transition-delay: .24s; }
}
@keyframes subir { from { opacity: 0; transform: translateY(18px); } }
@keyframes chegar { from { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Responsivo */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 72px; padding-bottom: 88px; }
  .caixa { max-width: 520px; }
  .preco { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 48px 40px; }
}
@media (max-width: 760px) {
  .menu { display: none; }
  .topo-in { justify-content: space-between; }
  .passos { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .secao { padding: 80px 20px; }
  .hero { padding: 56px 20px 72px; }
  .topo-in { padding: 0 20px; }
  .cab { margin-bottom: 36px; }
  .cab p { font-size: 18px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 42px; }
  .hero-sub { font-size: 18px; }
  .hero-acoes .btn { width: 100%; }
  .hero-acoes { justify-content: center; }
  .secao { padding: 64px 16px; }
  .hero { padding: 40px 16px 64px; }
  .topo-in { padding: 0 16px; }
  .email { margin: 0 -8px; border-radius: 18px; }
  .email-cab { padding: 12px 16px; }
  .email-corpo { padding: 22px 12px 18px; }
  .email-titulo { font-size: 22px; }
  .licitacao { padding: 16px; }
  .fatos { grid-template-columns: minmax(0, 1fr); }
  .fatos div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
  .fatos dd { text-align: right; }
  .fonte { padding: 12px 16px; }
  .preco { padding: 36px 22px; border-radius: 22px; }
  .preco-depois { font-size: 20px; }
  .preco .btn { width: 100%; }
  .faq summary { font-size: 18px; padding: 18px 36px 18px 0; }
  #cadastro { padding: 24px 18px; border-radius: 18px; }
  .grade { grid-template-columns: minmax(0, 1fr); }
  .rodape-in { flex-direction: column; }
}
.pagina-curta { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.pagina-curta main { flex: 1; width: 100%; }
