﻿@font-face {
  font-family: 'GoodTimes';
  src: url('/va/fonts/goodtimesrg.otf') format('opentype') !important;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/va/fonts/poppinsv5latinregular.woff2') format('woff2') !important;
  font-display: swap;
}
body { margin: 0;  font-family: 'Poppins', sans-serif !important; }
.main-container { display: block; }
.header-luxo {
  background-image: url('/va/ganhardinheiro/imagens/header.jpg');
  background-size: cover;
  background-position: center center;
  height: 420px;
  display: flex; 
  max-width: 1980px;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  text-align: center;
  position: relative;
  margin:auto;
}

.overlay-luxo {
  background: rgba(0, 0, 0, 0.40); /* reduzi opacidade para mostrar melhor a imagem */
  padding: 25px 20px;
  border-radius: 12px;
  max-width: 850px;
}

.titulo-impacto {
font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  
}

@media (max-width: 768px) {
  .header-luxo {
    height: 320px;
    padding: 0 4vw;
  }

  .overlay-luxo {
    padding: 18px;
  }

  .titulo-impacto {
    line-height: 1.3;
  }
}


@media (max-width: 768px) {
  .header-luxo {
    height: 280px;
  }
}







/* Índice */
.indice-artigo {
  margin: 40px auto;
  max-width: 900px;
  font-family: 'Segoe UI', sans-serif;
}
h1, h2, h3{  font-family: 'Segoe UI', sans-serif; }
h1 { font-size: clamp(1.82rem, 2.86vw, 2.86rem);}
h2 { font-size: clamp(1.52rem, 2.56vw, 2.56rem); /* Mínimo ~20.8px, ideal em telas médias: ~24px, máximo ~27.2px */ }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); /* Mínimo ~16px, ideal em telas médias: ~18px, máximo ~20px */ }

.indice-artigo h2 {
  color: #3c3c3c; /* Vermelho principal */
  margin-bottom: 18px;
}

.links-indice {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.links-indice a {
  font-size: 18px;
  color: #c60000; /* Vermelho padrão dos botões */
  text-decoration: underline;
  transition: color 0.2s ease;
}

.links-indice a:hover {
  color: #a40000; /* Tom mais escuro no hover */
}








  
  
/* De volta para o topo */ 
  #botao-topo {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: linear-gradient(145deg, #0066ff, #0044cc);
      color: white;
      font-size: 28px;
      text-align: center;
      line-height: 50px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
      text-decoration: none;
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.3s ease;
      transform: scale(0.9);
    }

    #botao-topo:hover {
      background: linear-gradient(145deg, #0055dd, #0033aa);
      transform: scale(1.1);
    }

    #botao-topo.show {
      opacity: 1;
      pointer-events: auto;
      transform: scale(1);
    }		


/* ===== Estilo do artigo-mestre ===== */

/* Container principal do artigo */
.container-artigo-mestre {
    max-width: 1120px;
    margin: auto;
    position: relative;
    z-index: 99;
    padding: 30px 80px;
       box-sizing: border-box;
}

/* Cabeçalho com título e subtítulo */
.cabecalho-artigo-mestre {
  text-align: left;
  margin-bottom: 2px;
}

.cabecalho-artigo-mestre h1 {
  color: #b30000;
  margin: 3px;
}

.cabecalho-artigo-mestre h2 {
  font-weight: 800;
  line-height:normal;
  color: #009ac9;
}

.cabecalho-artigo-mestre p {
    font-size: clamp(1.1rem, 2.3vw, 1.2rem);
    color: #2c2c2c;
    margin: 0 auto;
    line-height: 1.9rem;
    font-family: 400 15px/20px Poppins,Arial,sans-serif
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .container-artigo-mestre {
    padding: 20px;
  }

  .cabecalho-artigo-mestre h1 {
    font-size: 22px;
  }

  .cabecalho-artigo-mestre p {
    font-size: 14px;
  }
}













.post-post { display:block;  clear:both;  }
.post-cover { margin: auto; display: table }
.post-thumb { float:left; margin-right:10px; margin-bottom:10px;}

/* Rodapé do card: ações */
.acoes-produto-unico {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
}
/* GRID de produtos responsivo */
.grid-produtos-responsivo {
  padding: 20px 20px;	
  background-color:#f7f9fa;
  border-radius: 17px 17px 17px 17px;
  -webkit-border-radius: 17px 17px 17px 17px;
  -moz-border-radius: 17px 17px 17px 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* CARD de produto */
.card-produto-unico {
  width: 224px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin:2px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  transition: box-shadow 0.3s ease;
  flex: 0 0 224px;
}

.card-produto-unico:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Imagem com proporção preservada */
.img-link-produto-unico {
  display: block;
  overflow: hidden;
}

.img-link-produto-unico img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: filter 0.3s ease;
  max-height: 98px; /* esse valor respeita a proporção 224x98 sem estourar */
}

.img-link-produto-unico:hover img {
  filter: brightness(1.1) contrast(1.2);
}

/* Conteúdo do card */
.conteudo-produto-unico {
  padding: 5px 10px;
  border-bottom: 1px solid #eee;
  height: 40px;
  display: flex;
  align-items: center;
}

.titulo-produto-unico {
 font-size: clamp(14px, 1.6vw, 17px);
  font-weight: bold;
  color: #222;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.titulo-produto-unico a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  display:block;
}

.titulo-produto-unico a:hover {
  color: #0056b3;
}

/* BOTÃO "Acessar" */
.btn-acessar-unico {
 position: relative;
  display: inline-block;
  height: 34px;
  line-height: 34px;
  padding: 0 14px;
  margin: 5px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, #0056b3, #007bff); /* Azul royal */
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 1;
  white-space: nowrap;
}

.btn-acessar-unico::before {
 content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  transform: rotate(45deg);
  animation: brilhoBotaoUnico 3s linear infinite;
  z-index: 0;
  }

.btn-acessar-unico span {
  position: relative;
  z-index: 1;
}

.btn-acessar-unico:hover {
  background: linear-gradient(135deg, #004099, #0056b3); /* Hover mais escuro */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.btn-acessar-unico:active {
  transform: scale(0.97);
}

.btn-acessar-unico:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Animação do botão */
@keyframes brilhoBotaoUnico {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* === MEDIA QUERIES === */

/* Tablets e celulares em pé */
@media (max-width: 768px) {
  .grid-produtos-responsivo {
    gap: 12px;
  }
  .card-produto-unico {
    flex: 0 0 calc(50% - 12px); /* Duas caixas por linha */
  } 
}

/* Celulares muito estreitos (ex: Galaxy S5 - 360px ou menos) */
@media (max-width: 360px) {
  .card-produto-unico {
    flex: 0 0 100%; /* Uma caixa por linha */
  }
}
  	