.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
}

.footer-social strong {
  margin: 0 0 2px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 4px 0;
  color: #d8e4e0;
  font-weight: 600;
}

.footer-social a:hover {
  color: #fff;
}

.footer-social a:focus-visible,
.whatsapp-float:focus-visible {
  outline: 3px solid #f4c94e;
  outline-offset: 3px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-social small {
  display: block;
  max-width: 250px;
  margin-top: 4px;
  color: #95aaa4;
  font-size: 11px;
  line-height: 1.45;
}

.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 15px 8px 9px;
  border: 1px solid rgba(7, 27, 24, .16);
  border-radius: 999px;
  background: #fff;
  color: #071b18;
  box-shadow: 0 10px 28px rgba(7, 27, 24, .18);
  font-size: 14px;
  font-weight: 700;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 32px rgba(7, 27, 24, .22);
}

.whatsapp-float img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

footer .legal {
  margin-bottom: 58px;
}

@media (max-width: 640px) {
  footer .legal {
    margin-bottom: 62px;
  }

  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 48px;
    min-height: 48px;
    padding: 8px;
    justify-content: center;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 360px) {
  .whatsapp-float {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}
