
.pkp_footer_content { padding: 0 !important; background: transparent !important; }
.pkp_structure_footer_wrapper,
.pkp_structure_footer { padding: 0 !important; margin: 0 !important; background: transparent !important; }
.pkp_structure_page { padding-bottom: 0 !important; }

.qtf {
  --qtf-accent: #4b7d92;
  --qtf-accent-dark: #35596a;
  --qtf-bg: #ffffff;
  --qtf-bg-bottom: #e0e8ef;
  --qtf-text: #2c3a45;
  --qtf-title: #16242e;

  width: 100%;
  margin: 0;

  background: var(--qtf-bg);
  color: var(--qtf-text);
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 4px solid var(--qtf-accent);
}

.qtf-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem) 2rem;
}

.qtf-title {
  color: var(--qtf-title);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--qtf-accent);
  display: inline-block;
}

.qtf-col p { margin: 0 0 0.75rem; }

.qtf-sub {
  color: var(--qtf-accent-dark);
  font-style: italic;
  margin-top: -0.5rem;
}

.qtf a {
  color: var(--qtf-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.qtf a:hover,
.qtf a:focus {
  color: var(--qtf-accent-dark);
  text-decoration: underline;
}

.qtf-list { list-style: none; margin: 0; padding: 0; }

.qtf-list li {
  margin: 0 0 0.5rem;
  padding-left: 0.9rem;
  position: relative;
}

.qtf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--qtf-accent);
  border-radius: 50%;
}

.qtf-licenca img {
  display: block;
  margin-bottom: 0.5rem;
  border-radius: 3px;
}

/* Link do logo em bloco: título sempre acima do logo */
.qtf-org-link { display: block; }

.qtf-org-logo {
  display: block;
  max-width: 140px;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  background: #ffffff;
  padding: 4px;
  border: 1px solid #dde5ea;
}

.qtf-org-nome { font-weight: 700; font-size: 1rem; }

.qtf-apoio { font-size: 0.8rem; color: #5a6b77; }

.qtf-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.qtf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--qtf-accent);
  font-size: 0;
  line-height: 0;
}

.qtf-social a:hover {
  background: var(--qtf-accent-dark);
  text-decoration: none;
}

.qtf-social a::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: #ffffff;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}

.qtf-ico-fb::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8h2.7l.4-3.1h-3.1V7.9c0-.9.3-1.5 1.6-1.5h1.6V3.6c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.4H7.8V13h2.7v8h3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8h2.7l.4-3.1h-3.1V7.9c0-.9.3-1.5 1.6-1.5h1.6V3.6c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.4H7.8V13h2.7v8h3z'/%3E%3C/svg%3E");
}

.qtf-ico-yt::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.2 5 12 5 12 5s-6.2 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8C5.8 19 12 19 12 19s6.2 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15.5v-7l6 3.5-6 3.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.2 5 12 5 12 5s-6.2 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8C5.8 19 12 19 12 19s6.2 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15.5v-7l6 3.5-6 3.5z'/%3E%3C/svg%3E");
}

.qtf-ico-ig::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2c2.7 0 3 0 4.1.1 1 0 1.7.2 2.3.4.6.2 1.1.6 1.6 1.1.5.5.8 1 1.1 1.6.2.6.4 1.3.4 2.3.1 1.1.1 1.4.1 4.1s0 3-.1 4.1c0 1-.2 1.7-.4 2.3a4.6 4.6 0 0 1-2.7 2.7c-.6.2-1.3.4-2.3.4-1.1.1-1.4.1-4.1.1s-3 0-4.1-.1c-1 0-1.7-.2-2.3-.4a4.6 4.6 0 0 1-2.7-2.7c-.2-.6-.4-1.3-.4-2.3C2 15 2 14.7 2 12s0-3 .1-4.1c0-1 .2-1.7.4-2.3.2-.6.6-1.1 1.1-1.6.5-.5 1-.8 1.6-1.1.6-.2 1.3-.4 2.3-.4C8.5 2 8.8 2 12 2zm0 1.8c-2.7 0-3 0-4 .1-1 0-1.5.2-1.9.3-.5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