html {
  scroll-behavior: smooth;
}

body {
  color: #132238;
  background: #ffffff;
}

[hidden] {
  display: none !important;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

#inicio {
  scroll-margin-top: 0;
}

.saltar {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 90;
  background: #ffffff;
  color: #0052a5;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.marca {
  display: inline-flex;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}

.marca-svg {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 100%;
  --marca-ouro: #f26500;
  --marca-prata: #0052a5;
}

footer .marca-svg {
  height: 4.75rem;
  --marca-ouro: #ffffff;
  --marca-prata: #ffffff;
}

@media (min-width: 640px) {
  .marca-svg {
    height: 3.25rem;
  }

  footer .marca-svg {
    height: 5.5rem;
  }
}

.filtro {
  border: 1px solid #dce3ec;
  background: #ffffff;
  color: #132238;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.filtro[aria-pressed="true"] {
  background: #0052a5;
  border-color: #0052a5;
  color: #ffffff;
}

.campo-erro {
  border-color: #9f2d00 !important;
}

.mensagem-erro {
  color: #9f2d00;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

#modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#modal-fundo {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(19, 34, 56, 0.72);
  cursor: pointer;
}

#modal-painel {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  max-height: 100svh;
  overflow: auto;
  background: #ffffff;
}

@media (min-width: 640px) {
  #modal:not([hidden]) {
    align-items: center;
    padding: 1.5rem;
  }

  #modal-painel {
    max-height: 90svh;
    border-radius: 1rem;
  }
}

@media (min-width: 768px) {
  #menu-movel {
    display: none !important;
  }
}

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

:focus-visible {
  outline: 2px solid #0052a5;
  outline-offset: 2px;
}

.galeria-miniatura {
  flex: 0 0 auto;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  padding: 0;
  overflow: hidden;
  background: #f5f7fa;
}

.galeria-miniatura[aria-pressed="true"] {
  border-color: #0052a5;
}
