*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--bmf-font-family-body);
  font-size: var(--bmf-font-size-body);
  font-weight: 450;
  line-height: var(--bmf-line-height-body);
  color: var(--bmf-color-text-primary);
  background: var(--bmf-color-bg-canvas);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--bmf-color-focus-ring);
  outline-offset: 3px;
}

.bmf-skip {
  position: absolute;
  left: var(--bmf-space-16);
  top: -100px;
  z-index: 1000;
  background: var(--bmf-color-brand-primary);
  color: var(--bmf-color-action-primary-text);
  padding: var(--bmf-space-8) var(--bmf-space-16);
  min-height: var(--bmf-layout-control-min-size);
}

.bmf-skip:focus {
  top: var(--bmf-space-16);
}

.bmf-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--bmf-color-brand-primary);
  z-index: 400;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.bmf-container {
  width: min(100%, var(--bmf-layout-container-max));
  margin-inline: auto;
  padding-inline: var(--bmf-layout-container-pad);
}

/* Header */

.bmf-header {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--bmf-layout-header-height);
  background: var(--bmf-color-header-bg);
  color: var(--bmf-color-header-text);
  border-bottom: 1px solid var(--bmf-color-border-subtle);
}

.bmf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bmf-space-16);
  height: var(--bmf-layout-header-height);
}

.bmf-logo {
  display: flex;
  align-items: center;
  min-width: var(--bmf-layout-logo-min-width);
  padding: var(--bmf-space-8) var(--bmf-space-12);
  flex-shrink: 0;
}

.bmf-logo img {
  height: 48px;
  width: auto;
}

html[data-theme="dark"] .bmf-logo--on-light,
html[data-theme="light"] .bmf-logo--on-dark,
html[data-theme="dark"] .bmf-product-logo--on-light,
html[data-theme="light"] .bmf-product-logo--on-dark,
html[data-theme="dark"] .bmf-client-logo--light,
html[data-theme="light"] .bmf-client-logo--dark {
  display: none;
}

.bmf-nav {
  display: none;
  align-items: center;
  gap: var(--bmf-space-8);
}

.bmf-nav__list {
  display: flex;
  align-items: center;
  gap: var(--bmf-space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bmf-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--bmf-layout-control-min-size);
  padding: var(--bmf-space-8) var(--bmf-space-12);
  text-decoration: none;
  font-weight: var(--bmf-font-weight-medium);
}

.bmf-nav__link::after {
  content: "";
  position: absolute;
  left: var(--bmf-space-12);
  right: var(--bmf-space-12);
  bottom: 6px;
  height: 2px;
  background: var(--bmf-color-brand-primary);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  transition: transform var(--bmf-motion-duration-fast) var(--bmf-motion-easing-out);
}

.bmf-nav__link:hover {
  color: var(--bmf-color-brand-primary);
}

.bmf-nav__link:hover::after,
.bmf-nav__link.is-active::after {
  transform: scaleX(1);
}

.bmf-nav__item--has-sub {
  position: relative;
}

.bmf-nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: var(--bmf-space-8);
  list-style: none;
  background: var(--bmf-color-bg-canvas);
  border: 1px solid var(--bmf-color-border-subtle);
  border-radius: var(--bmf-radius-md);
}

.bmf-nav__item--has-sub:hover .bmf-nav__sub,
.bmf-nav__item--has-sub:focus-within .bmf-nav__sub,
.bmf-nav__item--has-sub.is-open .bmf-nav__sub {
  display: block;
}

.bmf-nav__sub a {
  display: block;
  padding: var(--bmf-space-12);
  text-decoration: none;
  min-height: var(--bmf-layout-control-min-size);
}

.bmf-nav__sub a:hover {
  color: var(--bmf-color-brand-primary);
}

.bmf-header__tools {
  display: flex;
  align-items: center;
  gap: var(--bmf-space-8);
}

.bmf-lang {
  display: inline-flex;
  align-items: center;
  gap: var(--bmf-space-4);
  font-size: var(--bmf-font-size-caption);
  letter-spacing: var(--bmf-letter-spacing-kicker);
  text-transform: uppercase;
}

.bmf-lang a {
  text-decoration: none;
  min-height: var(--bmf-layout-control-min-size);
  min-width: var(--bmf-layout-control-min-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bmf-lang a[aria-current="page"] {
  font-weight: var(--bmf-font-weight-bold);
  color: var(--bmf-color-brand-primary);
}

.bmf-theme-toggle,
.bmf-nav-toggle {
  appearance: none;
  border: 1px solid var(--bmf-color-border-subtle);
  background: transparent;
  color: inherit;
  min-width: var(--bmf-layout-control-min-size);
  min-height: var(--bmf-layout-control-min-size);
  border-radius: var(--bmf-radius-sm);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bmf-theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

html[data-theme="light"] .bmf-theme-icon--sun,
html[data-theme="dark"] .bmf-theme-icon--moon {
  display: none;
}

.bmf-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .bmf-nav {
    display: flex;
  }

  .bmf-nav-toggle {
    display: none;
  }
}

.bmf-nav--mobile {
  display: none;
  border-top: 1px solid var(--bmf-color-border-subtle);
  background: var(--bmf-color-header-bg);
  padding: var(--bmf-space-16) var(--bmf-layout-container-pad) var(--bmf-space-32);
}

.bmf-nav--mobile.is-open {
  display: block;
}

.bmf-nav--mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bmf-nav--mobile a {
  display: block;
  padding: var(--bmf-space-12) 0;
  text-decoration: none;
  min-height: var(--bmf-layout-control-min-size);
}

.bmf-nav--mobile .bmf-nav__sub {
  position: static;
  display: block;
  border: 0;
  padding-left: var(--bmf-space-16);
}

/* Buttons */

.bmf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--bmf-layout-control-min-size);
  padding: var(--bmf-space-12) var(--bmf-space-24);
  border-radius: var(--bmf-radius-md);
  text-decoration: none;
  font-weight: var(--bmf-font-weight-medium);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--bmf-motion-duration-ui) var(--bmf-motion-easing-out),
    color var(--bmf-motion-duration-ui) var(--bmf-motion-easing-out),
    border-color var(--bmf-motion-duration-ui) var(--bmf-motion-easing-out),
    transform var(--bmf-motion-duration-fast) var(--bmf-motion-easing-out);
}

.bmf-button:hover {
  transform: translate3d(0, -1px, 0);
}

.bmf-button--primary {
  background: var(--bmf-color-action-primary-bg);
  color: var(--bmf-color-action-primary-text);
}

.bmf-button--primary:hover {
  background: var(--bmf-color-action-primary-hover);
}

.bmf-button--secondary {
  background: transparent;
  color: inherit;
  border-color: var(--bmf-color-action-secondary-border);
}

.bmf-button--secondary:hover {
  border-color: var(--bmf-color-brand-primary);
  color: var(--bmf-color-brand-primary);
}

.bmf-button--on-dark {
  --bmf-color-action-secondary-border: var(--bmf-color-neutral-white);
  color: var(--bmf-color-neutral-white);
}

.bmf-header .bmf-button--primary {
  display: none;
}

@media (min-width: 1024px) {
  .bmf-header .bmf-button--primary {
    display: inline-flex;
  }
}

/* Typography */

.bmf-kicker {
  margin: 0 0 var(--bmf-space-16);
  font-size: var(--bmf-font-size-caption);
  letter-spacing: var(--bmf-letter-spacing-kicker);
  text-transform: uppercase;
  font-weight: var(--bmf-font-weight-medium);
  color: var(--bmf-color-brand-primary);
}

.bmf-hero .bmf-kicker,
.bmf-band--inverse .bmf-kicker {
  color: var(--bmf-color-text-kicker-on-dark);
}

.bmf-kicker--quiet {
  color: var(--bmf-color-text-primary);
  letter-spacing: 0.04em;
}

.bmf-display {
  font-family: var(--bmf-font-family-display);
  font-size: var(--bmf-font-size-display);
  font-weight: var(--bmf-font-weight-regular);
  line-height: var(--bmf-line-height-display);
  margin: 0 0 var(--bmf-space-24);
}

.bmf-display::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: var(--bmf-space-24);
  background: var(--bmf-color-brand-primary);
  transform-origin: left;
}

.bmf-heading {
  font-family: var(--bmf-font-family-display);
  font-size: var(--bmf-font-size-heading);
  line-height: var(--bmf-line-height-heading);
  font-weight: var(--bmf-font-weight-regular);
  margin: 0 0 var(--bmf-space-24);
}

.bmf-subtitle {
  font-family: var(--bmf-font-family-display);
  font-size: var(--bmf-font-size-subtitle);
  line-height: var(--bmf-line-height-heading);
  font-weight: var(--bmf-font-weight-regular);
  margin: 0 0 var(--bmf-space-16);
}

.bmf-caption {
  display: block;
  margin-bottom: var(--bmf-space-8);
  font-size: var(--bmf-font-size-caption);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bmf-color-text-muted);
}

.bmf-back {
  margin: 0 0 var(--bmf-space-16);
  font-size: var(--bmf-font-size-caption);
}

.bmf-back a {
  color: var(--bmf-color-brand-primary);
  text-decoration: none;
  font-weight: var(--bmf-font-weight-medium);
}

.bmf-filet {
  display: none;
}

/* Sections */

.bmf-section {
  padding-block: var(--bmf-space-section);
}

.bmf-band--inverse {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bmf-color-neutral-black);
  color: var(--bmf-color-neutral-white);
}

.bmf-band--inverse::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    linear-gradient(rgba(9, 9, 9, 0.84), rgba(9, 9, 9, 0.9)),
    url("../images/operations/porto.webp") center / cover no-repeat;
  animation: bmf-ken 36s var(--bmf-motion-easing-out) infinite alternate;
}

.bmf-band--inverse > * {
  position: relative;
  z-index: 1;
}

.bmf-band--inverse + .bmf-band--inverse {
  padding-top: 0;
}

.bmf-band--inverse + .bmf-band--inverse::before {
  content: none;
}

.bmf-band--inverse.is-paused::before {
  animation-play-state: paused;
}

.bmf-band--inverse .bmf-split + .bmf-cta,
.bmf-band--inverse .bmf-marquee + .bmf-cta,
.bmf-band--inverse .bmf-container + .bmf-cta {
  margin-top: var(--bmf-space-48);
}

.bmf-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bmf-color-neutral-black);
  color: var(--bmf-color-neutral-white);
  display: flex;
  align-items: stretch;
  padding-block: var(--bmf-space-48) var(--bmf-space-64);
}

.bmf-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bmf-hero__photo {
  position: absolute;
  inset: -6%;
  display: block;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.5;
  animation: bmf-ken 32s var(--bmf-motion-easing-out) infinite alternate;
}

@keyframes bmf-ken {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-3%, -2%, 0);
  }
}

.bmf-hero__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.94) 0%, rgba(9, 9, 9, 0.72) 42%, rgba(9, 9, 9, 0.38) 100%),
    radial-gradient(ellipse at 82% 18%, rgba(171, 31, 26, 0.22), transparent 42%);
}

.bmf-hero .bmf-container {
  position: relative;
  z-index: 1;
}

.bmf-hero__grid {
  display: grid;
  gap: var(--bmf-space-48);
  width: 100%;
}

@media (min-width: 1024px) {
  .bmf-hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--bmf-space-64);
  }
}

.bmf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bmf-space-16);
}

.bmf-map {
  margin: 0;
  display: grid;
  gap: var(--bmf-space-8);
  background: transparent;
}

.bmf-map div {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: var(--bmf-space-12);
  align-items: baseline;
  margin: 0;
  padding: var(--bmf-space-12) 0 var(--bmf-space-12) var(--bmf-space-16);
  border-left: 2px solid var(--bmf-color-brand-primary);
}

.bmf-map div:last-child {
  border-bottom: 0;
}

.bmf-map dt {
  margin: 0;
  font-size: var(--bmf-font-size-caption);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bmf-color-text-kicker-on-dark);
}

.bmf-map dd {
  margin: 0;
}

.bmf-map a {
  color: var(--bmf-color-neutral-white);
  text-decoration: none;
  font-weight: var(--bmf-font-weight-medium);
  justify-self: end;
}

.bmf-map a:hover {
  color: var(--bmf-color-brand-emphasis);
}

@media (max-width: 639px) {
  .bmf-map div {
    grid-template-columns: 1fr auto;
  }

  .bmf-map dt {
    grid-column: 1 / -1;
  }
}

/* Editorial blocks */

.bmf-split {
  display: grid;
  gap: var(--bmf-space-48);
}

@media (min-width: 1024px) {
  .bmf-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .bmf-split--uneven {
    grid-template-columns: 5fr 7fr;
  }

  .bmf-split--reverse > :first-child {
    order: 2;
  }
}

.bmf-icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  background-color: var(--bmf-color-brand-primary);
  -webkit-mask: var(--bmf-icon-src) center / contain no-repeat;
  mask: var(--bmf-icon-src) center / contain no-repeat;
}

.bmf-icon--map { --bmf-icon-src: url("../icons/map.svg"); }
.bmf-icon--tax { --bmf-icon-src: url("../icons/tax.svg"); }
.bmf-icon--people { --bmf-icon-src: url("../icons/people.svg"); }
.bmf-icon--measure { --bmf-icon-src: url("../icons/measure.svg"); }
.bmf-icon--energy { --bmf-icon-src: url("../icons/energy.svg"); }
.bmf-icon--platforms { --bmf-icon-src: url("../icons/platforms.svg"); }
.bmf-icon--projects { --bmf-icon-src: url("../icons/projects.svg"); }
.bmf-icon--layers { --bmf-icon-src: url("../icons/layers.svg"); }
.bmf-icon--consult { --bmf-icon-src: url("../icons/consult.svg"); }
.bmf-icon--pin { --bmf-icon-src: url("../icons/pin.svg"); }
.bmf-icon--phone { --bmf-icon-src: url("../icons/phone.svg"); }
.bmf-icon--clock { --bmf-icon-src: url("../icons/clock.svg"); }
.bmf-icon--social { --bmf-icon-src: url("../icons/social.svg"); }

.bmf-index-table {
  list-style: none;
  margin: var(--bmf-space-32) 0 0;
  padding: 0;
  display: grid;
  gap: var(--bmf-space-8);
}

.bmf-index-table li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  column-gap: var(--bmf-space-16);
  row-gap: var(--bmf-space-8);
  padding: var(--bmf-space-16) 0 var(--bmf-space-16) var(--bmf-space-16);
  border-left: 2px solid var(--bmf-color-brand-primary);
}

.bmf-index-table .bmf-icon {
  grid-row: 1 / span 3;
  margin-top: 0.15rem;
}

.bmf-index-table h3,
.bmf-index-table p,
.bmf-index-table a {
  grid-column: 2;
}

@media (min-width: 768px) {
  .bmf-index-table li {
    grid-template-columns: 1.5rem 12rem 1fr auto;
    gap: var(--bmf-space-24);
    align-items: baseline;
  }

  .bmf-index-table .bmf-icon {
    grid-row: 1;
    align-self: center;
    margin-top: 0;
  }

  .bmf-index-table h3 { grid-column: 2; }
  .bmf-index-table p { grid-column: 3; }
  .bmf-index-table a { grid-column: 4; }
}

.bmf-index-table h3 {
  margin: 0;
  font-family: var(--bmf-font-family-body);
  font-size: var(--bmf-font-size-body);
  font-weight: var(--bmf-font-weight-semibold);
}

.bmf-index-table p {
  margin: 0;
}

.bmf-index-table a {
  color: var(--bmf-color-brand-primary);
  text-decoration: none;
  font-weight: var(--bmf-font-weight-medium);
  white-space: nowrap;
}

/* Ecosystem surfaces */

.bmf-surfaces {
  display: grid;
  gap: var(--bmf-space-32) var(--bmf-space-24);
  margin-top: var(--bmf-space-32);
}

@media (min-width: 768px) {
  .bmf-surfaces {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bmf-surfaces {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bmf-surfaces article {
  padding: 0 0 0 var(--bmf-space-16);
  border-left: 2px solid var(--bmf-color-brand-primary);
}

.bmf-surfaces .bmf-caption {
  display: block;
  margin-bottom: var(--bmf-space-12);
  font-size: var(--bmf-font-size-caption);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bmf-color-text-muted);
}

.bmf-surfaces p {
  margin: 0 0 var(--bmf-space-16);
}

.bmf-surfaces a {
  color: var(--bmf-color-brand-primary);
  text-decoration: none;
  font-weight: var(--bmf-font-weight-medium);
}

.bmf-product-logo {
  height: 56px;
  width: auto;
  margin-bottom: var(--bmf-space-24);
}

.bmf-product-logo--lg {
  height: 64px;
}

/* Clients */

.bmf-clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bmf-space-16) var(--bmf-space-24);
  align-items: center;
}

@media (min-width: 768px) {
  .bmf-clients {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1024px) {
  .bmf-clients {
    grid-template-columns: repeat(8, 1fr);
  }
}

.bmf-clients li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.bmf-clients ul {
  display: contents;
  margin: 0;
  padding: 0;
}

.bmf-clients img {
  max-height: 40px;
  width: auto;
  margin-inline: auto;
}

/* Method */

.bmf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bmf-space-8);
}

.bmf-steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--bmf-space-16);
  padding: var(--bmf-space-12) 0 var(--bmf-space-12) var(--bmf-space-16);
  border-left: 2px solid var(--bmf-color-brand-primary);
  align-items: baseline;
}

.bmf-steps span {
  font-size: var(--bmf-font-size-caption);
  letter-spacing: 0.04em;
  color: var(--bmf-color-text-muted);
}

.bmf-steps p {
  margin: 0;
  font-weight: var(--bmf-font-weight-medium);
}

/* Services strip */

.bmf-services-strip {
  display: grid;
  gap: var(--bmf-space-32);
}

@media (min-width: 768px) {
  .bmf-services-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.bmf-services-strip article {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  column-gap: var(--bmf-space-16);
  row-gap: var(--bmf-space-8);
  padding: 0 0 0 var(--bmf-space-16);
  border-left: 2px solid var(--bmf-color-brand-primary);
}

.bmf-services-strip .bmf-icon {
  grid-row: 1 / span 2;
  margin-top: 0.2rem;
}

.bmf-services-strip h3 {
  margin: 0;
  font-size: var(--bmf-font-size-body);
  font-family: var(--bmf-font-family-body);
  font-weight: var(--bmf-font-weight-semibold);
}

.bmf-services-strip p {
  margin: 0;
}

.bmf-service-list {
  display: grid;
  gap: var(--bmf-space-32);
}

.bmf-service {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  column-gap: var(--bmf-space-16);
  padding: var(--bmf-space-8) 0 var(--bmf-space-8) var(--bmf-space-16);
  border-left: 2px solid var(--bmf-color-brand-primary);
  scroll-margin-top: calc(var(--bmf-layout-header-height) + var(--bmf-space-16));
}

.bmf-service .bmf-icon {
  margin-top: 0.35rem;
}

.bmf-service h2 {
  margin: 0 0 var(--bmf-space-8);
  font-family: var(--bmf-font-family-display);
  font-size: var(--bmf-font-size-subtitle);
  font-weight: var(--bmf-font-weight-regular);
  line-height: var(--bmf-line-height-heading);
}

.bmf-service p {
  margin: 0 0 var(--bmf-space-16);
}

.bmf-service p:last-child {
  margin-bottom: 0;
}

.bmf-service-list__cta {
  margin-top: var(--bmf-space-48);
}

/* CTA band */

.bmf-cta {
  display: flex;
  flex-direction: column;
  gap: var(--bmf-space-24);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .bmf-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Page hero (inner) */

.bmf-page-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--bmf-space-48) var(--bmf-space-32);
}

.bmf-page-hero .bmf-container {
  position: relative;
  z-index: 1;
}

.bmf-page-hero .bmf-display {
  max-width: 22ch;
  font-size: clamp(1.75rem, 2.5vw + 0.75rem, 2.5rem);
}

.bmf-lead {
  max-width: 40rem;
  margin: 0 0 var(--bmf-space-32);
  font-weight: var(--bmf-font-weight-medium);
}

.bmf-prose {
  max-width: 42rem;
}

.bmf-prose h2 {
  font-family: var(--bmf-font-family-display);
  font-size: var(--bmf-font-size-heading);
  font-weight: var(--bmf-font-weight-regular);
  margin: var(--bmf-space-48) 0 var(--bmf-space-16);
}

.bmf-prose h2:first-child {
  margin-top: 0;
}

.bmf-prose p {
  margin: 0 0 var(--bmf-space-16);
}

.bmf-prose .bmf-caption {
  margin-top: var(--bmf-space-32);
}

.bmf-form-legal {
  margin: var(--bmf-space-16) 0 0;
  font-size: var(--bmf-font-size-caption);
}

.bmf-prose h3 {
  font-size: var(--bmf-font-size-subtitle);
  font-family: var(--bmf-font-family-display);
  font-weight: var(--bmf-font-weight-regular);
  margin: var(--bmf-space-32) 0 var(--bmf-space-12);
}

.bmf-prose ul {
  padding-left: var(--bmf-space-24);
}

.bmf-list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bmf-space-16);
}

.bmf-list-plain li {
  padding-left: var(--bmf-space-16);
  border-left: 2px solid var(--bmf-color-brand-primary);
}

/* Hub products */

.bmf-hub {
  display: grid;
  gap: var(--bmf-space-64);
}

.bmf-hub article {
  display: grid;
  gap: var(--bmf-space-16);
}

@media (min-width: 1024px) {
  .bmf-hub article {
    grid-template-columns: 2fr 3fr;
    gap: var(--bmf-space-64);
    align-items: center;
  }
}

/* Form */

.bmf-form {
  display: grid;
  gap: var(--bmf-space-16);
  max-width: 40rem;
}

.bmf-field {
  display: grid;
  gap: var(--bmf-space-8);
}

.bmf-field label {
  font-weight: var(--bmf-font-weight-medium);
}

.bmf-field input,
.bmf-field select,
.bmf-field textarea {
  min-height: var(--bmf-layout-control-min-size);
  padding: var(--bmf-space-12);
  border: 1px solid var(--bmf-color-border-subtle);
  border-radius: var(--bmf-radius-md);
  background: var(--bmf-color-bg-canvas);
  color: var(--bmf-color-text-primary);
}

.bmf-field textarea {
  min-height: 160px;
  resize: vertical;
}

.bmf-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.bmf-form-error {
  color: var(--bmf-color-brand-primary);
  margin: 0;
}

.bmf-contact-grid {
  display: grid;
  gap: var(--bmf-space-64);
}

@media (min-width: 1024px) {
  .bmf-contact-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.bmf-dl {
  margin: 0;
}

.bmf-dl div {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  column-gap: var(--bmf-space-12);
  margin-bottom: var(--bmf-space-24);
}

.bmf-dl .bmf-icon {
  grid-row: 1 / span 2;
  margin-top: 0.2rem;
}

.bmf-dl dt {
  grid-column: 2;
  font-size: var(--bmf-font-size-caption);
  letter-spacing: var(--bmf-letter-spacing-kicker);
  text-transform: uppercase;
  margin-bottom: var(--bmf-space-8);
}

.bmf-dl dd {
  grid-column: 2;
  margin: 0;
}

/* Footer */

.bmf-footer {
  position: relative;
  overflow: hidden;
  background: var(--bmf-color-neutral-black);
  color: var(--bmf-color-neutral-white);
  padding-block: var(--bmf-space-64) var(--bmf-space-32);
}

.bmf-footer::before {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -8rem;
  width: min(48vw, 420px);
  aspect-ratio: 1;
  background: url("../images/logos/bmf-globo-white.png") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.bmf-footer .bmf-container {
  position: relative;
  z-index: 1;
}

.bmf-footer a {
  color: var(--bmf-color-neutral-white);
  text-decoration: none;
}

.bmf-footer a:hover {
  color: var(--bmf-color-brand-emphasis);
}

.bmf-footer__grid {
  display: grid;
  gap: var(--bmf-space-32);
}

@media (min-width: 768px) {
  .bmf-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.bmf-footer__col h2 {
  font-size: var(--bmf-font-size-caption);
  letter-spacing: var(--bmf-letter-spacing-kicker);
  text-transform: uppercase;
  margin: 0 0 var(--bmf-space-16);
  font-family: var(--bmf-font-family-body);
  font-weight: var(--bmf-font-weight-semibold);
}

.bmf-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bmf-footer__col li {
  margin-bottom: var(--bmf-space-8);
}

.bmf-footer__base {
  margin-top: var(--bmf-space-48);
  padding-top: var(--bmf-space-32);
  border-top: 0;
  background-image: linear-gradient(var(--bmf-color-brand-primary), var(--bmf-color-brand-primary));
  background-repeat: no-repeat;
  background-size: 48px 2px;
  background-position: left top;
  display: flex;
  flex-wrap: wrap;
  gap: var(--bmf-space-16);
  justify-content: space-between;
  font-size: var(--bmf-font-size-caption);
}

.bmf-footer .bmf-logo {
  padding: 0;
}

.bmf-footer .bmf-logo img {
  height: 44px;
}

.bmf-footer__eco {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bmf-space-16);
  align-items: center;
  margin-top: var(--bmf-space-16);
}

.bmf-footer__eco img {
  height: 32px;
  width: auto;
}

html[data-theme="light"] .bmf-footer .bmf-logo--on-light {
  display: none;
}

html[data-theme="light"] .bmf-footer .bmf-logo--on-dark {
  display: block;
}

html[data-theme="light"] .bmf-footer .bmf-product-logo--on-light {
  display: none;
}

html[data-theme="light"] .bmf-footer .bmf-product-logo--on-dark {
  display: block;
}

.bmf-footer .bmf-product-logo--on-dark {
  display: none;
}

html[data-theme="dark"] .bmf-footer .bmf-product-logo--on-dark,
html[data-theme="light"] .bmf-footer .bmf-product-logo--on-dark {
  display: block;
}

html[data-theme="dark"] .bmf-footer .bmf-product-logo--on-light,
html[data-theme="light"] .bmf-footer .bmf-product-logo--on-light {
  display: none;
}

/* Motion */

html.bmf-motion-ready .bmf-reveal,
html.bmf-motion-ready .bmf-hero .bmf-kicker,
html.bmf-motion-ready .bmf-hero .bmf-ticker,
html.bmf-motion-ready .bmf-hero .bmf-display,
html.bmf-motion-ready .bmf-hero .bmf-lead,
html.bmf-motion-ready .bmf-hero .bmf-hero__actions,
html.bmf-motion-ready .bmf-hero .bmf-map div,
html.bmf-motion-ready .bmf-page-hero .bmf-kicker,
html.bmf-motion-ready .bmf-page-hero .bmf-display,
html.bmf-motion-ready .bmf-page-hero .bmf-lead,
html.bmf-motion-ready .bmf-page-hero .bmf-back,
html.bmf-motion-ready .bmf-section .bmf-kicker,
html.bmf-motion-ready .bmf-section .bmf-heading,
html.bmf-motion-ready .bmf-section .bmf-lead,
html.bmf-motion-ready .bmf-index-table li,
html.bmf-motion-ready .bmf-surfaces article,
html.bmf-motion-ready .bmf-steps li,
html.bmf-motion-ready .bmf-services-strip article,
html.bmf-motion-ready .bmf-service-list .bmf-service,
html.bmf-motion-ready .bmf-footer__col {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

html.bmf-motion-ready .bmf-hero .bmf-map div {
  transform: translate3d(-12px, 0, 0);
}

html.bmf-motion-ready .bmf-display::after {
  transform: scaleX(0);
}

html.bmf-motion-ready .bmf-reveal.is-in,
html.bmf-motion-ready .bmf-hero.is-in .bmf-kicker,
html.bmf-motion-ready .bmf-hero.is-in .bmf-ticker,
html.bmf-motion-ready .bmf-hero.is-in .bmf-display,
html.bmf-motion-ready .bmf-hero.is-in .bmf-lead,
html.bmf-motion-ready .bmf-hero.is-in .bmf-hero__actions,
html.bmf-motion-ready .bmf-hero.is-in .bmf-map div,
html.bmf-motion-ready .bmf-page-hero.is-in .bmf-kicker,
html.bmf-motion-ready .bmf-page-hero.is-in .bmf-display,
html.bmf-motion-ready .bmf-page-hero.is-in .bmf-lead,
html.bmf-motion-ready .bmf-page-hero.is-in .bmf-back,
html.bmf-motion-ready .bmf-section.is-in .bmf-kicker,
html.bmf-motion-ready .bmf-section.is-in .bmf-heading,
html.bmf-motion-ready .bmf-section.is-in .bmf-lead,
html.bmf-motion-ready .bmf-section.is-in .bmf-index-table li,
html.bmf-motion-ready .bmf-section.is-in .bmf-surfaces article,
html.bmf-motion-ready .bmf-section.is-in .bmf-steps li,
html.bmf-motion-ready .bmf-section.is-in .bmf-services-strip article,
html.bmf-motion-ready .bmf-section.is-in .bmf-service-list .bmf-service,
html.bmf-motion-ready .bmf-footer.is-in .bmf-footer__col {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--bmf-motion-easing-out),
    transform 520ms var(--bmf-motion-easing-out);
}

html.bmf-motion-ready .bmf-hero.is-in .bmf-display::after,
html.bmf-motion-ready .bmf-page-hero.is-in .bmf-display::after {
  transform: scaleX(1);
  transition: transform 700ms var(--bmf-motion-easing-out) 240ms;
}

html.bmf-motion-ready .bmf-hero.is-in .bmf-kicker { transition-delay: 40ms; }
html.bmf-motion-ready .bmf-hero.is-in .bmf-ticker { transition-delay: 120ms; }
html.bmf-motion-ready .bmf-hero.is-in .bmf-display { transition-delay: 180ms; }
html.bmf-motion-ready .bmf-hero.is-in .bmf-lead { transition-delay: 280ms; }
html.bmf-motion-ready .bmf-hero.is-in .bmf-hero__actions { transition-delay: 360ms; }
html.bmf-motion-ready .bmf-hero.is-in .bmf-map div:nth-child(1) { transition-delay: 200ms; }
html.bmf-motion-ready .bmf-hero.is-in .bmf-map div:nth-child(2) { transition-delay: 280ms; }
html.bmf-motion-ready .bmf-hero.is-in .bmf-map div:nth-child(3) { transition-delay: 360ms; }
html.bmf-motion-ready .bmf-hero.is-in .bmf-map div:nth-child(4) { transition-delay: 440ms; }

html.bmf-motion-ready .bmf-section.is-in .bmf-kicker { transition-delay: 40ms; }
html.bmf-motion-ready .bmf-section.is-in .bmf-heading { transition-delay: 100ms; }
html.bmf-motion-ready .bmf-section.is-in .bmf-lead { transition-delay: 160ms; }

html.bmf-motion-ready .bmf-section.is-in .bmf-index-table li:nth-child(1),
html.bmf-motion-ready .bmf-section.is-in .bmf-surfaces article:nth-child(1),
html.bmf-motion-ready .bmf-section.is-in .bmf-steps li:nth-child(1),
html.bmf-motion-ready .bmf-section.is-in .bmf-services-strip article:nth-child(1),
html.bmf-motion-ready .bmf-section.is-in .bmf-service-list .bmf-service:nth-child(1) { transition-delay: 80ms; }

html.bmf-motion-ready .bmf-section.is-in .bmf-index-table li:nth-child(2),
html.bmf-motion-ready .bmf-section.is-in .bmf-surfaces article:nth-child(2),
html.bmf-motion-ready .bmf-section.is-in .bmf-steps li:nth-child(2),
html.bmf-motion-ready .bmf-section.is-in .bmf-services-strip article:nth-child(2),
html.bmf-motion-ready .bmf-section.is-in .bmf-service-list .bmf-service:nth-child(2) { transition-delay: 160ms; }

html.bmf-motion-ready .bmf-section.is-in .bmf-index-table li:nth-child(3),
html.bmf-motion-ready .bmf-section.is-in .bmf-surfaces article:nth-child(3),
html.bmf-motion-ready .bmf-section.is-in .bmf-steps li:nth-child(3),
html.bmf-motion-ready .bmf-section.is-in .bmf-services-strip article:nth-child(3),
html.bmf-motion-ready .bmf-section.is-in .bmf-service-list .bmf-service:nth-child(3) { transition-delay: 240ms; }

html.bmf-motion-ready .bmf-section.is-in .bmf-index-table li:nth-child(4),
html.bmf-motion-ready .bmf-section.is-in .bmf-surfaces article:nth-child(4),
html.bmf-motion-ready .bmf-section.is-in .bmf-steps li:nth-child(4),
html.bmf-motion-ready .bmf-section.is-in .bmf-services-strip article:nth-child(4),
html.bmf-motion-ready .bmf-section.is-in .bmf-service-list .bmf-service:nth-child(4) { transition-delay: 320ms; }

html.bmf-motion-ready .bmf-section.is-in .bmf-services-strip article:nth-child(5),
html.bmf-motion-ready .bmf-section.is-in .bmf-service-list .bmf-service:nth-child(5) { transition-delay: 400ms; }

html.bmf-motion-ready .bmf-footer.is-in .bmf-footer__col:nth-child(1) { transition-delay: 40ms; }
html.bmf-motion-ready .bmf-footer.is-in .bmf-footer__col:nth-child(2) { transition-delay: 120ms; }
html.bmf-motion-ready .bmf-footer.is-in .bmf-footer__col:nth-child(3) { transition-delay: 200ms; }
html.bmf-motion-ready .bmf-footer.is-in .bmf-footer__col:nth-child(4) { transition-delay: 280ms; }

.bmf-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: var(--bmf-space-8);
  border-radius: 50%;
  background: var(--bmf-color-brand-primary);
  vertical-align: middle;
  animation: bmf-pulse 1.8s ease-out infinite;
}

@keyframes bmf-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.bmf-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bmf-space-8) var(--bmf-space-16);
  margin: 0 0 var(--bmf-space-16);
  font-size: var(--bmf-font-size-caption);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bmf-color-text-kicker-on-dark);
}

.bmf-ticker span + span::before {
  content: "/";
  margin-right: var(--bmf-space-16);
  color: var(--bmf-color-support-muted);
}

.bmf-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--bmf-space-24);
  z-index: 1;
  display: none;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(161, 163, 180, 0.5);
  border-radius: var(--bmf-radius-md);
  transform: translateX(-50%);
  pointer-events: none;
}

.bmf-scroll-cue i {
  display: block;
  width: 4px;
  height: 4px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--bmf-color-support-muted);
  animation: bmf-cue 1.8s ease-in-out infinite;
}

@keyframes bmf-cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.2; }
}

@media (min-width: 768px) {
  .bmf-scroll-cue {
    display: block;
  }
}

.bmf-marquee {
  overflow: hidden;
  margin-top: var(--bmf-space-24);
}

.bmf-marquee__track {
  display: flex;
  width: max-content;
  gap: var(--bmf-space-32);
  animation: bmf-marquee 48s linear infinite;
}

.bmf-marquee:hover .bmf-marquee__track {
  animation-play-state: paused;
}

.bmf-marquee .bmf-clients,
.bmf-marquee .bmf-clients ul {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--bmf-space-32);
  margin: 0;
  padding: 0;
  list-style: none;
}

.bmf-marquee .bmf-clients {
  grid-template-columns: none;
}

.bmf-marquee .bmf-clients li {
  min-width: 120px;
}

@keyframes bmf-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bmf-reveal,
  .bmf-mask-title > span,
  .bmf-hero .bmf-map div {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .bmf-hero__photo,
  .bmf-band--inverse::before,
  .bmf-pulse,
  .bmf-scroll-cue i,
  .bmf-marquee__track {
    animation: none;
  }

  .bmf-button:hover {
    transform: none;
  }

  .bmf-marquee {
    overflow: visible;
  }

  .bmf-marquee__track {
    display: block;
    width: auto;
  }

  .bmf-marquee .bmf-clients {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .bmf-marquee .bmf-clients ul {
    display: contents;
    width: auto;
  }

  @media (min-width: 768px) {
    .bmf-marquee .bmf-clients {
      grid-template-columns: repeat(6, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .bmf-marquee .bmf-clients {
      grid-template-columns: repeat(8, 1fr);
    }
  }

  .bmf-marquee .bmf-clients[aria-hidden="true"] {
    display: none;
  }

  .bmf-scroll-cue {
    display: none;
  }

  .bmf-connections path {
    stroke-dasharray: none;
  }
}

.bmf-status {
  padding: var(--bmf-space-16);
  border: 1px solid var(--bmf-color-border-subtle);
  border-radius: var(--bmf-radius-md);
  margin-bottom: var(--bmf-space-24);
}
