:root {
  --primary-green: #00703c;
  --secondary-beige: #d4cdb4;
  --secondary-beige-rgb: 212, 205, 180;
}

@font-face {
  font-family: "bitter";
  src: url("/media/fonts/Bitter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "inter";
  src: url("/media/fonts/Inter_24pt-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "inter";
  src: url("/media/fonts/Inter_24pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "inter";
  src: url("/media/fonts/Inter_24pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

.bitter {
  font-family: "bitter", serif !important;
}

.inter-semibold {
  font-family: "inter", sans-serif !important;
  font-weight: 600 !important;
}

.inter-medium {
  font-family: "inter", sans-serif !important;
  font-weight: 500 !important;
}

.inter-light {
  font-family: "inter", sans-serif !important;
  font-weight: 300 !important;
}

* {
  font-family: "bitter", serif !important;
}

html,
body {
  min-height: 100vh;
  color: #565654 !important;
}

.btns-provas {
  color: white !important;
}

.navbar {

  font-family: "roboto", sans-serif !important;
  font-size: 18px;
  color: #565654 !important;
/* ADIÇÕES CRITICAS: */
  position: relative !important; /* Define um contexto de posicionamento */
  z-index: 1001 !important;      /* Maior que a barra de botões (que é 90) */
}

.nav-item a {
  color: #565654 !important;
  font-family: "inter", sans-serif !important;
  font-weight: 400 !important;
}

.nav-item a:hover {
  color: lightgray !important;
}

#footer-content {
  background-color: white !important;
  color: #565654 !important;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  font-family: "roboto", sans-serif !important;
}

#main-content {
  color: black !important;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px !important;
  }
}

.carousel-indicators {
  padding-bottom: 3rem !important;
}

.carousel-indicators > button {
  border-radius: 50% !important;
  width: 10px !important;
  height: 10px !important;
}

.carousel-caption {
  padding-bottom: 4rem !important;
}

/* Comportamento exclusivo no Mobile */
@media (max-width: 768px) {
  .sec-provas {
    margin-top: -20px;
  }


  .carousel-caption {
    bottom: 0 !important;
    padding-bottom: 1.5rem !important; /* Desce o texto para o limite inferior */
  }

  /* Diminui o tamanho das fontes apenas no celular */
  .carousel-caption h5 {
    font-size: 1rem !important;
  }

  .carousel-caption p {
    font-size: 0.8rem !important;
  }
}

/* Container base do carrossel */
#carousel {
  width: 100%;
  overflow: hidden;
}

/* Imagens do carrossel: Adaptáveis e fluidas */
.carousel-image img {
  width: 100%;
  height: auto;
  max-height: 60vh; /* No Desktop, o banner ocupa no máximo 60% da altura da tela */
  object-fit: cover;
  object-position: center; /* Garante que o centro da imagem seja sempre o foco */
}

/* Comportamento no Mobile */
@media (max-width: 768px) {
  .carousel-image img {
    max-height: 80vh; /* No Celular, permite que o banner ocupe mais espaço */
  }
}

.back-topo-provas {
  background-color: rgba(
    var(--secondary-beige-rgb),
    var(--bs-bg-opacity)
  ) !important;
}

/* Margem padrão para o Desktop */
.sec-provas {
  margin-top: -60px;
}

/* Margem reduzida apenas para o Mobile */
@media (max-width: 768px) {
  .sec-provas {
    margin-top: -20px;
  }
}

.bg-opacity-85 {
  --bs-bg-opacity: 0.85 !important;
}

.bg-primary-green {
  background-color: var(--primary-green) !important;
}

/*.carousel-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 -100px 85px rgba(0, 0, 0, 0.8); /* Using box-shadow */
  /* OR using radial-gradient for a more nuanced fade: */
  /* background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}*/

.carousel-image::after {
  display: none; /* Manda a sombra escura desaparecer! */
}

.icon-instagram {
  background-image: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
  background-clip: text;
  color: transparent;
}

