/* The contact is always visible; no scroll, device or footer visibility states. */
body > a.sf-whatsapp-cta {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 48px;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: #0b7f43;
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(6,62,35,.55);
  font: 700 14px/1.3 "Hanken Grotesk", Arial, sans-serif;
  white-space: nowrap;
  text-decoration: none;
  direction: ltr;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: background .2s;
  touch-action: manipulation;
}
body > a.sf-whatsapp-cta svg { flex: none; width: 22px; height: 22px; }
body > a.sf-whatsapp-cta:hover,
body > a.sf-whatsapp-cta:focus-visible { background: #086537; color: #fff; }
body > a.sf-whatsapp-cta:focus-visible { outline: 3px solid #075e54; outline-offset: 4px; }
/* The CTA is fixed to the viewport, so it does not need extra page or footer height. */
body.sf-has-whatsapp .sf-site-footer { padding-bottom: 0 !important; }
body.sf-has-whatsapp .sf-site-footer__bottom { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important; }
body.sf-has-whatsapp .sf-site-footer__policies > span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  line-height: 1.55;
  color: #dfe2e6;
}
body.sf-has-whatsapp .sf-site-footer__assurances > * {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
}
body.sf-has-whatsapp .sf-site-footer__assurances > :first-child { border-left: 0; padding-left: 0; }
body.sf-has-whatsapp .sf-site-footer__assurances > :not(:first-child) {
  border-left: 1px solid var(--sf-foot-line);
  padding-left: 24px;
}
@media (max-width: 1050px) {
  body.sf-has-whatsapp .sf-site-footer__assurances > * {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 11px;
  }
  body.sf-has-whatsapp .sf-site-footer__assurances > :not(:first-child) { padding-left: 18px; }
}
@media (max-width: 900px) {
  body.sf-has-whatsapp .sf-site-footer__assurances > *,
  body.sf-has-whatsapp .sf-site-footer__assurances > :first-child,
  body.sf-has-whatsapp .sf-site-footer__assurances > :not(:first-child) {
    border-left: 0;
    border-top: 1px solid var(--sf-foot-line);
    padding: 18px 0 0;
  }
}
@media (max-width: 680px) {
  body.sf-has-whatsapp .sf-site-footer__assurances > * {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-left: 0;
    border-top: 1px solid var(--sf-foot-line);
    padding: 12px 0 0;
  }
  body.sf-has-whatsapp .sf-site-footer__assurances > :not(:first-child) { border-left: 0; padding-left: 0; }
  body.sf-has-whatsapp .sf-site-footer__assurances > :first-child { padding-top: 12px; }
}
@media (min-width: 1051px) {
  body.sf-has-whatsapp .sf-site-footer__main {
    grid-template-columns: 1.22fr 1fr 1fr 1fr;
    grid-auto-flow: row;
    column-gap: 38px;
    row-gap: 30px;
    align-items: start;
  }
  body.sf-has-whatsapp .sf-site-footer__brand { grid-column: 1; grid-row: 1; }
  body.sf-has-whatsapp .sf-site-footer__menu--ia { grid-column: auto; grid-row: 1; }
  body.sf-has-whatsapp .sf-site-footer__contact {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .8fr);
    align-items: center;
    gap: 2px 24px;
  }
  body.sf-has-whatsapp .sf-site-footer__contact h2 { grid-column: 1 / -1; margin-bottom: 2px; }
  body.sf-has-whatsapp .sf-site-footer__contact-link,
  body.sf-has-whatsapp .sf-site-footer__wechat { margin-top: 0 !important; }
  body.sf-has-whatsapp .sf-site-footer__contact-link + .sf-site-footer__contact-link strong { white-space: nowrap; overflow-wrap: normal; }
}
@media (min-width: 1181px) {
  .sf-header .sf-header__nav { align-items: center !important; flex-wrap: nowrap; }
  .sf-header .sf-header__nav > .sf-menu-group,
  .sf-header .sf-header__nav > .sf-menu-link { align-self: center; display: flex; align-items: center; height: 44px; }
  .sf-header .sf-header__nav .sf-menu-trigger,
  .sf-header .sf-header__nav > .sf-menu-link {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    height: 44px;
    padding-block: 0 !important;
    margin-block: 0 !important;
    line-height: 20px !important;
  }
}
body.sf-has-whatsapp .toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) {
  body > a.sf-whatsapp-cta { transition: none; }
}
