/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

/* HEADER */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: #003D82;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 50px;
}

.logo-container img {
  width: 80px;
  height: 80px;
}

.text-group {
  display: flex;
  flex-direction: column;
}

.text-group h1 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  color: white;
}

.text-group span {
  color: #ffd700;
  font-size: 16px;
  margin-top: 5px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #003366;
    padding: 10px 20px;
    height: auto; 
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    letter-spacing: 3px;
    margin-left: 32px;
}

.nav-list li a {
    text-decoration: none;
    transition: color 0.3s;
}

/* MENU MOBILE */
.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 32px;
    height: 3px;
    background: white;
    margin: 6px;
    transition: 0.3s;
}

@media (max-width: 999px) {
  /* .logo-container {
    margin-left: 50px;
  } */

    body {
        overflow-x: hidden;
    }

.nav-list {
  position: absolute;
  top: 100px;
  right: 0;
  width: 60vw;
  height: calc(100vh - 100px);
  background: #003366;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  transform: translateX(100%);
  transition: transform 0.3s ease-in;
}

    .nav-list li {
        margin-left: 0;
        opacity: 0;
    }

    .mobile-menu {
        display: block;
    }

    .nav-list.active {
        transform: translateX(0);
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}
.mobile-menu.active .line2 {
    opacity: 0;
}
.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
}

/* MAIN */
main {
  margin-top: 100px;
  background: url("./images/mulher.jpg") no-repeat center center/cover;
  min-height: 100vh;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  color: white;
}

@media (max-width: 768px) {
  main {
    background-attachment: scroll;
  }
}

.overlay {
  background-color: rgba(19, 75, 131, 0.85);
  padding: 8px 0;
  min-height: 100vh;
}

/* HERO */
.hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero img {
  width: 100px;
  height: 100px;
}

.text-group h1 {
  margin-top: 10px;
}

.hero p {
  font-size: 18px;
  color: white;
  line-height: 1.6;
  max-width: 700px;
  margin: 30px auto;
  font-weight: 400;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 80px;
}

.btn {
  background-color: #ffd700;
  color: #003366;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #e6c200;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
}

.btn-outline:hover {
  background-color: #ffd700;
  color: #003366;
}

/* RESPONSIVIDADE HERO */
@media (max-width: 768px) {
  
  .hero img {
      width: 80px;
      height: 80px;
  }

  .hero p {
      font-size: 16px;
      padding: 0 15px;
  }

  .text-group h1 {
      font-size: 26px;
  }

  .text-group span {
      font-size: 14px;
  }

  .buttons {
      flex-direction: column;
      gap: 15px;
  }

  .btn {
      width: 80%;
  }
}

/* FEATURES */
.features {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 250px;
  flex: 1;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffd700;
}

.feature p {
  font-size: 14px;
}

/* FEATURES RESPONSIVO */
@media (max-width: 600px) {
  .feature {
      max-width: 90%;
  }
}

/* SERVIÇOS */
.servicos {
    background-color: #e6f0fa;
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: 90px;
}

.servicos h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 20px;
}

.servicos p {
  font-size: 18px;
  color: #333;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.servico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.servico-box {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.servico-box h3 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 10px;
}

.servico-box ul {
  padding-left: 20px;
}

.servico-box ul li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* RESPONSIVO SERVIÇOS */
@media (max-width: 600px) {
  .servico-box {
      padding: 20px;
  }

  .servicos p {
      font-size: 16px;
      padding: 0 15px;
  }

  .servicos h2 {
      font-size: 26px;
  }
}

/* SOBRE */
.sobre {
    background-color: #e6f0fa;
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: 9px;
}

.sobre h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 10px;
}

.sobre p {
  font-size: 18px;
  color: #333;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* SOBRE RESPONSIVO */
@media (max-width: 600px) {
  .sobre h2 {
      font-size: 26px;
  }

  .sobre p {
      font-size: 16px;
      padding: 0 15px;
  }
}

/* FOOTER */
.footer {
  background-color: #003D82;
  color: #ffffff;
  padding: 48px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 32px;
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

/* RESPONSIVO FOOTER */
@media (max-width: 600px) {
  
  .footer-column {
      text-align: center;
  }

  .footer-contact li {
      justify-content: center;
  }

  .footer-social {
      justify-content: center;
  }
}
