/**
 * Header e footer padronizados Fideliza Cliente — GestorPro
 * Fontes: Syne (títulos), DM Sans (corpo) — carregadas no HTML
 */
.gp-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #d9e6f2;
  font-family: "DM Sans", system-ui, sans-serif;
}
.gp-header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.gp-logo {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #1b3a6b;
  text-decoration: none;
}
.gp-logo span {
  color: #2b7bc8;
}
.gp-main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.gp-main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}
.gp-main-nav a:hover {
  color: #1b3a6b;
}
.gp-main-nav a.gp-nav-active {
  color: #2b7bc8;
}
.gp-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem !important;
  background: #1b3a6b !important;
  color: #ffffff !important;
  border-radius: 10px;
  font-weight: 600 !important;
}
.gp-btn-cta:hover {
  background: #152e56 !important;
  color: #ffffff !important;
}
.gp-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}
.gp-menu-btn span {
  display: block;
  height: 2px;
  width: 22px;
  background: #1b3a6b;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.gp-site-header.aberto .gp-menu-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.gp-site-header.aberto .gp-menu-btn span:nth-child(2) {
  opacity: 0;
}
.gp-site-header.aberto .gp-menu-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 899px) {
  .gp-menu-btn {
    display: flex;
  }
  .gp-main-nav {
    position: absolute;
    top: 100%;
    left: 1.25rem;
    right: 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #d9e6f2;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    box-shadow: 0 12px 24px rgba(27, 58, 107, 0.08);
  }
  .gp-main-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid #ebf4ff;
  }
  .gp-main-nav a:last-child {
    border-bottom: none;
  }
  .gp-site-header.aberto .gp-main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  body.gp-menu-aberto {
    overflow: hidden;
  }
}
.gp-toolbar-tools {
  background: #ebf4ff;
  border-bottom: 1px solid #d9e6f2;
  font-family: "DM Sans", system-ui, sans-serif;
}
.gp-toolbar-tools .gp-header-inner {
  min-height: 44px;
}
.gp-back-tools {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1b3a6b;
  text-decoration: none;
}
.gp-back-tools:hover {
  color: #2b7bc8;
}
.gp-site-footer {
  background: #0d1c35;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 1.5rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9rem;
}
.gp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.gp-footer-logo {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}
.gp-footer-logo span {
  color: #5b9bd5;
}
.gp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}
.gp-footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
}
.gp-footer-links a:hover {
  color: #ffffff;
}
.gp-footer-links a.gp-footer-active {
  color: #5b9bd5;
  font-weight: 700;
}
.gp-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
