/* Reset e básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #49bbc1;
  color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #49bbc1;
}

header {
  background: #49bbc1;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 100px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  font-weight: 600;
  padding: 8px 12px;
}

nav ul li a:hover,
nav ul li a.active {
  background: #3a9aa9;
  border-radius: 4px;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  height: 600px;
  max-height: 80vh;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .carousel {
    height: 300px;
    max-height: 50vh;
  }
}

.carousel .slide {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel .slide.active {
  opacity: 1;
  z-index: 10;
}

/* Botões */
.btn-manifesto {
  display: inline-block;
  padding: 10px 20px;
  background: #FF9800;
  color: white;
  border-radius: 5px;
}

.btn {
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  margin-right: 10px;
  display: inline-block;
}

.btn-participa {
  background: #008CBA;
}

.btn-opiniao {
  background: #4CAF50;
}

/* Footer */
footer {
  background: #f4f4f4;
  padding: 20px;
  color: #666;
  font-size: 0.9rem;
  margin-top: 50px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Social section */
.social-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 40px 20px;
  text-align: center;
  background-color: #49bbc1;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.social-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 3rem;
  margin-bottom: 40px;
}

.social-icons a {
  color: white;
  transition: color 0.3s ease;
}

.social-icons a[aria-label="Facebook"]:hover {
  color: #3b5998;
}

.social-icons a[aria-label="Instagram"]:hover {
  color: #e4405f;
}

.social-icons a[aria-label="YouTube"]:hover {
  color: #ff0000;
}


/* Notícias */
/* Lista de notícias */
.lista-noticias {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;   /* fundo branco */
  color: #000;        /* texto preto */
  border-radius: 8px;
  overflow: hidden;
  min-height: 250px;
}

/* Notícias individuais */
.noticia {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  text-align: center;
  padding: 20px;
}

.noticia.active {
  opacity: 1;
  position: relative;
}

.noticia h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #49bbc1;
  font-weight: bold;
}

.noticia p {
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 500;
  color: #000; /* Garantido: preto */
}

.noticia img {
  max-width: 70%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.noticia p.justificado {
  text-align: justify;
}
