/* ------------------ RESET ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #E0E0E0;
  color: #003919;
}

a {
  text-decoration: none;
  color: inherit;
}

section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #003919;
  margin-bottom: 10px;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #31A050;
  margin: 10px auto 0;
  border-radius: 3px;
}


/* ------------------ LAYOUT GERAL ------------------ */
.conteudo-app {
  padding: 30px 0 80px;
}

.aba {
  display: none;
  padding: 20px;
}

.aba.ativa {
  display: block;
}

/* ------------------ HEADER ------------------ */
.topo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  color: #00FF8E;
  padding: 10px 20px; /* Reduz a altura */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* LINHA DISCRETA */
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}


.topo .logo img {
  max-height: 50px;         /* Reduz altura para melhor centralização */
  width: auto;
  margin-top: 4px;          /* Empurra levemente para baixo */
  margin-bottom: 0;         /* Evita espaçamento extra desnecessário */
  display: block;
}

.topo.scrolled {
  background: #003919;
  border-color: rgba(0, 0, 0, 0.1); /* linha muda quando scrollar */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.contador {
  font-size: 16px;
  margin-top: 5px;
}

.botoes-topo a {
  background: #31A050;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  margin-left: 10px;
  font-weight: bold;
  transition: background 0.3s;
}

.botoes-topo a:hover {
  background: #00FF8E;
  color: #003919;
}

/* ------------------ BANNER ------------------ */
.banner {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.banner .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: white;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.banner .slide.ativo {
  opacity: 1;
  z-index: 1;
}

.banner h1 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.banner p {
  font-size: 20px;
}

.banner p span {
  color: #00FF8E;
  font-weight: bold;
}

.banner .btn.grande {
  margin-top: 20px;
  font-size: 18px;
  padding: 12px 24px;
  display: inline-block;
  background: #31A050;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.banner .btn.grande:hover {
  background: #00FF8E;
  color: #003919;
}

/* ------------------ PLANOS ------------------ */

.planos {
  padding: 80px 20px;
  margin: 0;
}

.planos h2 {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  margin-top: 0;
}

.container-planos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.card-plano {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: 300px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-top: 6px solid #003919;
  transition: transform 0.3s ease;
}

.card-plano:hover {
  transform: translateY(-5px);
}

.card-plano h3 {
  font-size: 20px;
  font-weight: bold;
  color: #003919;
  margin-bottom: 10px;
}

.card-plano.destaque {
  border: 3px solid #00FF8E;
  background: #E7FFF3;
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  position: relative;
  z-index: 1;
  padding-top: 30px;
}

/* Estiliza o botão do card em destaque */
.card-plano.destaque .btn {
  background-color: #00FF8E;
  color: #003919;
}

.card-plano.destaque .btn:hover {
  background-color: #00e87e;
  color: #003919;
}
.card-plano.destaque {
  border: 3px solid #00FF8E;
  background: #FFFCE8;
  position: relative;
  transform: scale(1.05);
}

.tag-recomendado {
  position: absolute;
  top: -1px;
  left: 0;
  background-color: #00FF8E;
  color: #003919;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 8px 0 8px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 2;
}

.card-plano .preco {
  font-size: 24px;
  font-weight: bold;
  color: #31A050;
  margin: 10px 0;
}

.card-plano .preco span {
  font-size: 14px;
  color: #666;
}

.card-plano ul {
  list-style: none;
  padding: 0 15px;
  margin: 15px 0;
  text-align: left;
}

.card-plano ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  border-bottom: 1px solid #E0E0E0;
}

.card-plano ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #31A050;
  font-size: 14px;
}

.card-plano .btn {
  margin-top: auto;
  background: #31A050;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  border: none;
}

.card-plano .btn:hover {
  background: #00FF8E;
  color: #003919;
}

/* --- Novo estilo para preço parcelado --- */
.preco-estilo {
  margin-top: 10px;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.preco-estilo .parcelas {
  font-size: 16px;
  font-weight: 500;
  color: #003919;
  margin-bottom: 5px;
}

.preco-estilo .valor-parcela {
  font-size: 32px;
  font-weight: 800;
  color: #003919;
  margin-bottom: 5px;
}

.preco-estilo .avista {
  font-size: 14px;
  color: #777;
}



/* ------------------ JOGOS ------------------ */
.jogos {
  padding: 60px 20px;
  background: #fff;
}

.jogos-container {
  max-width: 1100px;
  margin: 0 auto;
  display: block;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.jogos h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #003919;
}

.jogo {
  background: #f7f7f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-jogo {
  flex: 1;
  min-width: 220px;
  color: #003919;
  font-size: 15px;
  line-height: 1.6;
}

.info-jogo .competicao {
  color: red;
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
}

.info-jogo .categoria {
  color: #666;
  font-size: 14px;
}

.versus-jogo {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.time {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.time span {
  margin-top: 8px;
  font-weight: bold;
  color: #003919;
}

.x {
  font-size: 24px;
  font-weight: bold;
  color: #003919;
}

.sem-jogos {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-top: 20px;
}


/* ------------------ FOOTER ------------------ */
footer {
  background: #003919;
  color: #00FF8E;
  padding: 30px 20px 30px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  text-align: left;
  margin-bottom: 10px;
}

.footer-logo img {
  max-height: 45px;
}

/* linha mais próxima */
.linha-footer {
  border: none;
  border-top: 1px solid #00FF8E33;
  margin: 10px 0 20px;
  width: 100%;
}

.footer-cols {
  display: flex;
  justify-content: center;  /* centraliza as colunas */
  flex-wrap: wrap;
  gap: 60px;
}

footer .col {
  flex: 1;
  min-width: 180px;
  text-align: left;
}

footer .col h4 {
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

footer .col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .col ul li {
  margin-bottom: 6px;
}

footer .col ul li a {
  color: #00FF8E;
  text-decoration: none;
  font-size: 14px;
}

footer .col ul li a:hover {
  text-decoration: underline;
}

footer .col p {
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.5;
}



#instalarPWA {
  background-color: #0D3F2A;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


/* ------------------ RESPONSIVO ------------------ */
@media (max-width: 768px) {
  .topo {
    padding: 10px 15px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 18px;
  }

  .contador {
    display: none; /* Oculta no mobile para ganhar espaço */
  }

  .botoes-topo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .botoes-topo a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .card-plano {
    width: 100%;
  }

  .jogo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .banner {
    height: 480px;
    padding-top: 0;
    padding-bottom: 0;
    background-size: cover;
    background-position: center center; /* foca no conteúdo central */
  }

  .banner .slide {
    width: 100%;
    height: 100%;
    min-height: unset;
    background-size: cover;
    background-position: center center;
  }

  .banner h1 {
    font-size: 28px;
    margin-top: 80px; /* ajusta para descolar do topo se necessário */
  }

  .banner p {
    font-size: 16px;
  }

  .banner .btn.grande {
    font-size: 16px;
    padding: 10px 20px;
  }
  #instalarPWA {
  background-color: #0D3F2A;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

}


/* Scroll fino (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent; /* sem fundo */
}

::-webkit-scrollbar-thumb {
  background-color: #00ff88; /* verde neon */
  border-radius: 10px;
  border: none;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #00ff88;
}

/* Firefox */
body {
  scrollbar-width: thin;
  scrollbar-color: #00ff88 transparent;
}


