[data-layout] {
  width: 100%;
  align-items: stretch;
}
[data-layout="mobile"] {
  display: none;
}
[data-layout="desktop"] > .vx-section,
[data-layout="desktop"] > footer {
  width: 100%;
  padding-left: max(
    var(--vx-sections-0),
    calc((100% - var(--vx-sections-1)) / 2)
  );
  padding-right: max(
    var(--vx-sections-2),
    calc((100% - var(--vx-sections-3)) / 2)
  );
}
[data-layout="desktop"] > .vx-section > [data-name="Header"],
[data-layout="desktop"] > .vx-section > [data-name="Hero"] {
  width: 100%;
  max-width: var(--vx-sections-4);
}
[data-name="proof-band"] {
  white-space: nowrap;
}
[data-layout="desktop"] [data-name="background"] {
  width: 100%;
}
[data-layout="desktop"]
  [data-name="background"]
  > [data-name="stylish-female-executives-managers-discussing-financial-accounting-papers-using-digital-tablet 1"] {
  width: 100%;
}
[data-layout="desktop"] [data-name="background"] > div:nth-child(2) {
  width: 100%;
}
[data-layout="desktop"] [data-name="Formulário"] {
  min-width: 0;
}
[data-layout="desktop"] footer [data-name="Brand"] {
  flex-shrink: 1;
}
[data-layout="desktop"] footer [data-name="Col · Navegação"],
[data-layout="desktop"] footer [data-name="Col · Áreas"] {
  flex-shrink: 1;
}
[data-layout="desktop"] footer [data-name="Row"] {
  gap: var(--vx-sections-5);
  flex-wrap: wrap;
}
[data-name="Envio"] > p {
  white-space: normal;
}
.vx-sticky {
  position: fixed !important;
  top: auto !important;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  padding-bottom: calc(var(--vx-sections-6) + env(safe-area-inset-bottom));
  box-shadow: 0 var(--vx-sections-7) var(--vx-sections-8) var(--vx-sections-9);
}
@media (min-width: 901px) and (max-width: 1400px) {
  [data-layout="desktop"] .vx-section {
    padding-top: var(--vx-sections-12);
    padding-bottom: var(--vx-sections-13);
  }
  [data-layout="desktop"] .vx-section [data-name="text-content"],
  [data-layout="desktop"] .vx-section [data-name="Content"],
  [data-layout="desktop"] [data-name="Container"] {
    max-width: 100%;
  }
  [data-layout="desktop"] .vx-section [data-name="text-content"] > *,
  [data-layout="desktop"] .vx-section [data-name="Content"] > *,
  [data-layout="desktop"] .vx-section [data-name="Container"] > * {
    min-width: 0;
    flex-shrink: 1;
  }
  [data-layout="desktop"] [data-name="section-areas"] [data-name="Content"] {
    gap: var(--vx-sections-14);
  }
  [data-layout="desktop"] [data-name="section-faq"] > [data-name="Heading"],
  [data-layout="desktop"]
    [data-name="section-contato"]
    > [data-name="Heading"] {
    width: 32%;
    flex-shrink: 1;
  }
  [data-layout="desktop"] [data-name="section-contato"] {
    gap: var(--vx-sections-16);
  }
  [data-layout="desktop"] [data-name="Nav"] {
    gap: var(--vx-sections-17);
  }
  [data-layout="desktop"] footer [data-name="Top"] {
    gap: var(--vx-sections-18);
    flex-wrap: wrap;
  }
  [data-layout="desktop"] footer [data-name="Brand"] {
    width: 30%;
  }
  [data-layout="desktop"] [data-name="tópicos"] {
    gap: var(--vx-sections-19);
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  [data-layout="desktop"] [data-name="Nav"] {
    display: none;
  }
  [data-layout="desktop"] [data-anchor="contexto"] [data-name="text-content"] {
    flex-direction: column;
    gap: var(--vx-sections-23);
  }
  [data-layout="desktop"]
    [data-anchor="contexto"]
    [data-name="text-content"]
    > * {
    width: 100%;
  }
}
@media (max-width: 900px) {
  [data-layout="desktop"] {
    display: none;
  }
  [data-layout="mobile"] {
    display: flex;
  }
  [data-layout="mobile"] > .vx-section {
    width: 100%;
  }
  [data-layout="mobile"] > footer {
    width: 100%;
  }
  [data-layout="mobile"] .vx-section p {
    max-width: 100%;
    white-space: normal;
  }
  [data-layout="mobile"] [data-name="proof-band"] p {
    white-space: nowrap;
  }
  [data-layout="mobile"] [data-name="Legal"] p,
  [data-layout="mobile"] [data-name="Checkbox"] p {
    width: auto;
    max-width: 100%;
  }
  [data-layout="mobile"] [data-name="Chip"] p {
    white-space: normal;
  }
  [data-layout="mobile"] [data-name="Field"] {
    width: 100%;
  }
  [data-layout="mobile"] [data-name="Formulário"] {
    width: 100%;
  }
  .vx-faq > summary {
    gap: var(--vx-sections-25);
  }
  [data-layout="mobile"] [data-name="HeaderMobile"] {
    width: 100%;
  }
}
.vx-faq,
.vx-service {
  display: block;
}
[data-anchor="inicio"] [data-name="Icon badge"] img {
  filter: brightness(0) saturate(100%) invert(78%) sepia(72%) saturate(742%)
    hue-rotate(340deg) brightness(100%) contrast(89%);
}
.vx-proof {
  position: relative;
  gap: 0;
}
.vx-proof-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: vx-marquee 40s linear infinite;
}
.vx-proof-group {
  display: flex;
  align-items: center;
  gap: var(--vx-sections-39);
  padding-right: var(--vx-sections-40);
  flex-shrink: 0;
}
.vx-proof-group p {
  white-space: nowrap !important;
}
.vx-proof:hover .vx-proof-track,
.vx-proof:focus-within .vx-proof-track,
.vx-proof--paused .vx-proof-track {
  animation-play-state: paused;
}
.vx-proof-pause {
  position: absolute;
  right: var(--vx-sections-41);
  min-height: var(--vx-sections-42);
  padding: var(--vx-sections-43) var(--vx-sections-44);
  border-radius: var(--vx-sections-45);
  background: var(--paper);
  color: var(--navy);
  font-size: var(--vx-sections-46);
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.32, 0.72, 0, 1);
}
.vx-proof:hover .vx-proof-pause,
.vx-proof-pause:focus-visible,
.vx-proof--paused .vx-proof-pause {
  opacity: 1;
}
@keyframes vx-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vx-proof-track {
    animation: none;
  }
  .vx-proof-pause {
    display: none;
  }
}
[data-layout="desktop"]
  [data-anchor="inicio"]
  [data-name="Content"]
  > p:first-child {
  width: 100%;
  min-width: 100%;
}
/* The fixed-height mobile prototype clips stat captions; preserve the stack and let it grow. */
@media (max-width: 900px) {
  [data-layout="mobile"] [data-name="Números"] {
    height: auto;
    overflow: visible;
  }
  [data-layout="mobile"] [data-name="Números"] > div {
    flex: none;
  }
}

@media (min-width: 901px) {
  [data-layout="desktop"]
    :is([data-anchor="faq"], [data-anchor="contato"])
    > [data-name="Heading"] {
    position: sticky;
    top: 32px;
    align-self: flex-start;
  }
}
.vx-developer-credit {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vx-pill.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 8px 8px 24px;
  min-height: 56px;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}
.vx-pill.vx-btn > p {
  color: inherit;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
  white-space: normal;
  /* Long labels (e.g. English) wrap inside the pill instead of being clipped */
  flex: 0 1 auto;
  min-width: 0;
}
.vx-pill.vx-btn [data-name="Icon badge"] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
}
.vx-pill.vx-btn [data-name="Icon badge"] img {
  position: static;
  width: 20px;
  height: 20px;
  filter: none;
}
.vx-pill.vx-btn [data-name="Icon badge"]::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--navy);
  mask: url("../img/arrow-small-right.svg") center / contain no-repeat;
}
.vx-pill.vx-btn [data-name="Icon badge"] img {
  display: none;
}
:is([data-anchor="inicio"], [data-anchor="metodo"]) .vx-pill.vx-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
@media (max-width: 900px) {
  .vx-pill.vx-btn {
    gap: 12px;
    padding-left: 16px;
  }
  .vx-pill.vx-btn > p {
    font-size: 12px;
  }
}

.vx-pill.vx-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    box-shadow 300ms ease,
    transform 300ms var(--ease-out-expo);
}
/* Light sweep across the pill on hover */
.vx-pill.vx-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgb(255 255 255 / 26%) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  pointer-events: none;
}
.vx-pill.vx-btn [data-name="Icon badge"] {
  overflow: hidden;
  transition: transform 300ms var(--ease-out-expo);
}
.vx-pill.vx-btn:is(:hover, :focus-visible) {
  opacity: 1;
  background: var(--navy-600);
  border-color: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 27 56 / 22%);
}
.vx-pill.vx-btn:is(:hover, :focus-visible)::after {
  transform: translateX(120%);
  transition: transform 900ms var(--ease-out-expo);
}
.vx-pill.vx-btn:is(:hover, :focus-visible) [data-name="Icon badge"] {
  transform: scale(1.08);
}
.vx-pill.vx-btn:is(:hover, :focus-visible) [data-name="Icon badge"]::before {
  animation: vx-arrow-loop 600ms var(--ease-out-expo);
}
:is([data-anchor="inicio"], [data-anchor="metodo"])
  .vx-pill.vx-btn:is(:hover, :focus-visible) {
  background: #ffca66;
  border-color: #ffca66;
  box-shadow: 0 10px 28px rgb(240 180 66 / 30%);
}
.vx-pill.vx-btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 10px rgb(0 27 56 / 14%);
  transition-duration: 120ms;
}
@keyframes vx-arrow-loop {
  45% {
    transform: translateX(160%);
    opacity: 0;
  }
  46% {
    transform: translateX(-160%);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
/* Figma exported these button rows with overflow: clip, which crops the
   pill hover lift and shadow */
:is([data-name="Envio"], .vx-content-203) {
  overflow: visible;
}
/* Hero text link: underline draws in on hover */
[data-anchor="inicio"] .vx-button-32::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 450ms var(--ease-out-expo);
}
[data-anchor="inicio"] .vx-button-32:is(:hover, :focus-visible) {
  opacity: 1;
}
[data-anchor="inicio"] .vx-button-32:is(:hover, :focus-visible)::after {
  transform: none;
  transform-origin: left center;
}
[data-anchor="inicio"] .vx-button-32 > p {
  transition: color 250ms ease;
}
[data-anchor="inicio"] .vx-button-32:is(:hover, :focus-visible) > p {
  color: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  .vx-pill.vx-btn::after {
    display: none;
  }
  .vx-pill.vx-btn:is(:hover, :focus-visible),
  .vx-pill.vx-btn:is(:hover, :focus-visible) [data-name="Icon badge"],
  .vx-pill.vx-btn:active {
    transform: none;
  }
}

/* Brand logo (SVG, 1144×226): height drives the size, width follows */
.vx-brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
}
.vx-brand-logo--header {
  height: 40px;
}
.vx-brand-logo--footer {
  height: 44px;
}
@media (max-width: 900px) {
  .vx-brand-logo--header {
    height: 34px;
  }
  .vx-brand-logo--footer {
    height: 40px;
  }
}

/* Divider between light sections: hairline with a small gold mark */
.vx-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  /* Tall enough for the rotated mark (7px square ≈ 10px diagonal) */
  height: 16px;
  padding-inline: max(var(--vx-sections-0), calc((100% - var(--vx-sections-1)) / 2));
  background: var(--paper);
}
.vx-divider::before,
.vx-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.vx-divider span {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--gold-display);
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .vx-divider {
    padding-inline: 24px;
  }
}

/* Contexto: carousel of situation cards (both layouts) */
[data-name="section-context"] {
  overflow-x: clip;
}
.vx-carousel {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  min-width: 0;
}
.vx-carousel-track {
  /* Bleed to the right edge of the viewport; cards peek past the column */
  --bleed: calc((100vw - 100%) / 2);
  display: grid;
  grid-auto-flow: column;
  /* % = content column; ~3.4 cards visible so the next one always peeks */
  grid-auto-columns: calc((100% - 48px) / 3.4);
  gap: 24px;
  margin-right: calc(-1 * var(--bleed));
  padding-right: var(--bleed);
  /* overflow-x also clips vertically: leave room for the hover lift + shadow */
  margin-block: -16px -56px;
  padding-block: 16px 56px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline-offset: 6px;
}
.vx-carousel-track::-webkit-scrollbar {
  display: none;
}
@media (hover: hover) {
  .vx-carousel-track {
    cursor: grab;
  }
}
.vx-carousel-track[data-dragging] {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}
.vx-ctx-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--navy-600);
  border-radius: 24px;
  background: var(--navy);
  scroll-snap-align: start;
  transition:
    transform 450ms var(--ease-out-expo),
    box-shadow 450ms var(--ease-out-expo);
}
.vx-ctx-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy-600);
}
.vx-ctx-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: transform 900ms var(--ease-out-expo);
}
.vx-ctx-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px 18px 22px;
}
.vx-ctx-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.vx-ctx-num {
  font-family: var(--vx-value-23);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.vx-ctx-icon {
  width: 24px;
  height: 24px;
}
.vx-ctx-title {
  font-family: var(--vx-value-23);
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.24px;
  color: var(--white);
  text-wrap: balance;
}
.vx-ctx-text {
  font-family: var(--vx-value-28);
  font-size: 16px;
  line-height: 26px;
  color: var(--navy-200);
  text-wrap: pretty;
}
@media (hover: hover) {
  .vx-ctx-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgb(0 27 56 / 22%);
  }
  .vx-ctx-card:hover .vx-ctx-media img {
    transform: scale(1.05);
  }
}
.vx-carousel-bar {
  display: flex;
  align-items: center;
  gap: 32px;
}
.vx-carousel-rail {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
}
.vx-carousel-thumb {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--gold-display);
}
.vx-carousel-nav {
  display: flex;
  gap: 12px;
}
.vx-carousel-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    opacity 250ms ease;
}
.vx-carousel-btn::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--navy);
  mask: url("../img/arrow-small-right.svg") center / contain no-repeat;
  transition:
    transform 400ms var(--ease-out-expo),
    background-color 250ms ease;
}
.vx-carousel-btn--prev::before {
  transform: scaleX(-1);
}
.vx-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.vx-carousel-btn:not(:disabled):is(:hover, :focus-visible) {
  background: var(--navy);
  border-color: var(--navy);
}
.vx-carousel-btn:not(:disabled):is(:hover, :focus-visible)::before {
  background: var(--white);
  transform: translateX(2px);
}
.vx-carousel-btn--prev:not(:disabled):is(:hover, :focus-visible)::before {
  transform: scaleX(-1) translateX(2px);
}
.vx-tint-gold {
  filter: brightness(0) saturate(100%) invert(78%) sepia(72%) saturate(742%)
    hue-rotate(340deg) brightness(100%) contrast(89%);
}
@media (min-width: 901px) and (max-width: 1199px) {
  .vx-carousel-track {
    grid-auto-columns: calc((100% - 24px) / 2.4);
  }
}
@media (max-width: 900px) {
  .vx-carousel {
    gap: 24px;
  }
  .vx-carousel-track {
    grid-auto-columns: calc(100vw - 88px);
    gap: 16px;
  }
  .vx-ctx-body {
    padding: 20px 14px 18px;
  }
  .vx-ctx-title {
    font-size: 22px;
    line-height: 28px;
  }
  .vx-ctx-text {
    font-size: 15px;
    line-height: 24px;
  }
  .vx-carousel-bar {
    gap: 20px;
  }
  .vx-carousel-btn {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vx-ctx-card:hover,
  .vx-ctx-card:hover .vx-ctx-media img {
    transform: none;
  }
}

/* Mobile hero — Figma 18027:456: header on top, content pinned to the bottom */
[data-layout="mobile"] .vx-section-hero-196 {
  min-height: 991px;
  justify-content: space-between;
  gap: 0;
  padding-bottom: 32px;
}
/* Mobile video is pre-cropped (1:2) to follow the subject's face, so it just
   spans the width; the gradient turns solid before the clip ends (200vw) */
[data-layout="mobile"] .vx-img-199 {
  inset: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 2;
}
[data-layout="mobile"] .vx-div-200 {
  background-image: linear-gradient(
    to bottom,
    rgb(0 27 56 / 35%) 0%,
    rgb(0 27 56 / 35%) 38%,
    rgb(0 27 56 / 58%) 46%,
    rgb(0 27 56 / 74%) 53%,
    rgb(0 27 56 / 86%) 65%,
    rgb(0 27 56 / 100%) min(78%, calc(200vw - 16px))
  );
}
[data-layout="mobile"] [data-anchor="inicio"] .vx-pill.vx-btn {
  min-height: 48px;
  height: auto;
  gap: 12px;
  padding: 6px 8px 6px 24px;
}
[data-layout="mobile"] [data-anchor="inicio"] .vx-pill.vx-btn > p {
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.15px;
  text-transform: none;
  /* One line at 390px (Figma); wraps only on narrower phones */
  text-wrap: balance;
}
[data-layout="mobile"] [data-anchor="inicio"] .vx-pill.vx-btn [data-name="Icon badge"] {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background: var(--navy);
}
[data-layout="mobile"] [data-anchor="inicio"] .vx-pill.vx-btn [data-name="Icon badge"]::before {
  content: none;
}
[data-layout="mobile"] [data-anchor="inicio"] .vx-pill.vx-btn [data-name="Icon badge"] img {
  display: block;
  width: 18px;
  height: 18px;
  /* Navy design icon tinted to --gold, same filter as the hero icon badges */
  filter: brightness(0) saturate(100%) invert(78%) sepia(72%) saturate(742%)
    hue-rotate(340deg) brightness(100%) contrast(89%);
}
[data-layout="mobile"]
  [data-anchor="inicio"]
  .vx-pill.vx-btn:is(:hover, :focus-visible)
  [data-name="Icon badge"]
  img {
  animation: vx-arrow-loop 600ms var(--ease-out-expo);
}

/* Atuação: six equal cards in a 3-column grid */
.vx-content-94 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 24px;
}
.vx-wrapper-card-95 {
  display: contents;
}
:is(.vx-step-96, .vx-step-223) {
  overflow: hidden;
  transition:
    transform 450ms var(--ease-out-expo),
    box-shadow 450ms var(--ease-out-expo),
    border-color 300ms ease,
    background-color 300ms ease;
}
:is(.vx-step-96, .vx-step-223)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 550ms var(--ease-out-expo);
}
:is(.vx-step-96, .vx-step-223) > :first-child {
  transition:
    transform 450ms var(--ease-out-expo),
    color 300ms ease;
}
@media (hover: hover) {
  :is(.vx-step-96, .vx-step-223):hover {
    transform: translateY(-6px);
    background-color: var(--paper);
    border-color: rgb(198 138 42 / 45%);
    box-shadow: 0 18px 40px rgb(0 27 56 / 10%);
  }
  :is(.vx-step-96, .vx-step-223):hover::before {
    transform: none;
  }
  :is(.vx-step-96, .vx-step-223):hover > :first-child {
    transform: translateY(-2px);
    color: var(--gold-deep);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.vx-step-96, .vx-step-223):hover,
  :is(.vx-step-96, .vx-step-223):hover > :first-child {
    transform: none;
  }
}


/* Language: hide the page until i18n.js applies English (set in <head>) */
.i18n-pending body {
  visibility: hidden;
}
/* Floating language switcher, bottom-right */
.vx-lang {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.vx-lang[hidden],
.vx-lang-menu[hidden],
.vx-lang-option[hidden] {
  display: none;
}
.vx-lang-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 24px rgb(0 27 56 / 14%);
  transition:
    transform 300ms var(--ease-out-expo),
    box-shadow 300ms var(--ease-out-expo),
    border-color 200ms ease;
}
.vx-lang-toggle img {
  width: 28px;
  height: 28px;
}
.vx-lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(0 27 56 / 18%);
}
.vx-lang-toggle[aria-expanded="true"] {
  border-color: var(--gold-display);
}
.vx-lang-menu {
  display: flex;
  flex-direction: column;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 32px rgb(0 27 56 / 16%);
  animation: vx-lang-in 220ms var(--ease-out-expo);
}
.vx-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 12px;
  font-family: var(--vx-value-28);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--navy);
  white-space: nowrap;
  transition: background-color 200ms ease;
}
.vx-lang-option:is(:hover, :focus-visible) {
  background: var(--ivory);
}
.vx-lang-option img {
  width: 24px;
  height: 24px;
}
@keyframes vx-lang-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}
/* Desktop footer: bottom spacing mirrors the top (96px); the floating
   language button (24px + 52px from the bottom) stays clear of the credit */
[data-layout="desktop"] > footer {
  padding-bottom: var(--vx-value-96);
}
@media (max-width: 900px) {
  /* Docks inside the sticky CTA bar, beside a narrower CTA, so it never
     covers page content */
  .vx-lang {
    right: 24px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .vx-lang-toggle {
    width: 48px;
    height: 48px;
  }
  .vx-sticky .vx-pill.vx-btn {
    width: calc(100% - 60px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vx-lang-toggle:hover {
    transform: none;
  }
}
/* English hero headline: avoid a lone last word ("error.") */
:root[lang="en"] [data-anchor="inicio"] h1 {
  text-wrap: balance;
}

/* Desktop footer columns: brand · navigation · areas, the last column
   hugging the right edge so the row has no empty space after Instagram */
[data-layout="desktop"] footer [data-name="Top"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  column-gap: clamp(48px, 8vw, 120px);
}
[data-layout="desktop"] footer [data-name="Top"] > * {
  width: auto;
  min-width: 0;
}
/* Link labels keep their natural width (Figma exported them as min-content) */
[data-layout="desktop"] footer [data-name^="Col"] > * {
  width: auto;
  white-space: nowrap;
}
[data-layout="desktop"] footer [data-name="Brand"] {
  max-width: 360px;
}

/* Keep the short Mandarin hero emphasis together. */
:root[lang="zh-CN"] [data-anchor="inicio"] h1 > span:last-child {
  white-space: nowrap;
}

.vx-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--navy);
  font: 400 16px/1.5 "IBM Plex Sans", sans-serif;
}
.vx-contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vx-contact-whatsapp img {
  flex-shrink: 0;
}
.vx-contact-whatsapp:hover {
  color: var(--gold-deep);
}
.vx-whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #33d952;
  box-shadow: 0 8px 24px rgb(0 27 56 / 14%);
  transition: transform 200ms ease, background-color 200ms ease;
}
.vx-whatsapp-float img {
  filter: brightness(0) invert(1);
  width: 26px;
  height: 26px;
}
.vx-whatsapp-float:is(:hover, :focus-visible) {
  background: #28bd44;
  transform: translateY(-2px);
}
.vx-lang-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
}
@media (max-width: 900px) {
  .vx-whatsapp-float {
    width: 48px;
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vx-whatsapp-float {
    transition: none;
  }
  .vx-whatsapp-float:is(:hover, :focus-visible) {
    transform: none;
  }
}

/* Brand, navigation, areas and institutional contacts share the footer row. */
[data-layout="desktop"] footer [data-name="Top"] {
  grid-template-columns: minmax(220px, 1fr) max-content max-content minmax(200px, 250px);
  column-gap: clamp(24px, 3vw, 48px);
}
.vx-footer-institutional {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  min-width: 0;
}
footer .vx-footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font: 400 14px/1.6 "IBM Plex Sans", sans-serif;
  color: var(--navy-50);
}
footer [data-name="Col · Institucional"] > .vx-footer-contact {
  white-space: normal;
}
.vx-footer-contact > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vx-footer-contact-label {
  color: var(--white);
  font-weight: 600;
}
.vx-footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
}
.vx-footer-contact-icon img {
  width: 20px;
  height: 20px;
  opacity: 0;
}
.vx-footer-contact-icon::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--navy);
  mask: url("../icons/whatsapp.svg") center / contain no-repeat;
}
.vx-footer-address-icon::before {
  mask-image: url("../img/endereco.svg");
}
a.vx-footer-contact:hover {
  color: var(--gold);
}
@media (min-width: 901px) and (max-width: 1100px) {
  [data-layout="desktop"] footer [data-name="Top"] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 900px) {
  .vx-sticky .vx-pill.vx-btn {
    gap: 8px;
    padding: 8px 8px 8px 12px;
  }
  .vx-sticky .vx-pill.vx-btn > p {
    white-space: nowrap;
    font-size: clamp(9px, 2.7vw, 12px);
    letter-spacing: 0;
  }
  .vx-sticky .vx-pill.vx-btn [data-name="Icon badge"] {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  :root[lang="en"] .vx-sticky .vx-pill.vx-btn > p {
    text-transform: none;
    font-size: clamp(9px, 2.5vw, 11px);
  }
}
