/**
 * UpKate footer
 * Layout e tipografia contidos; a direção de arte definitiva será refinada depois.
 */
.site-footer {
  background: var(--uk-magenta, #b9476a);
  color: #fff;
  padding: clamp(3.75rem, 7vw, 6.5rem) 0 1.75rem;
}
.uk-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.8vw, 4.25rem);
}
.uk-footer-brand { min-width: 0; }
.site-footer .uk-footer-brand .uk-brand {
  display: inline-flex;
  width: 100%;
  max-width: 185px;
  margin-bottom: 1.5rem;
}
.uk-footer-brand .uk-brand img { width: 100%; height: auto; }
.uk-footer-description {
  max-width: 33ch;
  color: rgba(255,255,255,.88);
  font-size: .94rem;
  line-height: 1.75;
  margin: 0;
}
.uk-footer-heading {
  margin: .3rem 0 1.35rem;
  font-size: 1.1rem;
  letter-spacing: 0;
  line-height: 1.35;
  font-weight: 650;
  color: #fff;
}
.uk-footer-links {
  display: grid;
  gap: .85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.uk-footer-links li { min-width: 0; }
.uk-footer-links a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  text-underline-offset: .3em;
  font-size: .93rem;
  line-height: 1.5;
  transition: color .2s ease;
}
.uk-footer-links--contact a {
  display: inline-flex;
  align-items: flex-start;
  gap: .8rem;
  text-decoration: none;
}
.uk-footer-contact-icon {
  display: block;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: .13rem;
  color: #fff;
}
.uk-footer-links--contact a > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.uk-footer-links a:hover,
.uk-footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.uk-footer-bottom {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: .9rem 1.75rem;
  margin-top: clamp(3rem, 5vw, 5.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.28);
}
.uk-footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  margin: 0;
}
.site-footer .uk-footer-legal {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1.4rem;
}
.site-footer .uk-footer-legal a {
  color: rgba(255,255,255,.91);
  text-decoration: none;
  text-underline-offset: .3em;
  font-size: .82rem;
  line-height: 1.5;
}
.site-footer .uk-footer-legal a:hover,
.site-footer .uk-footer-legal a:focus-visible { text-decoration: underline; }

/* Voltar ao topo — alinhado ao WhatsApp, mas sem competir com o CTA. */
.uk-back-to-top {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: calc(max(1.25rem, env(safe-area-inset-bottom, 0px)) + 72px);
  z-index: 149;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: var(--uk-purple);
  color: var(--uk-white);
  box-shadow: 0 5px 18px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  cursor: pointer;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease,
    background-color .22s ease;
}
.uk-back-to-top[hidden] { display: none !important; }
.uk-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.uk-back-to-top:hover { background: var(--uk-magenta); }
.uk-back-to-top:focus-visible {
  outline: 3px solid var(--uk-magenta);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .uk-back-to-top {
    width: 56px;
    height: 56px;
    bottom: calc(max(1.25rem, env(safe-area-inset-bottom, 0px)) + 68px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .uk-back-to-top { transition: none; transform: none; }
}

@media (max-width: 1000px) {
  .uk-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .uk-footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .site-footer { padding-top: 3.5rem; }
  .uk-footer-heading { margin-bottom: .9rem; }
  .uk-footer-links { gap: .6rem; }
  .uk-footer-bottom { grid-template-columns: 1fr; align-items: start; }
  .site-footer .uk-footer-legal { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .uk-footer-links a { transition: none; }
}


/* Mobile: keep only WhatsApp floating, smaller than desktop. */
@media (max-width: 760px) {
  .uk-back-to-top { display: none !important; }
  .uk-whatsapp {
    width: 49px;
    height: 49px;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
  .uk-whatsapp svg { width: 24px; height: 24px; }
}


/* Respiro discreto do WhatsApp flutuante: somente o halo anima.
 * O botão e seu hover permanecem estáveis e clicáveis. */
.uk-whatsapp { isolation: isolate; }
.uk-whatsapp::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.5px solid rgba(37, 211, 102, .65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: scale(.96);
  animation: uk-whatsapp-breath 4.5s ease-out infinite;
}
@keyframes uk-whatsapp-breath {
  0%, 100% { opacity: 0; transform: scale(.96); }
  18% { opacity: .6; transform: scale(1.01); }
  65% { opacity: 0; transform: scale(1.24); }
}
@media (prefers-reduced-motion: reduce) {
  .uk-whatsapp::after { animation: none; display: none; }
}
