/* Reset e fontes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: #fff;
  color: #000;
  line-height: 1.6;
  padding-top: 144px; /* compensação total: top-bar (34) + header (80) + nav-bar (20) */
}

/* 🔒 TOPO FIXO */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 34px;
  background-color: #1c1c1c;
  color: #fff;
  font-size: 12px;
  line-height: 1; /* 👈 adiciona aqui */
  padding: 6px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

header {
  position: fixed;
  top: 34px;
  width: 100%;
  background-color: #2d2d2d;
  z-index: 999;
  padding: 20px 0;
  border-bottom: 4px solid #24BD76;
}




.shrunk header {
  top: 20px; /* 🔼 sobe junto com a top-bar encolhida */
  padding: 10px 0; /* 🔽 reduz a altura */
  transition: top 0.3s ease, padding 0.3s ease;
}

.shrunk .top-bar {
  height: 20px;
  font-size: 10px;
  padding: 2px 0;
}














.header-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* já está correto */
  align-items: center;
  gap: 20px;
  text-align: center; /* garante alinhamento interno */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  max-height: 50px;
  transform: scale(1.7);
}

.bar-separator {
  width: 2px;
  height: 40px;
  background-color: #24BD76;
  margin: 0 16px;
}

.header-right {
  font-weight: bold;
  font-size: 28px;
  color: #fff;
}

/* ⬇️ REMOVIDO: .header-left input.search-bar */

/* 🔽 NAV BAR */
.nav-bar {
  position: fixed;
  top: 114px; /* top-bar (34) + header (80) */
  width: 100%;
  background-color: #24BD76;
  z-index: 998;
  padding: 10px 0;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center; /* <-- aqui está o ajuste */
  gap: 20px;
}

.nav-container a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding-top: 10px; /* 👈 adicionado */
}

.nav-container a:hover {
  text-decoration: underline;
}

/* 👇 DEMAIS ESTILOS (mantidos do seu original) */

.intro-block {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 40px;
}

.intro-block h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.intro-block h2 {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.author {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.divider {
  border: none;
  border-top: 1px solid #ccc;
  margin-top: 10px;
  margin-bottom: 30px;
}

.main-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
}

.highlight-orange {
  color: #24BD76;
  font-weight: bold;
}

.highlight-blue {
  color: #007dc5;
  font-weight: bold;
}

/* Notebooks e conteúdo */
.notebook-list, .notebook-detalhe {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

.notebook-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.notebook-item img {
  width: 60px;
  height: auto;
  margin-right: 16px;
}

.notebook-info {
  flex: 1;
  margin-right: 16px;
}

.notebook-info strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.notebook-info p {
  font-size: 14px;
  color: #555;
}

.notebook-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.notebook-price button {
  background-color: #00c851;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 45px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.notebook-price span {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

.footer {
  background-color: #2d2d2d;
  color: #fff;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 60px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto 20px;
  text-align: left;
}

.footer-left {
  flex: 1;
  min-width: 300px;
  margin-right: 40px;
}

.footer-logo {
  height: 90px;
  margin-bottom: 12px;
}

.footer .transparency {
  font-size: 13px;
  color: #ccc;
  line-height: 1.5;
  margin: 0;
  max-width: 400px;       /* Limita a largura do texto */
  text-align: left;       /* Alinha o texto à esquerda */
}

.footer-right {
  min-width: 160px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-menu a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer .credits {
  font-size: 12px;
  color: #888;
  text-align: center;
}

.ads-break-wrapper {
  margin: 48px auto 24px;
  max-width: 720px;
  padding: 0 20px;
}

.ads-break {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
}

.ads-break::before,
.ads-break::after {
  content: "";
  flex: 1;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 0 12px;
}

.ads-container {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

/* 🔘 BOTÃO HAMBÚRGUER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
  margin-left: auto;
  padding: 10px;
}





/* Estilo do bloco de lojas */
.notebook-detalhe .lojas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* Cada loja (card) */
.notebook-detalhe .loja {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  gap: 16px;
}

/* Imagem da loja */
.notebook-detalhe .loja img {
  width: 100px;
  height: auto;
  border-radius: 6px;
}

/* Container de texto */
.notebook-detalhe .loja div {
  flex: 1;
}

/* Nome do produto */
.notebook-detalhe .loja strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

/* Botão de compra */
.notebook-detalhe .loja button {
  background-color: #00c851;
  color: white;
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.notebook-detalhe ul {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0;
}

.notebook-detalhe li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #000;
}





.sobre-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 17px;
  line-height: 1.6;
}























.index-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px;
}

.recent-posts {
  flex: 1 1 65%;
}

.rankings {
  flex: 1 1 30%;
}

.rankings h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* REMOVIDO: .rankings a { color: #007BFF; ... } */

.ranking-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-lista li a {
  display: block;
  padding: 12px 16px;
  background-color: #DDFBE9; /* verde claro */
  border-radius: 8px;
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.ranking-lista li a:hover {
  background-color: #d3f3e4; /* verde um pouco mais forte no hover */
}

.apresentacao-looto {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 16px 0;
}

.post-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-card {
  display: flex;
  gap: 12px;
  background: #DDFBE9; /* verde claro sutil */
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s;
}

.post-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.post-card-img img {
  width: 120px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.post-card-content h3 {
  margin: 0;
  font-size: 16px;
}

.tag-green {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background-color: #24BD76;
  color: white;
  border-radius: 4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

















/* Efeito de esconder a nav-bar (barra verde) */
.nav-bar {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Shrink header ao rolar */
.shrinkable {
  transition: all 0.3s ease;
}

.shrunk header {
  top: 20px;
  padding: 10px 0;
  transition: top 0.3s ease, padding 0.3s ease;
}


.shrunk .logo img {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.shrunk .header-right {
  font-size: 20px;
  transition: font-size 0.3s ease;
}

.shrunk .bar-separator {
  height: 30px;
  transition: height 0.3s ease;
}

.shrunk .top-bar {
  height: 20px;
  font-size: 10px;
  padding: 4px 0;
}


































/* Responsividade opcional (mobile/tablet) */
@media (max-width: 768px) {
  .index-container {
    flex-direction: column;
  }

  .recent-posts,
  .rankings {
    flex: 1 1 100%;
  }
}
























@media (max-width: 768px) {
  body {
    padding-top: 120px; /* 30 (top-bar) + 80 (header) + 24 (nav-bar) */
  }
  


  .top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    font-size: 12px;
    height: 30px;
    padding: 6px 0;
    background-color: #000;
    color: white;
    text-align: center;
    z-index: 1000;
  }

  header {
    position: fixed;
    top: 30px;
    width: 100%;
    padding: 16px 0;
    background-color: #2d2d2d;
    z-index: 999;
    border-bottom: 4px solid #24BD76;
  }

  .header-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    position: relative;
  }
  

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .logo img {
    max-height: 45px;
    transform: scale(1.8);
    margin-right: 10px;
  }

  .bar-separator {
    height: 24px;
    margin: 0 8px;
    border-left: 2px solid #24BD76;
  }

  .header-right {
    font-size: 25px;
    white-space: nowrap;
    text-align: center;
    color: white;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-bar {
    position: fixed;
    top: 110px;
    width: 100%;
    z-index: 998;
  }

  .nav-container {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #24BD76;
    padding: 10px 20px;
  }

  .nav-container.active {
    display: flex;
  }

  /* Cards */
  .notebook-detalhe .loja {
    flex-direction: column;
    align-items: flex-start;
  }

  .notebook-detalhe .loja img {
    width: 100%;
    max-width: 220px;
  }

  .notebook-detalhe .loja button {
    width: 100%;
    text-align: center;
  }

  /* Lista de prós e contras */
  .notebook-detalhe ul {
    list-style: disc;
    padding-left: 20px;
    margin: 12px 0;
  }

  .notebook-detalhe li {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 6px;
  }
}

