* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f4f7f9;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

header {
  background-color: #003366;
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

quem-somos{
  text-align: center;
}

.texto_a{
  font-size: 1rem;
}

.text_logo {
  font-size: 2rem;
  font-weight: bold;
}

.verde { color: green; }
.azul { color: #007BFF; }
.amarelo { color: #FFC107; }

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding: 5px;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: white;
  transition: width 0.3s;
  position: absolute;
  bottom: 0;
  left: 0;
}

nav a:hover {
  color: #FFD700;
}
nav a:hover::after {
  width: 100%;
}

/* Carousel */
.carousel {
  overflow: hidden;
  position: relative;
}

.carousel {
  height: auto;
  background-color: #f0f0f0; /* opcional, só para evitar fundo branco “quebrado” */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-images {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
}

.carousel-images img {
  width: 100%;
  height: auto; /* permite imagem se adaptar naturalmente */
  object-fit: contain; /* exibe a imagem inteira sem corte */
  flex-shrink: 0;
  max-height: 400px;
  object-fit: cover
}

/* Seções */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #003366;
}

.produtos, .missao {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor:default;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
  cursor:default;
}

.footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

/* Celulares até 480px */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .text_logo {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .texto_centro{
  text-align: center;
  }
}

/* Tablets entre 481px e 768px */
@media (max-width: 768px) {
  .botao-ver-mais {
    padding: 14px 24px;
    font-size: 16px;
  }

  .botao-ver-mais .texto {
    font-size: 16px;
  }

  .texto_centro{
  text-align: center;
  }
}

@media (max-width: 480px) {
  .botao-ver-mais {
    flex-direction: column;
    padding: 12px 20px;
    font-size: 14px;
  }

  .texto_centro{
  text-align: center;
  }

  .botao-ver-mais .texto {
    font-size: 14px;
  }
}