* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #e2e8f0;
  height: 100%;
  font-family: "Alan Sans", sans-serif;
  margin: 0;
}

#container {
  margin-inline: 3rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header #logo {
  width: 60px;
  margin-top: -14px;
}

header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 14px 80px;
  border-radius: 6px;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.menu-checkbox {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  color: #000;
}

header nav ul {
  display: flex;
  gap: 62px;
}

header nav ul li {
  list-style: none;
}

header nav ul li a {
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  color: rgb(27, 27, 27);
}

header nav ul li a:hover {
  color: #e26b0a;
}

/* INDEX */

main {
  display: flex;
  justify-content: center;
  align-items: center;

  flex-direction: column;
  margin-top: 2.5rem;
  flex-grow: 1;
}

#container-titles h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: bold;
}

#container-titles hr {
  margin-block: 10px;
}

#container-image-home img {
  width: 42rem;
}

#container-about-enterprise {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70%;
  margin-top: 2rem;

  gap: 2rem;
}

#container-about-enterprise button {
  background-color: #da6c13;
  padding: 16px 14px;
  border: none;
  outline: none;
  border-radius: 8px;
  color: white;
  font-weight: 400;
  font-size: 18px;
}


/* Página de SOBRE */

.about-container {
  padding: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.about-container h3 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

.about-container h3:first-of-type {
  margin-top: 0;
}

.about-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.tech-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tech-list li {
  background-color: #e7e7e7;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 500;
}

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.roadmap-item {
  border-left: 3px solid #007bff;
  padding-left: 1.5rem;
}

.roadmap-item h4 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

/* Página de FAQ */

.faq-container {
  padding: 2rem;
  width: 900px;
  height: 400px;
  margin: 2rem auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow-y: auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease-in-out;
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-top: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

details[open] .faq-answer {
  max-height: 20rem;
}

/* Página de INTEGRANTES */

.title-integrants {
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;

  font-weight: bold;
}


#container-integrantes {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin-block: 2rem;

}

.integrante {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.integrante img {
  width: 200px;
  border-radius: 24px;
}

.integrantes-info p {
  font-weight: none;
  text-align: center;
  
}

.integrantes-link{
  display: flex;
  gap: 6px;
}

.integrantes-link .item-social-link img {
  width: 30px;


}

/* Página de CONTATOS */

form {
  margin-block: 2rem;

}

#container-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;

}

#container-inputs input,
textarea {
  border: none;
  outline: none;

}


#container-inputs input {
  padding: 8px 20px;
  width: 400px;
  border-radius: 25px;

}

#container-inputs textarea {
  resize: none;
  height: 100px;
  padding: 12px;
  border-radius: 20px;

}

#container-inputs textarea::placeholder {
  font-size: 14px;
}

form button {
  margin-top: 20px;
  padding: 8px 10px;
  border-radius: 20px;
  border: none;
  color: white;
  background-color: #da6c13;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

form button:hover {
  opacity: 0.6;
  background-color: chartreuse;
  transform: scale(1.05);

}

/* FOOTER */

.footer {
  margin-top: 2rem;
  background-color: #f8f9fa;
  color: #495057;
  padding: 4rem 2rem;

  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 200px;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #343a40;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li span {
  font-weight: bold;
}

.footer-column ul li a {
  text-decoration: none;
  color: #495057;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #007bff;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.items-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links li a {
  text-decoration: underline;
}

.item .footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #dee2e6;
  margin-top: 2rem;
}

.footer-bottom {
  text-align: center;
}


@media (max-width: 992px) {
  header nav {
    padding: 10px 40px;
  }

  header nav ul {
    gap: 32px;
  }

  #container-image-home img {
    width: 30rem;
  }

  #container-about-enterprise {
    width: 85%;
  }

  .faq-container {
    width: 90%;
    height: auto;
    padding: 1.5rem;
  }

  .faq-question {
    font-size: 1.1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }

  .social-links {
    justify-content: center;
  }

  .footer-container {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
    justify-content: space-between;
    align-items: center;
  }

  .menu-icon {
    display: block;
    z-index: 1001;

  }

  header nav {
    position: absolute;
    top: 40px;
    right: 0;

    width: 40%;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 20px 0;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1000;

    min-width: 110px;
  }

  header nav ul {
    flex-direction: column;
    gap: 15px;
  }

  header nav ul li a {
    color: #000;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
  }


  .menu-checkbox:checked~nav {
    display: flex;
    animation: fadeIn 0.25s ease-in-out;
  }

  .item-search {
    display: none;
  }

  .integrante img {
    width: 60%;
  }

  .faq-container {
    width: 100%;
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 0;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  #container-titles h2 {
    font-size: 1.2rem;
  }

  header #logo {
    width: 50px;
  }

  #container-image-home {
    text-align: center;
  }

  #container-image-home img {
    width: 90%;
  }

  #container-about-enterprise button {
    width: 100%;
  }

  #container-integrantes {
    flex-direction: column;
  }

  footer {
    padding: 2rem 1rem;
  }

  .footer-bottom p {
    font-size: 0.9rem;
  }
}