body {
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

/* Logotipo */
.logo img {
  margin-top: 90px;
  width: 300px;
}

/* Menu Principal */
.menu {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  background-color: #000000;
  color: rgb(255, 255, 255);
}

.menuItens {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menuItens ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menuItens ul li {
  cursor: pointer;
  font-weight: bold;
}

.menuItens ul a {
  color: white;
  text-decoration: none;
}

.menuItens ul a:visited {
  color: white;
}

.menuItens ul li:hover {
  transform: scale(1.2);
  transition: 0.2s;
}

.menuItens ul a:hover {
  color: #ffc101;
}

/* botão Whatsapp */
.whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #2aa409;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 8px;
  padding: 15px 25px;
  transition: 0.3s;
}

.whatsapp img {
  width: 24px;
  height: 24px;
}

.whatsapp:hover {
  background-color: #18d63e;
  color: black;
}

/* Meio do Site */
.container {
  display: flex;
  margin-top: 80px;
  padding: 10px;
}

.container img {
  width: 550px;
  border-radius: 10%;
}

.textTitle {
  padding: 5px;
}

/* Pagina de parceiros */
.titulo img {
  width: 100px;
}

.secaoParceiros {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: start;
  max-width: 900px;
  margin: 2px auto;
  padding: 20px;
  box-sizing: border-box;
}

.subtitulo {
  width: 500px;
  margin: 10px;
  color: black;
  border-radius: 10%;
  padding: 20px;
  background-color: #ffc101;
  text-align: center;
  box-shadow: 0 10px 80px rgba(0, 0, 0, 0.3);
}

.subtitulo h2 {
  margin-bottom: 10px;
  font-size: 26px;
  color: #2d2d2d;
}

.subtitulo p {
  line-height: 1.6;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
}

.subtitulo ul {
  padding: 0;
  margin: 10px;
  border-radius: 8px;
  text-align: left;
}

.parceiros {
  display: flex;
  justify-content: center;

}

.linkParceiro {
  display: flex;
}

.instagram img {
  width: 24px;
  height: 24px;
}

.whats img {
  width: 24px;
  height: 24px;
}

.cardSolicitaInsta {
  margin-right: 10px;
}

.linhaCard {
  border: 1px solid #000000;
  height: 10;
}

.cardSolicitaWhats {
  margin-left: 10px;
}

/* Pagina quem somos? */
.titleH1 {
  margin-top: 0;
  padding-top: 0;
}

.textTitleJose {
  margin-left: 20px;
}

/* Rodapé */
.rodape {
  height: 140px;
  background-color: #000000;
  color: white;
  font-weight: bold;
  text-align: center;
}

.rodape img {
  width: 40px;
}

.social {
  padding: 5px;
  display: flex;
  justify-content: space-around;
}

.social img:hover {
  transform: scale(1.2);
  transition: 0.2s;
}

.links a {
  color: white;
  text-decoration: none;
  display: flex;
}

.links img:hover {
  transform: scale(1.2);
  transition: 0.2s;
}

.links a:hover {
  color: #ffc101;
}

.secaoLinks {
  text-align: left;
  padding: 40px;
  margin: 30px;
}

/* Pagina de Links */
.tituloLinks {
  background-color: #ffe17a;
  padding: 20px;
  border-radius: 10px;
}

.tituloLinks ul p {
  color: #000000;
}

.tituloLinks ul a {
  text-decoration: none;
  color: blue;
  font-weight: bold;
}

.tituloLinks ul a:hover {
  color: #ffc101;
  background-color: #000000;
  border-radius: 10px;
  padding: 5px;
  transform: scale(1.2);
  transition: 0.2s;
}

/*Cards */
.card {
  width: 100%;
  max-width: 500px;
  height: 260px;
  perspective: 1000px;
  position: relative;
  margin: 0 auto;
}

/* Parte interna do card */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Animação do flip */
.card:hover .card-inner {
  transform: rotateY(180deg);
}

/* Frente e verso */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  backface-visibility: hidden;
  background-color: #ffc101;
  color: black;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Frente */
.card-front h2 {
  font-size: 22px;
  color: #2d2d2d;
  text-align: center;
  margin: 0;
}

/* Verso */
.card-back {
  transform: rotateY(180deg);
  text-align: center;
  justify-content: space-between;
}

/* Texto */
.descricaoServico {
  flex: 1;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.4;
  text-align: justify;
  padding-right: 5px;
}

/* Scroll discreto */
.descricaoServico::-webkit-scrollbar {
  width: 6px;
}

.descricaoServico::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

/* WhatsApp */
.solicitar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.whats img {
  width: 28px;
  height: 28px;
  margin-top: 5px;
  transition: transform 0.2s;
}

.whats img:hover {
  transform: scale(1.5);
}

/* Botão flutuante */
#btnTopo {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: none;
  display: none;
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#btnTopo img {
  width: 65px;
  height: 65px;
  filter: invert(0);
  pointer-events: none;
}

#btnTopo:hover {
  transform: scale(1.1);
}

/* Responsividade Geral */
@media (max-width: 650px) {
  .secaoParceiros {
    grid-template-columns: 1fr;
    padding: 100px;
  }
}

/* Responsividade em telas menores */
@media (max-width: 900px) {
  .menu {
    flex-direction: column;
    height: auto;
    padding: 20px;
    text-align: center;
  }

  .logo img {
    margin-top: 20px;
    width: 200px;
  }

  .menuItens {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }

  .menuItens ul {
    flex-direction: column;
    gap: 10px;
  }

  .menuItens ul li {
    font-size: 18px;
  }

  .whatsapp {
    padding: 10px 20px;
    font-size: 16px;
  }

  /* Cards */
  .secaoParceiros {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  /* Rodapé */
  .rodape {
    height: auto;
    padding: 30px 10px;
  }

  .social {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .social p {
    margin: 5px 0;
  }

  .social img {
    width: 50px;
  }

  /* Pagina inicio do site */
  .container {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }

  .sideLeft img,
  .sideRight img {
    width: 90%;
    max-width: 350px;
    margin: 10px 0;
  }

  .center {
    max-width: 90%;
    padding: 10px;
  }

  .titleH1 {
    font-size: 1.8em;
  }

  .textTitle {
    font-size: 1em;
    text-align: center;
  }
}

/* Responsividade celulares pequenos */
@media (max-width: 500px) {
  .menuItens ul li {
    font-size: 16px;
  }

  .logo img {
    width: 180px;
  }

  .whatsapp {
    width: 90%;
  }

  .secaoParceiros {
    padding: 20px;
  }

  .card {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .secaoParceiros {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }

  .card {
    max-width: 95%;
    height: auto;
    perspective: none;
  }

  .card-inner {
    transform: none !important;
  }

  .card-front,
  .card-back {
    position: relative;
    transform: none;
    backface-visibility: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .card-back {
    margin-top: 15px;
    background-color: #ffe17a;
  }

  .descricaoServico {
    font-size: 16px;
    line-height: 1.6;
    padding: 10px;
  }

  .solicitar p {
    font-size: 16px;
  }

  .whats img {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 500px) {
  .titleH1 {
    font-size: 1.5em;
  }

  .textTitle {
    font-size: 0.95em;
    line-height: 1.4;
  }

  .sideLeft img,
  .sideRight img {
    width: 100%;
    max-width: 300px;
  }
}