/* Emissor NFS-e Nacional — página de apresentação. Sistema desenvolvido por Weberton Neves de Paula. */
@font-face { font-family: "Inter"; src: url("inter-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("interdisplay-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --marinho: #06182b;
  --marinho-2: #0b2a47;
  --azul: #0f4c75;
  --verde: #22c7a0;
  --verde-esc: #13997a;
  --zap: #1fa855;
  --zap-esc: #178a45;
  --texto: #14202c;
  --suave: #4c5d6e;
  --linha: #dfe6ee;
  --fundo: #ffffff;
  --fundo-2: #f3f7fa;
  --raio: 14px;
  --sombra: 0 18px 50px rgba(6, 24, 43, .18), 0 2px 8px rgba(6, 24, 43, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", "Segoe UI", system-ui, sans-serif; color: var(--texto); background: var(--fundo); line-height: 1.6; font-size: 17px; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: "Inter Display", "Inter", system-ui, sans-serif; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.largura { width: min(1180px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 6px; }

/* botões */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.35em; border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: 1rem; line-height: 1.2; transition: transform .15s, background .15s, box-shadow .15s; }
.btn svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn-zap { background: var(--zap); color: #fff; box-shadow: 0 8px 24px rgba(31, 168, 85, .35); }
.btn-zap:hover { background: var(--zap-esc); }
.btn-claro { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-claro:hover { background: rgba(255, 255, 255, .18); }
.btn-peq { padding: .6em 1.05em; font-size: .92rem; box-shadow: none; }
.btn-grande { font-size: 1.12rem; padding: 1em 1.7em; }

/* topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(6, 24, 43, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topo-linha { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.logo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--azul); color: #fff;
  font-weight: 700; font-size: 17px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: #c9d8e6; text-decoration: none; font-size: .95rem; font-weight: 600; }
.menu a:hover { color: #fff; }

/* herói */
.heroi { background: radial-gradient(1100px 520px at 18% 10%, rgba(34, 199, 160, .22), transparent 60%),
  radial-gradient(900px 600px at 95% 90%, rgba(15, 76, 117, .55), transparent 60%), linear-gradient(160deg, var(--marinho-2), var(--marinho));
  color: #fff; padding: 72px 0 84px; overflow: hidden; }
.heroi-grade { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.selo { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--verde);
  background: rgba(34, 199, 160, .12); border: 1px solid rgba(34, 199, 160, .35); padding: .35em .85em; border-radius: 999px; }
.heroi h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin-top: .5em; }
.heroi h1 span { color: var(--verde); }
.sub { color: #c9d8e6; font-size: 1.12rem; max-width: 34em; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.nota { color: #93aac0; font-size: .92rem; }
.heroi-tela { margin: 0; }
.heroi-tela img { border-radius: var(--raio); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.heroi-tela figcaption { color: #93aac0; font-size: .82rem; margin-top: 10px; text-align: right; }

/* vídeo */
.faixa-video { background: var(--fundo-2); padding: 80px 0; text-align: center; }
.lead { color: var(--suave); font-size: 1.1rem; max-width: 40em; margin: 0 auto 28px; }
.video { max-width: 1000px; margin: 0 auto; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; }
.aviso { color: var(--suave); font-size: .88rem; margin-top: 16px; }

/* passos */
.passos { padding: 88px 0 40px; display: grid; gap: 80px; }
.passo { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.passo.inverso .passo-texto { order: 2; }
.passo img { border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid var(--linha); }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--verde); color: var(--marinho);
  font-weight: 700; margin-bottom: 14px; }
.passo h3 { font-family: "Inter Display", "Inter", system-ui, sans-serif; font-size: clamp(1.45rem, 2.6vw, 1.9rem); letter-spacing: -.01em; }
.passo p { color: var(--suave); font-size: 1.06rem; }

/* recursos */
.recursos { padding: 80px 0; }
.recursos h2 { text-align: center; margin-bottom: 40px; }
.grade-recursos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grade-recursos li { background: var(--fundo-2); border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px 22px 8px; }
.grade-recursos li::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--verde); margin-bottom: 14px; }
.grade-recursos p { color: var(--suave); font-size: .98rem; }

/* assinar */
.assinar { padding: 40px 0 80px; }
.assinar h2 { text-align: center; margin-bottom: 36px; }
.etapas { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.etapas li { border: 1px solid var(--linha); border-radius: var(--raio); padding: 24px; position: relative; background: #fff; }
.etapas span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--azul); color: #fff;
  font-weight: 700; margin-bottom: 12px; }
.etapas p { color: var(--suave); margin: 0; }
.requisitos { background: var(--marinho); color: #fff; border-radius: var(--raio); padding: 28px 32px; }
.requisitos ul { margin: 0; padding-left: 1.2em; color: #c9d8e6; }
.requisitos li { margin: .35em 0; }

/* dúvidas */
.duvidas { padding: 0 0 88px; max-width: 860px; }
.duvidas h2 { text-align: center; margin-bottom: 28px; }
details { border-bottom: 1px solid var(--linha); padding: 4px 0; }
summary { cursor: pointer; font-weight: 700; padding: 16px 32px 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--verde-esc); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--suave); padding-right: 32px; }

/* chamada final */
.chamada { background: linear-gradient(160deg, var(--marinho-2), var(--marinho)); color: #fff; padding: 80px 0; text-align: center; }
.chamada h2 span { color: var(--verde); }
.chamada p { color: #93aac0; margin: 20px 0 0; }
.chamada-conteudo { display: flex; flex-direction: column; align-items: center; }

/* rodapé */
.rodape { background: #041120; color: #8aa1b6; font-size: .9rem; padding: 26px 0 90px; }
.rodape-linha { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.rodape p { margin: 0; }
.rodape strong { color: #c9d8e6; }

/* botão flutuante */
.zap-flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 8px; background: var(--zap);
  color: #fff; text-decoration: none; font-weight: 700; padding: 13px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.zap-flutuante:hover { background: var(--zap-esc); }
.zap-flutuante svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* telas menores */
@media (max-width: 960px) {
  .menu { display: none; }
  .topo-linha { justify-content: space-between; }
  .heroi { padding: 48px 0 56px; }
  .heroi-grade, .passo { grid-template-columns: 1fr; gap: 32px; }
  .passo.inverso .passo-texto { order: 0; }
  .passos { gap: 56px; padding-top: 64px; }
  .grade-recursos, .etapas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topo .btn-peq { display: none; }
  .acoes .btn { width: 100%; justify-content: center; }
  .grade-recursos, .etapas { grid-template-columns: 1fr; }
  .faixa-video, .recursos, .chamada { padding: 56px 0; }
  .requisitos { padding: 22px; }
  .zap-flutuante span { display: none; }
  .zap-flutuante { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
