/* Fontes */
.bungee-regular {
  font-family: "Bungee", sans-serif;
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Bungee", sans-serif;
}

body.parceiros {
  font-family: Arial, Helvetica, sans-serif;
}

/* Para os títulos específicos, mantenha Bungee */
body.parceiros .h1digital,
body.parceiros .h1digital2 {
  font-family: "Bungee", sans-serif;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(25, 28, 52, 0.9);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  z-index: 1000;
}

header > a > img {
  height: 10rem;
}

#btham,
#btfechar {
  width: 32px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}

/* Oculta botões no desktop */
@media (min-width: 1024px) {
  #btham, #btfechar {
    display: none;
  }
}

.primeiradiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.primeiradiv > nav > a {
  font-size: 1.2rem;
  margin-right: 30px;
  text-decoration: none;
  color: antiquewhite;
}

.primeiradiv > nav > a:hover {
  color: white;
  background-color: black;
  border-radius: 12px;
  padding: 20px;
  border: solid white 1px;
}

.midiasocial > nav {
  display: flex;
  justify-content: space-between;
  margin-right: 15px;
}

.midiasocial > nav > a {
  margin-right: 10px;
}

/* MENU */
li {
  list-style: none;
}

#menu > ul {
  display: flex;
}

#menu > ul > li > a {
  font-size: 1.2rem;
  margin-right: 30px;
  text-decoration: none;
  color: antiquewhite;
}

@media (min-width: 1024px) {
  .primeiradiv > nav > ul > li > a:hover {
    color: white;
    background-color: black;
    border-radius: 12px;
    padding: 20px;
    border: solid white 1px;
  }
}

/* MAIN */
main {
  padding: 10rem 2rem;
}

.segundadiv {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  flex-wrap: wrap;
}

.oucanos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px;
}

#nossosprodutos {
  text-align: center;
  padding: 15px;
}

h1 {
  font-weight: 400;
  font-style: normal;
}

/* PRODUTOS */
.controledivprodutos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 30px;
  margin-bottom: 50px;
}

.divdeprodutos {
  padding: 20px;
  background-color: #EBEBEB;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divdeprodutos > img {
  width: 400px;
  height: 330px;
  object-fit: cover;
  border-radius: 10px;
}

.divdeprodutos > h1 {
  margin-top: 10px;
  font-size: 1.1rem;
}

.preco {
  color: green;
  font-size: 1.4rem;
  margin: 10px 0;
}

.divdeprodutos > div {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

#imagemProduto{
  width: 370px;
  height: auto;
}

.divdeprodutos > div > a {
  color: white;
  text-decoration: none;
  background-color: #191C34;
  padding: 20px;
  border-radius: 12px;
  font-weight: bold;
  transition: 0.3s;
  width: 100%;
  text-align: center;
}

.divdeprodutos > div > a:hover {
  background-color: #684F93;
  border: solid black 2px;
}

/* FOOTER */
footer {
  background-color: #191C34;
  width: 100%;
  display: flex;
  justify-content: center;
}

.pezinho {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  color: aliceblue;
}


/* RESPONSIVO TABLET */
@media (max-width: 1024px) {
  .divdeprodutos {
    width: 45%;
  }

  .divdeprodutos > img {
    width: 100%;
    height: 300px;
  }
}

/* RESPONSIVO CELULAR */
@media (max-width: 768px) {
  .logo {
    width: 25%;
  }

  header {
    flex-direction: column;
    padding: 1rem;
  }

  iframe {
    width: 100%;
  }

  .primeiradiv {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .primeiradiv > nav {
    width: 100%;
  }

  #menu {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  #menu > ul {
    padding: 10px;
    flex-direction: column;
    background-color: #fff;
  }

  #menu > ul > li {
    margin: 2px 0;
    padding: 20px;
    background-color: #000;
  }

  #menu > ul > li > a {
    width: 100%;
    color: antiquewhite;
  }

  .midiasocial {
    display: none;
  }

  .controledivprodutos {
    flex-direction: column;
    align-items: center;
  }

  .divdeprodutos {
    width: 90%;
  }

  .divdeprodutos > img {
    height: 300px;
  }

  main {
    padding: 4rem 1rem;
  }
}

/* BREAKPOINT 600px */
@media (max-width: 600px) {
  .divdeprodutos > img {
    height: 250px;
  }

  .preco {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 1.4rem;
  }
}

/* PAGAMENTO */
.container-botoes {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.botao-tamanho {
  width: 50px;
  height: 50px;
  border: none;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  margin-bottom: 16px;
}

.botao-tamanho.selecionado {
  border: 2px solid #7f5af0;
  background-color: rgba(127, 90, 240, 0.15);
}

.textoinfopag,
.pgpreco3,
.pgpreco {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btcomprar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
}

.btcomprar a {
  background-color: #684F93;
  color: antiquewhite;
  width: 170px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
  text-decoration: none;
}

.entrega {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.entrega img {
  width: 35px;
}

.entregatexto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meiosdepag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 16px 0;
}

.meiosdepag img {
  width: 450px;
  height: auto;
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
    align-items: center;
    position: relative;
  }

  .logo {
    width: 50%;
    margin-bottom: 1rem;
  }

  .primeiradiv {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #menu {
    width: 100%;
    background-color: #ffffff;
    margin-top: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(166, 161, 161, 0.4);
    overflow: hidden;
  }

  #menu > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  #menu > ul > li {
    width: 100%;
    list-style: none;
  }

  #menu > ul > li > a {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    font-size: 1.1rem;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    background-color: #767474;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #menu > ul > li > a:hover {
    background-color: #684F93;
  }

  .midiasocial {
    display: none;
  }

  iframe {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .logo {
    width: 140px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo img {
    width: 100%;
    height: auto;
    display: block;
  }
}
.produtos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* espaçamento entre os produtos */
  justify-content: center; /* centraliza os grupos */
  max-width: 1200px; /* largura máxima da área dos produtos */
  margin: 0 auto;
}

.produto-item {
  flex: 1 1 calc(33.33% - 20px); /* cada produto ocupa 1/3 da linha menos o gap */
  max-width: calc(33.33% - 20px);
  box-sizing: border-box;
}

/* =========================
   ESTILO BASE (TODOS)
   ========================= */
#container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}



.h1digital , .h1digital2{  font-family: "Bungee", sans-serif;}

.digital1, .digital2 {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.digital1 > h2 {
  text-align: center;
  margin-bottom: 24px;
}

#container > .digitalimg {
  height: 300px;
  width: 350px;
}

.videoparceiros {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
}

.videoparceiros img {
  width: 250px;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.videoparceiros img:hover {
  transform: scale(1.05);
}

.digital2 > h1 {
  text-align: center;
}

.digitalimg {
  height: auto;
}

.digital2 > a {
  background-color: #000;
  width: 300px;
  height: 300px;
}

/* QUEM SOMOS */
.fontep, .fontepa {
  font-family: Arial, Helvetica, sans-serif;
}

body.parceiros #container p.fontepa {
  font-family: Arial, Helvetica, sans-serif;
}



.qmsomos1, .qmsomos2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qmh1, .nm1 {
  margin-bottom: 8px;
}

.fotofamilia, .fotocantando {
  border-radius: 90px;
  margin: 10px 0 16px 0;
  width: 300px;
  height: 300px;
}

.qmsomos2 > p {
  margin-bottom: 16px;
}

.btchamar > a {
  background-color: #5C934F;
  width: 150px;
  height: 50px;
  padding: 16px;
  display: flex;
  justify-content: center;
  margin: 16px;
  border-radius: 14px;
  text-decoration: none;
  color: whitesmoke;
}

/* PAGAMENTO */
.btcomprar {
  display: flex;
  justify-content: center; 
  align-items: center;     
  margin: 16px 0;          
}

.btcomprar a {
  background-color: #684F93;
  color: antiquewhite;
  width: 170px;           
  height: 70px;            
  display: flex;
  align-items: center;     
  justify-content: center; 
  border-radius: 14px;
  text-decoration: none;
}

.entrega {
  display: flex;
  justify-content: center;
  align-items: center; 
  gap: 16px; 
}

.entrega img {
  width: 35px;
}

.entregatexto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meiosdepag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 16px 0;
}

.meiosdepag img {
  width: 450px;
  height: auto;
}

/* CARROSSEL */
.ativo {
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  font-size: 24px;
  padding: 12px;
  border: none;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.container-botoes {
  width: 100%;
  display: flex;
  justify-content: center; 
  gap: 10px;
}

.botao-tamanho {
  width: 50px;
  height: 50px;
  border: none;
  background-color: rgba(0, 0, 0, 0.05); 
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  margin-bottom: 16px;
}

.botao-tamanho.selecionado {
  border: 2px solid #7f5af0; 
  background-color: rgba(127, 90, 240, 0.15); 
}

.textoinfopag, .pgpreco3, .pgpreco {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preco {
  color: #0c0a0a;
}

.textoinfopag > h3 {
  margin: 8px;
}

/* =========================
   MOBILE - ATÉ 768px
   ========================= */
@media (max-width: 768px) {
  .produto-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* =========================
   DESKTOP GRANDE - 1024px+
   ========================= */
@media (min-width: 1024px) {
  #btham, #fecha {
    display: none;
  }

  body.sobrenos #container {
  padding: 0;
  padding-top: 160px;
}

body.parceiros #container {
  padding-top: 170px; /* ajusta conforme a altura real do header */
}

  #container {
    flex-direction: column;

  }

  .qmsomos1, .qmsomos2 {
    flex-direction: row;
    justify-content: space-evenly;
  }

  .qmsomos1 > p, .qmsomos2 > p {
    width: 45%;
    font-size: 1rem;
  }

  .qmsomos2 > p {
    width: 35%;
  }

  .fotofamilia, .fotocantando {
    width: 350px;
    height: auto;
    margin-left: 16px;
  }

  .btchamar > a {
    width: 280px;
    height: 88px;
    font-size: 2rem;
    padding-top: 25px;
    margin-bottom: 16px;
  }

  .digital1 {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
  }

  .digital1 > p, .digital2 > p {
    padding-top: 24px;
    width: 50%;
    text-align: left;
  }

  .digitalimg {
    width: 45%;
    max-width: 400px;
  }

  .h1digital {
    margin-right: 425px;
    width: 100%;
  }

  .h1digital2, .h1digital {
    text-align: center;
  }

  .digital2 { 
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px; 
    padding: 16px;
  }
}



/* Ajustes mobile para centralizar conteúdo em Sobre Nós e Parceiros */
@media (max-width: 768px) {
  .sobre-nos, .parceiros {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .sobre-nos img, .parceiros img {
    margin: 0 auto !important;
    display: block;
  }
  .sobre-nos p, .parceiros p, .sobre-nos h1, .parceiros h1, .sobre-nos h2, .parceiros h2 {
    text-align: center !important;
  }
}
