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

html {
  /* ScrollSmoother no desktop; CSS smooth só em telas menores */
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 1023px) {
  html {
    scroll-behavior: smooth;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--bp-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--bp-text);
  background: var(--bp-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--bp-green);
  outline-offset: 3px;
}

.bp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--bp-black);
  color: var(--bp-white);
  padding: 12px 16px;
  border-radius: 0 0 8px 0;
}

.bp-skip:focus {
  left: 0;
}

.bp-container {
  width: min(100% - (var(--bp-pad-x) * 2), var(--bp-max));
  margin-inline: auto;
}

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

/* Loader inicial */
.bp-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: var(--bp-bg-soft);
  transition: opacity 0.45s var(--bp-ease), visibility 0.45s;
}

.bp-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bp-loader__mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(0, 191, 99, 0.15);
  border-top-color: var(--bp-green);
  animation: bp-spin 0.7s linear infinite;
}

@keyframes bp-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1023px) {
  .bp-loader__mark {
    animation: none;
    border-top-color: var(--bp-green);
    opacity: 0.85;
  }
}
