@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;

}

.section-blocos {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    gap: 30px;
    justify-content: center;
}

.bloco-esquerdo,
.bloco-direito {
    flex: 1 1 400px;
    max-width: 600px;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
}

.bloco-esquerdo img {
    max-width: 100px;
    display: block;
    margin: 0 auto 15px auto;
}

.bloco-esquerdo p {
    font-size: 16px;
    text-align: center;
}

.bloco-direito img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

#logo {
    width: 80px;
}

nav {
    box-shadow: black 1px 1px 25px 1px;
    position: fixed;
}

.banner {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.texto-com-botao {
    text-align: center;
    padding: 20px;
}

.texto-com-botao p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.texto-com-botao button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    background-color: #ffffff;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    border: solid black 1px;
}

.texto-com-botao button:hover {
    background-color: #080808;
    color: #ffffff;
}

#assine {
    border-radius: 50px;
    width: 300px;
}


.container-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    background-color: #000000;
}

.card p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.card button {
    width: 100px;
    height: 60px;
    border-radius: 50px;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card button:hover {
    background-color: #000000;
    color: #fff;
}

@media (min-width: 768px) {
    .card {
        flex: 0 1 calc(50% - 20px);
        /* 2 por linha */
    }
}

.noticias-section {
    background-color: #ffffff;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.noticia {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.noticia.invertido {
    flex-direction: row-reverse;
}

.noticia h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #111;
}

.noticia p {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: #333;
}

.noticia .conteudo {
    flex: 1;
    min-width: 250px;
}

.noticia .imagem {
    flex-shrink: 0;
}

.noticia img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
}

.noticia button {
    border: 2px solid black;
    background-color: white;
    color: rgb(0, 0, 0);
    border-radius: 50px;
    width: 150px;
    height: 50px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.noticia button:hover {
    background-color: black;
    color: white;
}

hr {
    width: 60%;
    margin: 30px auto;
    border: none;
    height: 2px;
    background-color: #333;
}

/* Responsivo */
@media (max-width: 768px) {
    .noticia {
        flex-direction: column;
        text-align: center;
    }

    .noticia.invertido {
        flex-direction: column;
    }

    .noticia .imagem {
        margin-bottom: 15px;
    }

    .noticia button {
        width: 120px;
        height: 50px;
        border-radius: 25px;
    }
}

.redes-sociais {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    background-color: #ffffff;
}

.icone {
    font-size: 24px;
    color: white;
    background-color: #333;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.icone:hover {
    background-color: #007bff;
    transform: scale(1.1);
}
.botao-whatsapp {
    position: fixed;
    bottom:50px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s ease;
  }
  
  .botao-whatsapp:hover {
    transform: scale(1.1);
  }
  
   /* Estilo do modo escuro */
   .modo-escuro {
    background-color: black;
    color: white;
  }

   #abrirPopup {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 1000;
      background-color: #007bff;
      color: white;
      padding: 12px 18px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    /* Estilo do popup */
    #popup {
      position: fixed;
      bottom: 80px;
      right: 30px;
      width: 300px;
      height: 300px;
      background-color: #ffffff;
      border: 2px solid #ccc;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
      padding: 20px;
      display: none;
      z-index: 999;
      border-radius: 10px;
    }

    #popup h3 {
      margin-top: 0;
    }

    #fecharPopup {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      border: none;
      font-size: 18px;
      cursor: pointer;
      color: #999;
    }

    #fecharPopup:hover {
      color: #000;
    }