/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #e8f0fe, #ffffff);
}

 table {
      border-collapse: collapse;
      width: 60%;
      background-color: #ffffff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      overflow: hidden;
    }
 th, td {
      padding: 15px 20px;
      text-align: center;
    }
 th {
      background-color: #282F75;
      color: white;
      font-size: 18px;
    }
     tr:nth-child(even) {
      background-color: #f9fafb;
    }

    tr:hover {
      background-color: #eef2ff;
    }
/* Cabeçalho */
header {
  background: url(https://u1.padletusercontent.com/uploads/padlet-uploads-usc1/2499790078/aa352dda569bede6ca85f680208c2cf5/_Pngtree_green_with_gold_background_1458501.jpg?token=MraUHFZrqF3gMDYgogNN-CTPT0fPqtCCD4V7NdHlk7Vu8ayRkeQzJvQVrv5pg6ZHtk1xnx8G3UDETAqVWjiysW8j5n7E6cCroPYG7BsbEbExYY8qcGk65OEklk1bVHnJKnkDrF0tzF6S8LjAOxzeH6oQSvn0yFY1G8nAflC_Unqt70p6XEoAkAopA9NcjICFV5tB6fauxZIFSsMIxGhH1rRwc53znJhbunVtYDwwFBYdOJ8KCnP3KfaQPMCox5c6e7ohPKa-9k8pcxL66MtF2n0RFMGgnGR6kD1RGZ1nkYw=);
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center;
  color: #008036;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
  text-align: center;
  
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10%;
  padding: 1%;
}
@keyframes fadeInGrow {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.logo-container {
  animation: fadeInGrow 1s ease-out forwards;
  transition: transform 0.3s ease-in-out;
}

.logo-container:hover {
  transform: scale(1.05);
  cursor: pointer;
}


header img {
  height: 50px;
}

header h1 {
  font-size: 1.5rem;
}

/* Botão do menu hambúrguer */
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: none; /* aparece só em celular */
}

/* Menu padrão */
nav {
  background-color:#008036;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  padding: 14px 20px;
  display: block;
  color: white;
  text-decoration: none;
}

nav a:hover {
  background-color: #00429A;
}

/* Carrossel */
.carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 300px;
}

.slides {
  display: flex;
  width: 300%;
  transform: translateY(-50%);
  transition: transform 0.5s ease-in-out;
   animation: scrollSlides 50s linear infinite; 
}

.slides img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
@keyframes scrollSlides {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* se houver 6 imagens: 3 originais + 3 duplicadas */
}


/* Cards */
main {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  background-color: #f5f7fa;
}

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
}
.atuacao1 {
text-align: justify;
padding: 10px;
}
.atuacao1 h1 {
text-align:left;
color: #282F75;
}
.atuacao1 img {
display: flex;
float: left;
border-radius: 10%;
height: 300px;
width:500px ;
padding: 10px;
}
.atuacao2 {
text-align: justify;
padding: 10px;
}
.atuacao2 h1 {
text-align:right;
color: #282F75;
}
.atuacao2 img {
display: flex;
float:right;
border-radius: 10%;
height: 300px;
width:500px ;
padding: 10px;
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card p {
  padding: 10px;
}

/* Rodapé */
footer {
  background-color: #008036;
  color: white;
  text-align: center;
  padding: 15px;
}

/* ====================
   RESPONSIVIDADE
==================== */
@media (max-width: 768px) {
  /* Mostra botão hamburguer */
  .menu-toggle {
    display: block;
  }

  /* Oculta menu por padrão */
  nav {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  /* Mostra menu quando ativado por JS */
  nav.show {
    display: flex;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header h1 {
    font-size: 1.2rem;
  }
}
