section.sobre {
  font-size: 18px;
  line-height: 1.7;
}
.instagram-media {
  max-width: 260px !important;
  min-width: 220px !important;
}
.container-instagram {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.instagram-media {
  max-width: 220px !important;
  min-width: 200px !important;
  margin: 10px;
}

.botao-instagram {
  text-align: center;
  margin-top: 20px;
}

.botao-instagram a {
  display: inline-block;
  background-color: #5E2C33;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.botao-instagram a i {
  margin-right: 8px;
}

.botao-instagram a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.redes {
  text-align: center;
  margin: 40px auto;
}

.redes h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #1D3B4D;
}

.botoes-redes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.botoes-redes a {
  background-color: #5E2C33;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.botoes-redes a i {
  font-size: 18px;
}

.botoes-redes a:hover {
  background-color: #842e3b;
  transform: scale(1.05);
}
.botao-flutuante-insta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #5E2C33;
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.botao-flutuante-insta i {
  font-size: 22px;
}

.botao-flutuante-insta:hover {
  background-color: #842e3b;
  transform: scale(1.1);
}
@keyframes pulsar {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.botao-flutuante-insta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #5E2C33;
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  animation: pulsar 2.8s infinite ease-in-out;
}

.botao-flutuante-insta i {
  font-size: 22px;
}
@media screen and (max-width: 768px) {
  .barra-lateral {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-around;
    border-radius: 0;
    transform: none;
    padding: 10px 0;
  }

  .barra-lateral a {
    font-size: 14px;
    padding: 10px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .barra-lateral a:last-child {
    border-right: none;
  }

  .toggle-bar {
    display: none;
  }
}
/* Esconder a nova seção em telas grandes */
.menu-mobile {
  display: none;
}

/* Mostrar a nova seção e esconder a barra lateral em telas pequenas */
@media screen and (max-width: 768px) {
  .menu-mobile {
    display: block;
    padding: 20px;
    background-color: #F7F9FA;
    text-align: center;
  }

  .botoes-menu-mobile a {
    display: inline-block;
    margin: 8px;
    padding: 12px 20px;
    background-color: #5E2C33;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.2s ease;
  }

  .botoes-menu-mobile a:hover {
    transform: scale(1.05);
    background-color: #842e3b;
  }

  .barra-lateral {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .barra-lateral {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
  }
}
.imprensa-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
}
.imprensa-carousel .card {
  min-width: 300px;
  height: 200px;
  flex: 0 0 auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  scroll-snap-align: start;
}
.imprensa-carousel iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.carousel a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 300px;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

.carousel img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carousel p {
  margin-top: 8px;
  font-weight: bold;
  font-size: 16px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.carousel {
  display: flex;
  gap: 20px;
  animation: scroll-carousel 60s linear infinite;
}

.carousel a {
  flex: 0 0 auto;
  width: 300px;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

.carousel img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carousel p {
  margin-top: 8px;
  font-weight: bold;
  font-size: 16px;
}

.carousel-btn {
  display: none; /* Esconde as setas já que o carrossel é automático */
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.carousel {
  display: flex;
  gap: 20px;
  animation: scroll-carousel 60s linear infinite;
}

@keyframes scroll-carousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}