/* Rodapé institucional, baseado no rodapé público da NAPSE em 22/10/2026.
   Todos os seletores ficam restritos ao componente. */
.napse-footer {
  --footer-primary: #40669c;
  --footer-green: #448268;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
  color: #d4d4d4;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
.napse-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 430px 380px at 0 0, rgb(64 102 156 / .1), transparent 75%),
              radial-gradient(ellipse 430px 380px at 100% 100%, rgb(64 102 156 / .1), transparent 75%);
}
.napse-footer::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .15) 20%, rgb(255 255 255 / .2) 50%, rgb(255 255 255 / .15) 80%, transparent);
}
.napse-footer *, .napse-footer *::before, .napse-footer *::after { box-sizing: border-box; }
.napse-footer p, .napse-footer h2, .napse-footer ul { margin: 0; }
.napse-footer ul { padding: 0; list-style: none; }
.napse-footer a { color: inherit; text-decoration: none; text-underline-offset: 4px; transition: color 180ms, border-color 180ms, background-color 180ms, transform 180ms, box-shadow 180ms; }
.napse-footer a:hover { color: #7c9dcc; }
.napse-footer a:focus-visible { outline: 2px solid #91b6e9; outline-offset: 5px; }
.napse-footer svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.napse-footer img { display: block; max-width: 100%; }
.napse-footer-shell { width: min(100%, 1440px); padding-inline: 32px; margin-inline: auto; }
.napse-footer-main { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 112px; padding-bottom: 80px; }
.napse-footer-main > * { min-width: 0; }
.napse-footer-logo { display: inline-flex; margin-bottom: 20px; }
.napse-footer-logo img { width: auto; height: 36px; filter: brightness(0) invert(1); }
.napse-footer .napse-footer-tagline { color: #fff; font-size: 16px; font-weight: 600; }
.napse-footer-tagline span { color: var(--footer-primary); }
.napse-footer .napse-footer-description { margin-top: 12px; max-width: 448px; color: #a3a3a3; font-size: 14px; line-height: 1.625; }
.napse-footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.napse-footer .napse-footer-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid rgb(255 255 255 / .15); border-radius: 12px; background: rgb(255 255 255 / .05); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; }
.napse-footer .napse-footer-button:hover { color: #9fbee8; border-color: #5679a9; }
.napse-footer .napse-footer-button-primary { position: relative; isolation: isolate; overflow: hidden; background: var(--footer-primary); border-color: transparent; }
.napse-footer-button-primary::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .15), transparent); transform: translateX(-110%); transition: transform 500ms ease-out; }
.napse-footer .napse-footer-button-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px -4px rgb(64 102 156 / .5); }
.napse-footer-button-primary:hover::after { transform: translateX(110%); }
.napse-footer .napse-footer-button-login { font-weight: 500; color: #d4d4d4; background: transparent; border-color: rgb(255 255 255 / .1); }
.napse-footer .napse-footer-heading { margin-bottom: 16px; color: rgb(255 255 255 / .6); font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; }
.napse-footer-contact { display: grid; gap: 16px; }
.napse-footer-contact li, .napse-footer-contact a { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.napse-footer-contact a { width: 100%; }
.napse-footer-contact strong { display: block; color: #fff; font-size: 14px; font-weight: 500; }
.napse-footer-contact small { display: block; color: #909090; font-size: 12px; line-height: 1.625; overflow-wrap: anywhere; }
.napse-footer-icon { display: flex; flex: 0 0 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / .1); border-radius: 8px; background: rgb(255 255 255 / .05); color: #a3a3a3; transition: background-color 180ms, border-color 180ms; }
.napse-footer-icon-blue, .napse-footer-blue { color: var(--footer-primary); }
.napse-footer-green { color: var(--footer-green); }
.napse-footer-contact a:hover .napse-footer-icon { background: rgb(64 102 156 / .1); border-color: rgb(64 102 156 / .5); }
.napse-footer-links { display: grid; gap: 10px; }
.napse-footer-links a { font-size: 14px; }
.napse-footer-features { display: grid; gap: 10px; color: #a3a3a3; }
.napse-footer-features li { position: relative; padding-left: 24px; }
.napse-footer-features li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 6px; height: 11px; border-right: 1.7px solid var(--footer-green); border-bottom: 1.7px solid var(--footer-green); transform: rotate(45deg); }
.napse-footer .napse-footer-platform { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; color: #7c9dcc; font-weight: 500; }
.napse-footer-platform svg { width: 16px; }
.napse-footer-band { border-top: 1px solid rgb(255 255 255 / .05); }
.napse-footer-secondary { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.napse-footer-secondary .napse-footer-heading { margin-bottom: 8px; color: rgb(255 255 255 / .5); }
.napse-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.napse-footer-inline-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.napse-footer-badges { display: flex; gap: 8px; }
.napse-footer-badges > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgb(255 255 255 / .1); border-radius: 8px; background: rgb(255 255 255 / .05); color: #a3a3a3; font-size: 12px; font-weight: 500; }
.napse-footer-social > a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .1); border-radius: 8px; background: rgb(255 255 255 / .05); }
.napse-footer-social svg { width: 20px; height: 20px; }
.napse-footer-payment { max-width: 360px; text-align: right; }
.napse-footer-payment-methods { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.napse-footer-payment-methods > span { padding: 4px 10px; border: 1px solid rgb(255 255 255 / .1); border-radius: 6px; background: rgb(255 255 255 / .05); color: #a3a3a3; font-size: 12px; font-weight: 500; }
.napse-footer-payment-methods img { width: auto; height: 20px; opacity: .7; }
.napse-footer .napse-footer-payment p { margin-top: 8px; font-size: 12px; line-height: 1.625; color: #909090; }
.napse-footer-bottom { box-shadow: 0 -1px 0 rgb(255 255 255 / .03); }
.napse-footer-copyright { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 20px; padding-bottom: 20px; font-size: 12px; color: #909090; }
.napse-footer-copyright > div { max-width: 448px; }
.napse-footer .napse-footer-copyright p + p { margin-top: 8px; }
.napse-footer .napse-footer-powered { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; border-radius: 6px; opacity: .65; transition: opacity 300ms; }
.napse-footer-powered img { width: auto; height: 14px; }
.napse-footer .napse-footer-powered:hover { opacity: 1; color: inherit; }
@media (max-width: 1100px) {
  .napse-footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 80px; padding-bottom: 64px; }
  .napse-footer-brand { grid-column: 1 / -1; }
  .napse-footer .napse-footer-description { max-width: 560px; }
  .napse-footer-secondary { flex-wrap: wrap; gap: 28px 40px; }
  .napse-footer-legal { flex: 1 1 60%; }
  .napse-footer-payment { text-align: left; max-width: 448px; }
  .napse-footer-payment-methods { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .napse-footer-shell { padding-inline: 24px; }
  .napse-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; padding-top: 64px; padding-bottom: 56px; }
  .napse-footer-main > div:last-child { grid-column: 1 / -1; }
  .napse-footer-secondary { padding-top: 32px; padding-bottom: 32px; }
  .napse-footer-legal { flex-basis: 100%; }
  .napse-footer-social { flex: 0 0 64px; }
  .napse-footer-payment { flex: 1 1 240px; }
  .napse-footer-copyright { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 440px) {
  .napse-footer-shell { padding-inline: 20px; }
  .napse-footer-main { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .napse-footer-main > * { grid-column: auto; }
  .napse-footer-actions { flex-direction: column; align-items: stretch; }
  .napse-footer .napse-footer-button { width: 100%; }
  .napse-footer-logo img { height: 32px; }
  .napse-footer-secondary { flex-direction: column; gap: 28px; }
  .napse-footer-legal, .napse-footer-social, .napse-footer-payment { flex: none; }
  .napse-footer-legal { align-items: flex-start; gap: 20px; }
  .napse-footer-copyright { text-align: center; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .napse-footer a, .napse-footer-icon, .napse-footer-button-primary::after { transition: none; }
  .napse-footer .napse-footer-button-primary:hover { transform: none; }
  .napse-footer-button-primary::after { display: none; }
}
