/* 
  RESET BÁSICO
  Remove margens e espaçamentos padrões do navegador
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*
  Estilo geral do corpo do site
*/
body {
  font-family: Arial, Helvetica, sans-serif; /* fonte padrão */
  background: #0f172a;           /* fundo claro */
  color: #1f2937;                            /* cor do texto */
  padding: 20px;                             /* espaço interno */
}

/*
  Estilo do título principal
*/
h1 {
  color: #1e40af;        /* azul escuro */
  margin-bottom: 10px;  /* espaço abaixo */
}

/*
  Estilo dos parágrafos
*/
p {
  font-size: 16px;
  line-height: 1.6;     /* altura da linha */
}
/*
  Container central do site
*/
.container {
  max-width: 900px;        /* largura máxima */
  margin: 0 auto;          /* centraliza na tela */
  background-color: #fff;  /* fundo branco */
  padding: 30px;           /* espaço interno */
  border-radius: 8px;      /* cantos arredondados */
}
/*
  Menu de navegação
*/
.menu {
  background-color: #1e40af; /* azul */
  padding: 15px 0;
}

/*
  Lista do menu
*/
.menu ul {
  list-style: none;       /* remove bolinhas */
  display: flex;          /* itens em linha */
  justify-content: center;
  gap: 30px;              /* espaço entre links */
}

/*
  Links do menu
*/
.menu a {
  color: #ffffff;
  text-decoration: none;  /* remove sublinhado */
  font-weight: bold;
}

/*
  Efeito ao passar o mouse
*/
.menu a:hover {
  text-decoration: underline;
}
/*
  Seções do site
*/
.secao {
  display: none;           /* esconde todas */
}

/*
  Seção visível
*/
.secao.ativa {
  display: block;          /* mostra apenas a ativa */
}
/*
  Card (caixa de conteúdo)
*/
.card {
  background-color: #f9fafb;
  border-left: 5px solid #2563eb;
  padding: 20px;
  margin: 20px 0;
  border-radius: 6px;
}

/*
  Título dentro do card
*/
.card h2 {
  margin-bottom: 10px;
  color: #1e40af;
}

/*
  Botão padrão
*/
.botao {
  display: inline-block;
  margin-top: 10px;
  background-color: #2563eb;
  color: #ffffff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

/*
  Hover do botão
*/
.botao:hover {
  background-color: #1e40af;
}
/*
  Estilos para celular
*/
@media (max-width: 768px) {

  /* Menu em coluna */
  .menu ul {
    flex-direction: column;
    gap: 15px;
  }

  /* Container ocupa quase toda a tela */
  .container {
    padding: 20px;
  }

  /* Cards com menos espaço */
  .card {
    margin: 15px 0;
  }

}
/*
  Seções de conteúdo
*/
.secao {
  margin-top: 60px;
}

.secao h2 {
  color: #1e40af;
  border-left: 5px solid #2563eb;
  padding-left: 12px;
  margin-bottom: 15px;
}

.secao {
  display: none;
}

.secao.ativa {
  display: block;
}

.menu a.ativo {
  color: #2563eb;
  font-weight: bold;
  border-bottom: 2px solid #2563eb;
}

/* ===== MENU MODERNO ===== */

.menu {
  background: #0f172a; /* azul escuro moderno */
  padding: 12px 0;
}

.menu ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 8px 4px;
  transition: color 0.3s ease;
}

/* Linha animada embaixo */
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  transition: width 0.3s ease;
}

/* Hover */
.menu a:hover {
  color: #38bdf8;
}

.menu a:hover::after {
  width: 100%;
}

/* Link ativo */
.menu a.ativo {
  color: #38bdf8;
}

.menu a.ativo::after {
  width: 100%;
}

/* ===== MENU BOTÕES MODERNOS ===== */

.menu {
  background: linear-gradient(90deg, #4c1d95, #7c3aed);
  padding: 16px 0;
}

.menu ul {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

/* Hover */
.menu a:hover {
  background: rgba(37, 99, 235, 0.15);
  color: #38bdf8;
  transform: translateY(-2px);
}

/* Clique (efeito pressionado) */
.menu a:active {
  transform: translateY(0);
  box-shadow: inset 0 0 0 1px rgba(56,189,248,0.4);
}

/* Botão ativo */
.menu a.ativo {
  background: #22c55e; /* verde */
  color: #020617;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(56,189,248,0.35);
}

.cards-parceiros {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.card-parceiro {
  background-color: #2f1e4d; /* roxo mais escuro */
  color: #fff;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-parceiro:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.card-parceiro img {
  width: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.botao-parceiro {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #6b4da0; /* roxo mais claro */
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.botao-parceiro:hover {
  background-color: #9c70d1;
}
/* Seção Biografia Moderna Ajustada */
#biografia {
  position: relative;
  background-image: url('../imagens/andre.jpg'); /* caminho da imagem */
  background-size: contain;         /* mantém a imagem inteira visível */
  background-position: center top;  /* centraliza horizontalmente e mantém topo visível */
  background-repeat: no-repeat;
  color: white;
  padding: 60px 40px;              /* mais espaço vertical para a imagem */
  max-width: 700px;
  min-height: 400px;               /* força altura mínima para mostrar a imagem */
  margin: 40px auto;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Hover: levanta o cartão e aumenta sombra */
#biografia:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Overlay escuro para melhorar legibilidade do texto */
#biografia::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  transition: background 0.3s ease;
}

/* Overlay muda de intensidade ao passar o mouse */
#biografia:hover::before {
  background: rgba(0, 0, 0, 0.35);
}

/* Conteúdo acima do overlay */
#biografia * {
  position: relative;
  z-index: 1;
}

/* Títulos */
#biografia h1, 
#biografia h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: center;
}

/* Parágrafos */
#biografia p {
  line-height: 1.6;
  font-size: 1rem;
}
/* Seção Contato */
#contato {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: #3f0f5f; /* fundo roxo escuro */
  color: white;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

#contato h1 {
  margin-bottom: 30px;
  font-size: 2rem;
}

/* Container dos contatos */
.contato-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Cada item */
.contato-item {
  display: flex;
  align-items: center;
  background-color: rgba(255,255,255,0.1);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
}

.contato-item i {
  margin-right: 10px;
  font-size: 1.5rem;
}

/* Hover efeito */
.contato-item:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

/* Links dentro da seção */
.contato-item a {
  color: white;
  text-decoration: none;
}

.contato-item a:hover {
  text-decoration: underline;
}


/* Botão WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366; /* verde WhatsApp */
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Containers de produtos */
.produtos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

/* Card dos produtos */
.produto-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  width: 250px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.produto-card img {
  width: 100%;
  height: auto;
}

.produto-card h3 {
  margin: 12px 0 8px;
}

.produto-card p {
  font-size: 0.9rem;
  padding: 0 10px;
  margin-bottom: 12px;
}

/* Botões */
.botao-baixar,
.botao-comprar {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  margin-bottom: 12px;
  transition: background-color 0.3s ease;
  color: white;
}

.botao-baixar {
  background-color: #10b981; /* verde */
}

.botao-baixar:hover {
  background-color: #34d399;
}

.botao-comprar {
  background-color: #3b82f6; /* azul */
}

.botao-comprar:hover {
  background-color: #60a5fa;
}

/* Linha divisória */
hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 40px 0;
}
/* Blog Cards */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  margin: 20px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h2 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  color: #4B0082; /* roxo escuro, pode mudar */
}

.blog-content p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #333;
}

.blog-content .botao {
  display: inline-block;
  padding: 10px 20px;
  background: #6A0DAD; /* roxo médio */
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.blog-content .botao:hover {
  background: #4B0082; /* roxo escuro */
}
/* Página detalhada da notícia */
.noticia-detalhe .blog-card {
  max-width: 800px;
  margin: 40px auto;
}

.noticia-detalhe .blog-card img {
  height: 300px;
}

.noticia-detalhe .blog-content h1 {
  font-size: 2rem;
  color: #4B0082;
  text-align: center;
  margin-bottom: 20px;
}

.noticia-detalhe .blog-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}
/* Seção Fórum */
#forum {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #f4f4f4;
  border-radius: 15px;
}

/* Formulário */
.forum-form {
  background: #2d2d5c;
  padding: 20px;
  border-radius: 15px;
  max-width: 700px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.forum-form input,
.forum-form textarea {
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}

.forum-form button {
  padding: 12px;
  background: #6b4ce0;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.forum-form button:hover {
  background: #5a3ac9;
}

/* Perguntas */
.pergunta {
  background: #3a3a6e;
  color: white;
  padding: 20px;
  border-radius: 15px;
  max-width: 700px;
  margin: 20px auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pergunta:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.pergunta h3 {
  margin-bottom: 10px;
}

/* Respostas */
.resposta-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px;
}

.resposta-form input,
.resposta-form textarea {
  border-radius: 8px;
  padding: 8px;
  border: none;
}

.resposta-form button {
  background: #8e6df0;
  color: white;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.resposta-form button:hover {
  background: #764bd1;
}

/* Lista de respostas */
.respostas p {
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 8px;
  margin-top: 5px;
}
.contador-respostas {
  font-weight: bold;
  margin-top: 10px;
  color: #f0f0f0;
}
.botao {
  display: inline-block;
  padding: 10px 20px;
  background-color: #6b46c1; /* roxo */
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.botao:hover {
  background-color: #5a3ea1;
}
.card-parceiro {
  border-radius: 16px;
  overflow: hidden;
}

.card-parceiro img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.card-parceiro img {
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);

}
.card-parceiro img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.inicio {
  text-align: center;
  padding: 50px 20px;
}

.inicio h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.inicio-descricao {
  max-width: 750px;
  margin: 0 auto 35px;
  font-size: 17px;
  color: #cfcfcf;
  line-height: 1.6;
}

.inicio-destaques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.destaque {
  background: #18181f;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.destaque i {
  font-size: 28px;
  color: #7c3aed;
  margin-bottom: 10px;
}

.destaque h3 {
  margin-bottom: 8px;
}

.destaque p {
  font-size: 14px;
  color: #cfcfcf;
}
.destaque h3 {
  color: #ffffff;
}

.destaque p {
  color: #cfcfcf;
}