/* ====== RESET E BASE ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f9f9f9;
  color: #333;
  overflow-x: hidden;
}

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

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* ====== TOPO FIXO ====== */
.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
  background-color: #ffc107;
  color: #000;
  padding: 5px 0;
  font-size: 14px;
  text-align: center;
}

.header-bg {
  background-color: #fff;
  padding: 10px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}



.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ff9900;
}

/* Responsivo */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  .menu-toggle {
    display: block;
    margin-bottom: 10px;
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: center;
    background-color: #fff;
    padding: 15px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }

  .menu.open {
    display: flex;
  }
}

/* ====== SLIDER DE EVENTOS ====== */
.evento-slider {
  margin-top: 90px;
  padding: 40px 0;
}
@media (max-width: 768px) {
.evento-slider {
  margin-top: 120px;
  padding: 40px 0;
}
.logo img{ margin-top:8px;}
}
.slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 10px;
  box-sizing: border-box;
}

.slide-inner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-color: #000;
}

.slide-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

.slide-caption a{
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 5px;
  color:#FFF;
  text-decoration:none;
}

.slide-caption p {
  font-size: 0.9rem;
  color: #ffcc00;
}

.slider-btn {
  position: absolute;
  top: 50%;
  margin:8px;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

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

.slider-btn.next {
  right: 10px;
}

@media (max-width: 768px) {
  .slide {
    flex: 0 0 100%;
    padding: 0 10px;
  }

  .slide-caption h3 {
    font-size: 1rem;
  }

  .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}


/* ====== rodape ====== */

footer {
  padding: 40px 0;
  background: #222;
  color: #fff;
  text-align: center;
  font-size: 14px;
}

.banners-topo-slide {
  display: flex;
  gap: 20px;
  margin: 40px auto;
}

.banner-item {
  flex: 1;
}

.banner-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .banners-topo-slide {
    flex-direction: column;
    gap: 15px;
  }
}


.ver-todos-container {
  text-align: center;
  margin-top: 25px;
}

.btn-ver-todos {
  display: inline-block;
  background-color: #ffc72c;
  color: #444;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  padding: 20px 40px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-ver-todos:hover {
  background-color: #e6b221;
  color: #222;
}

footer {
  margin-top: 60px;
  font-family: 'Montserrat', sans-serif;
  background-color: #eeeeee;
}

.footer-top {
  background-color: #ffc72c;
  padding: 20px 0;
  text-align: center;
}

.social-icons a {
  font-size: 24px;
  margin: 0 10px;
  color: #000;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.footer-main {
  text-align: center;
  padding: 30px 20px;
}

.footer-logo {
  max-height: 50px;
  margin-bottom: 20px;
}

.footer-menu {
  margin: 20px 0;
}

.footer-menu a {
  margin: 0 10px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer-line {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 20px auto;
  width: 80%;
}

.footer-copy {
  font-size: 14px;
  color: #444;
}


/* ============== NOTÍCIAS =================== */
.bloco-noticias {
  padding: 40px 20px;
  background: #f5f5f5;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.titulo-card {
  font-size: 2rem;
  margin-bottom: 30px;
  display: block;
  text-align: center;
}

.yellow {
  color: #f0ad00;
}

.container-noticias {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

/* Primeira linha com 2 cards */
.linha-dois-cards .card-noticia {
  width: calc(50% - 10px);
}

/* Segunda linha com 3 cards */
.linha-tres-cards .card-noticia {
  width: calc(33.333% - 13.33px);
}

.card-noticia {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card-noticia:hover {
  transform: translateY(-4px);
}

.card-noticia .thumb img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.card-noticia h4 {
  font-size: 22px;
  margin: 15px 15px 10px;
  color: #333;
  line-height: 1.4;
  text-decoration: none;
}

.card-noticia a {
  text-decoration: none;
  color: inherit;
}

.card-noticia a:hover {
  text-decoration: none;
  color: inherit;
}

.card-noticia .ler-mais {
  margin: 0 15px 15px;
  color: #f0ad00;
  font-weight: bold;
  display: inline-block;
}

.card-noticia .ler-mais:hover {
  text-decoration: underline;
}

.ver-todas-postagens {
  text-align: center;
  margin-top: 20px;
}

.ver-todas-postagens a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0ad00;
  color: #fff;
  font-weight: bold;
  font-size:25px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.ver-todas-postagens a:hover {
  background-color: #d18f00;
}

/* Responsivo */
@media screen and (max-width: 768px) {
  .linha-dois-cards .card-noticia,
  .linha-tres-cards .card-noticia {
    width: 100%;
  }
}



/* ==================== AGENDA ================ */
.agenda-slider {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.agenda-viewport {
  overflow: hidden;
  width: 100%;
}

.agenda-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 30px; /* espaçamento entre os cards */
  padding: 0 15px;
}

.agenda-card {
  flex: 0 0 calc(33.3333% - 20px);
  max-width: calc(33.3333% - 20px);
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


@media (max-width: 768px) {
  .agenda-card {
    flex: 0 0 100%;
    max-width: 80%;
  }
}

.agenda-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
}

.agenda-dia {
  background: #ffc920;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agenda-info small {
  font-size: 14px;
  color: #888;
}

.agenda-info strong {
  display: block;
  font-size: 16px;
  color: #222;
  line-height: 1.2em;
}

.agenda-imagem img {
  width: 100%;
  height: 350px;
  cursor:pointer;
  display: block;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.agenda-card-image {
  width: 100%;
  height: 350px; /* ou o valor fixo que você quiser para o corte */
  overflow: hidden;
    cursor:pointer;
  border-radius: 8px;
}

.agenda-card-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
    cursor:pointer;
  object-position: top; /* garante o corte pelo topo */
  display: block;
}


/* Botões do slider */
.agenda-btn {
  background-color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  width: 40px;
  height: 40px;
  font-size: 20px;
  font-weight: bold;
  color: #444;
  cursor: pointer;
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.agenda-btn:hover {
  background-color: #ffca28;
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.agenda-btn.prev {
  left: 0;
}

.agenda-btn.next {
  right: 0;
}


span.titulo-card{ 
font-size:40px;
text-align:center !important;
font-weight:300;
margin-bottom:20px;
display:block;
}
span.yellow{
font-weight:800;
color:#ffc72c;}


/* Modal container *//* Modal container */
.agenda-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
}

/* Botão fechar */
.agenda-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}
.agenda-close:hover {
  color: #ffca28;
}

/* Wrapper com flex centralizado */
.agenda-modal-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  padding: 20px;
  box-sizing: border-box;
}

/* Imagem responsiva e centralizada */
.agenda-modal-content {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

/* Responsivo para mobile */
@media (max-width: 600px) {
  .agenda-modal-content {
    max-height: 75vh;
  }
  .agenda-close {
    font-size: 28px;
    top: 10px;
    right: 20px;
  }
}






.bloco-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px auto;
  justify-content: center;
}

.video-container {
  flex: 1 1 calc(50% - 10px);
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .video-container {
    flex: 1 1 100%;
  }
}
