/* ESTILO GERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

body {
  background: #000000;
  height: 100vh;
}

h1 {
  font-size: 6vh;
  text-align: center;
  margin-bottom: 4vh;
}

h2 {
  font-size: 4vh;
  padding: 2vh 0%;
}

p {
  margin: 1vh 0;
  line-height: 1.2;
  font-size: 2.5vh;
  margin-bottom: 2vh;
}

@media (max-width: 768px) {
  p {
    text-align: left;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}

/* ESTILO DO CABEÇALHO */
header {
  padding: 3vh 4%;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header > .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  max-height: 10vh;
}

header a {
  text-decoration: none;
  display: inline-block;
}

header nav.menu a:hover {
  transform: scale(1.07);
  transition: 0.3s;
}

header nav ul {
  list-style-type: none;
  display: flex;
}

header nav.menu ul li {
  display: inline-block;
  padding: 0 2.5vw;
}

header nav.menu ul li a {
  color: #fff;
  font-weight: 500;
}

header nav.menu ul li a i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
  color: #000000;
  font-size: 20px;
  transition: all 0.3s ease;
}

/* Aplicar menos padding apenas entre os ícones */
header nav.menu ul li:nth-last-child(1), /* Instagram */
header nav.menu ul li:nth-last-child(2) { /* WhatsApp */
  padding: 0 1vw;
}

/* MENU HAMBURGUER MOBILE */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 20px;
  justify-content: space-between;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Animação do hamburguer */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Esconder menu em mobile */
@media (max-width: 768px) {
  p {
    text-align: left;
  }
  
  .menu-toggle {
    display: flex;
  }

  header > .interface {
    flex-direction: row;
    align-items: center;
    text-align: center;
  }

  header .logo {
    margin-bottom: 0;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
    width: 100%;
  }

  header nav.menu ul li {
    padding: 0.8rem 0;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  header nav.menu ul li a i {
    width: 32px;
    height: 32px;
    font-size: 16px;
    margin: 0 auto;
  }

  /* Alinha os ícones sociais ao centro */
  header nav.menu ul li:nth-last-child(1),
  header nav.menu ul li:nth-last-child(2) {
    margin: 0 auto;
    padding: 0.5rem 0;
  }
}

/* Estilos para desktop */
@media (min-width: 769px) {
  .menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  
  .menu ul {
    display: flex !important;
  }
}

/* ESTILO CARDS */
section.cards {
    padding: 40px 4%;
}

.titulo {
    font-size: 2rem;
}

section.cards .flex {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 45px;
}

.cards a {
    text-decoration: none;
}

.cards .cards-box {
    color: #fff;
    padding: 40px;
    border-radius: 25px;
    border: 1px solid #fff;
    background: #000;
    flex: 1;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cards .cards-box i {
    font-size: 5rem;
    color: #fff;
}

.cards .cards-box h3 {
    font-size: 28px;
    margin: 15px 0;
}

.cards .cards-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px #fff;
}

@media (max-width: 768px) {
    section.cards .flex {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        width: 100%;
    }

    .cards .cards-box {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ESTILO DO RODAPÉ */
footer {
  padding: 3vh 4%;
  box-shadow: 0 0 2vh 1vh #fff;
}

footer > .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer img {
  max-height: 10vh;
}

footer a {
  text-decoration: none;
  display: inline-block;
}

/* hover apenas nos links com ícones (instagram e whatsApp) */
footer nav.rodape ul li:nth-child(1) a:hover,
footer nav.rodape ul li:nth-child(2) a:hover {
  transform: scale(1.07);
  transition: 0.1s;
}

footer nav ul {
  list-style-type: none;
}

footer nav.rodape ul li {
  display: inline-block;
  padding: 1vw;
}

footer nav.rodape ul li a i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
  color: #000000;
  font-size: 20px;
  transition: all 0.3s ease;
}

/* MEDIA QUERY PARA TELAS PEQUENAS */
@media (max-width: 768px) {
  footer > .interface {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .logo-rodape {
    margin-bottom: 1.5rem;
  }

  footer nav.rodape ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    padding: 0;
    width: 100%;
  }

  footer nav.rodape ul li {
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
  }

  footer nav.rodape ul li a i {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  /* Alinha o email abaixo dos ícones */
  footer nav.rodape ul li:last-child p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #fff;
  }

  footer nav.rodape ul li:last-child p a {
    color: #fff;
    text-decoration: none;
  }
}
