/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Corpo do site */
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Cabeçalho */
header {
    background: #000000;
    color: white;
    padding: 20px 0;
    text-align: center; 
}

header .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

header h1 {
    margin: 0; 
    font-size: 2.5rem; 
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    margin-top: 10px; 
    padding: 0;
}

nav ul li {
    margin: 0 15px; 
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007BFF; 
}

nav ul li a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.sobre-projeto {
    padding: 40px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.sobre-projeto h2 {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 20px;
}

.sobre-projeto p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Seção "Equipe" */
.equipe {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
}

.equipe h2 {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 20px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Card horizontal com tamanho ajustado */
.card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 100%;
    max-width: 750px;
    display: flex;
    align-items: center;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* A imagem agora ocupa 45% da largura do card */
.card img {
    width: 45%; /* A imagem ocupa 45% da largura do card */
    height: auto;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

/* Estilos do texto à direita */
.card .text-container {
    padding: 20px;
    text-align: left;
    width: 55%;
}

.card h3 {
    font-size: 1.7rem;
    color: #007BFF;
    margin-top: 0;
}

/* Ajustar o estilo para os nomes */
.card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
    white-space: pre-line; /* Garante que o <br> seja respeitado */
    text-align: left; /* Alinha o texto à esquerda */
}
footer {
    text-align: center;
    background-color: #007BFF;
    color: white;
    padding: 10px;
    margin-top: 92px;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #0056b3;
}

/* -------- MENU HAMBURGUER RESPONSIVO -------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle.active i {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #000;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    text-align: center;
    border-bottom: 3px solid #007BFF;
  }

  nav.open {
    max-height: 300px; /* ajustável conforme o número de links */
  }

  nav ul {
    flex-direction: column;
    padding: 10px 0;
    gap: 10px;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 10px 0;
    color: #fff;
    border-radius: 0;
    font-size: 1.1rem;
    transition: background 0.3s ease;
  }

  nav ul li a:hover {
    background-color: #007BFF;
  }

  .menu-toggle {
    display: block;
  }
}










