*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  overflow-x: hidden !important;
}

body {
  box-sizing: border-box;
  background-color: #0e0f0f;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-weight: 300;
  color: #686864;
  overflow-x: hidden;
  font-size: 2.4rem;
  line-height: 160%;
}

.navbar {
  gap: 8rem;
}

.navbar__logo {
  width: 13rem;
  height: auto;
}

.navbar__link {
  color: #686864;
  text-decoration: none;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.navbar__link:hover {
  color: #dfbb5f;
}

.filters {
  background-color: #141414 !important;
}

/* Dark form controls: campos de formulário escuros com texto claro */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select,
.form-control,
.form-select {
  background-color: #0b0b0b !important;
  color: #8d8d8d !important;
  border: 1px solid #2b2b2b !important;
  box-shadow: none !important;
  min-height: 4rem;
  padding: 0.8rem 1.4rem;
  line-height: 1.4;
  font-size: 1.7rem;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-weight: 300;
  border-radius: 0.7rem;
}

/* Placeholder mais suave */
input::placeholder,
textarea::placeholder {
  color: #9aa0a6 !important;
  opacity: 1;
}

/* Opções do select */
select option {
  background-color: #0b0b0b;
  color: #f1f1f1;
}

/* Foco: destacar sem branquear o fundo */
input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
  outline: none !important;
  border-color: #6c757d !important;
  box-shadow: 0 0 0 0.15rem rgba(108, 117, 125, 0.15) !important;
  background-color: #0b0b0b !important;
  color: #ffffff !important;
}

/* Campos desabilitados/readonly ficam visíveis, mas menos destacáveis */
input[disabled],
textarea[disabled],
select[disabled],
input[readonly],
textarea[readonly] {
  background-color: #0f0f0f !important;
  color: #8b8b8b !important;
  opacity: 1 !important;
}

/* Pequenos ajustes para compatibilidade com Bootstrap classes */
.form-control::placeholder {
  color: #9aa0a6;
}
.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Botão de busca (dentro de .filters .input-group) - visual dark, borda cinza para combinar com os inputs */
.filters .input-group .btn,
.filters .input-group .btn.btn-primary,
.filters .btn.btn-primary {
  background-color: #0b0b0b !important;
  color: #f1f1f1 !important;
  border: 1px solid #2b2b2b !important;
  box-shadow: none !important;
}

.filters .input-group .btn:hover,
.filters .input-group .btn:focus,
.filters .btn.btn-primary:hover,
.filters .btn.btn-primary:focus {
  background-color: #111111 !important;
  border-color: #6c757d !important;
  color: #ffffff !important;
}

/* Ajuste do ícone interno do botão para manter contraste */
.filters .input-group .btn svg {
  fill: currentColor;
}

.container--max-width {
  max-width: 155rem;
  margin-left: auto;
  margin-right: auto;
}

/* Cards: fundo escuro com texto claro */
.card {
  background-color: #1a1a1a !important;
  border: 1px solid #2b2b2b !important;
  color: #f1f1f1 !important;
}

.card-body {
  background-color: #1a1a1a !important;
  color: #f1f1f1 !important;
}

.card-title {
  color: #ffffff !important;
  font-weight: 600;
}

.card-text {
  color: #b0b0b0 !important;
}

.card-text.text-muted {
  color: #9aa0a6 !important;
}

.card-text.text-dark {
  color: #ffffff !important;
}

.card-text.text-secondary {
  color: #8b8b8b !important;
}

/* Efeitos hover em cards com transição suave */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  border-color: #caab43 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Texto de secundário em cards: uma linha com ellipsis */
.card-text.small.text-secondary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Gradiente no nome do atleta (card-title): DFBB5F (topo direito) para A47629 (esquerda em baixo) */
.card-title {
  background: linear-gradient(170deg, #a47629 0%, #dfbb5f 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  font-size: 3.3rem;
}

/* Mostrar a imagem inteira dentro do card sem crop */
.card-img-top {
  background-color: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-top img,
.card-img-top .wp-post-image,
img.object-fit-cover {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
}

.card-img-top img.full-width-fit {
  width: 100%;
  height: auto;
  object-fit: unset;
}

.peca--propriedade {
  font-size: 1.3rem;
  color: #ad8a3f;
}

.peca--atleta {
  font-size: 5rem;
  background: linear-gradient(170deg, #a47629 0%, #dfbb5f 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  font-weight: bold;
}

.peca--prop-maior {
  font-size: 3.6rem;
  margin-top: 30rem !important;
  padding-top: 30rem !important;
}

.peca--descricao {
  font-size: 2.4rem;
}

.highlight {
  color: #ad8d51;
}

@media (max-width: 1200px) {
  body {
    line-height: 1.4;
  }
}

.hero {
  width: 100%;
  max-width: 182rem;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.hero__text {
  width: 43rem;
  bottom: 4rem;
  left: 18rem;
  z-index: 2;
}

.hero__text--container {
  position: absolute;
  width: 84%;
  z-index: 3;
  bottom: calc(14vw - 15rem);
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

.museu {
  max-width: 182rem;
}

.acervo__cards {
  max-width: 152rem;
  z-index: 2;
}

.acervo__content {
  max-width: 162rem;
  z-index: 1;
}

.manifesto {
  max-width: 182rem;
}

.manifesto__video {
  max-width: 120rem;
  height: auto;
  aspect-ratio: 16 / 9;
}

.footer-iconica {
  background-color: #080808;
  padding: 9rem 18rem;
}

.hero__image--img {
  width: 100%;
  height: auto;
  /* opacity: 50%; */
}

.text-border {
  border: 1px solid #ad8d51;
  display: inline-block;
  box-sizing: border-box;
}

.btn-visitar-acervo {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.48rem 1.6rem;
  border: 1.8px solid #ad8d51;
  background-color: #0e0f0f;
  color: #ad8d51;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  font-family: "DM Sans", Arial, sans-serif;
  transition: all 0.3s ease;
  border-radius: 0.9rem;
}

.btn-visitar-acervo:hover {
  background-color: #ad8d51;
  color: #0e0f0f;
}

.hero__shirt-wrapper {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  height: 93%;
  width: auto;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.section--margin-top {
  margin-top: 14rem !important;
}

.hero__shirt-wrapper img {
  position: absolute;
  top: 0;
  left: 50%;
  /* start slightly to the right of center so animation moves left */
  transform: translateX(calc(-50% + 10%));
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0;
  animation: fadeSlide 12s ease-in-out infinite;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateX(calc(-50% + 10%));
  }
  8.333% {
    opacity: 1;
    transform: translateX(calc(-50% + 0%));
  }
  30% {
    opacity: 1;
    transform: translateX(calc(-50% - 0%));
  }
  40% {
    opacity: 0;
    transform: translateX(calc(-50% - 10%));
  }
  100% {
    opacity: 0;
    transform: translateX(calc(-50% - 10%));
  }
}

.hero__shirt-wrapper img:nth-child(1) {
  animation-delay: 0s;
}
.hero__shirt-wrapper img:nth-child(2) {
  animation-delay: 4s;
}
.hero__shirt-wrapper img:nth-child(3) {
  animation-delay: 8s;
}

@media (max-width: 1200px) {
  body {
    font-weight: 400;
  }

  .footer-iconica {
    background-color: #080808;
    padding: 1.5rem 3rem;
  }

  .navbar {
    gap: 1.5rem;
  }
  .hero {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .section--margin-top {
    margin-top: 7rem !important;
  }

  .hero__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
  }

  .btn-visitar-acervo {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0rem 3.75rem;
  }

  .hero__text {
    width: 100% !important;
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0;
    padding: 3rem 3.75rem;
    line-height: 1.4;
  }

  .hero__text--container {
    position: static !important;
    width: 100% !important;
    bottom: auto !important;
    z-index: 2;
    padding: 0 0.75rem;
  }

  .museu {
    max-width: 182rem;
  }

  .museu__title img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .museu__image {
    display: flex !important;
    justify-content: center !important;
  }

  .museu__image-img {
    width: 70% !important;
    max-width: 70% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain;
  }

  .museu__texto {
    width: 100% !important;
    padding: 0rem 5.75rem;
  }

  .footer-iconica .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem;
  }

  .footer-iconica .d-flex span {
    display: block;
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 1201px) {
  .museu {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto auto;
    gap: 1.5rem 2rem;
    align-items: start;
    width: 100%;
    max-width: 182rem;
    margin-left: auto;
    margin-right: auto;
  }

  .museu__image {
    grid-column: 1 / 2;
    grid-row: 1 / span 2;
    align-self: start;
    justify-self: start;
  }

  .museu__image-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .museu__texto {
    max-width: 68rem;
    margin-left: 4rem;
  }

  .acervo {
    display: flex;
    flex-direction: column;
  }

}

/* ===== Fim do CSS importado ===== */

/* ===== Breadcrumb Navigation ===== */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
}

.breadcrumb-link {
  color: #686864;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #dfbb5f;
}

.breadcrumb-separator {
  color: #686864;
}
