body {
  background-color: #F3F4F6;
  font-family: 'Montserrat', sans-serif;
  color: #333;

  padding-top: 80px;
}

/* ===================== CONTAINER GERAL ===================== */

.artigo-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 66, 122, 0.08);

  line-height: 1.6;
}

/* ===================== TÍTULO ===================== */

.artigo-container h1 {
  color: #00427a;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
  word-break: break-word;
}

/* ===================== IMAGEM ===================== */

.artigo-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 25px;
  transition: transform 0.4s ease;

}



.artigo-img:hover {
  transform: scale(1.02);
}

/* ===================== INFO (AUTOR) ===================== */

.artigo-info {
  font-size: 0.95rem;
  color: #6B7280;
  margin-bottom: 25px;
  padding-left: 12px;
  border-left: 4px solid #00427a;
}

/* ===================== TEXTO ===================== */

.artigo-texto h2,
.artigo-texto h3,
.artigo-texto h4 {
    text-align: left;
}

.artigo-texto {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;

  max-width: 100%;

  line-height: 1.8;
  text-align: justify;

  word-break: break-word;
  overflow-wrap: break-word;

  white-space: pre-wrap;

}

.artigo-texto p {
  margin-bottom: 18px;
  overflow-wrap: break-word;
}

.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-bottom: 25px;
  padding: 8px 12px;

  background: #f1f5f9;
  border-radius: 10px;

  text-decoration: none;
  font-size: 0.9rem;
  color: #00427a;
  font-weight: 600;

  transition: 0.2s ease;
}

.btn-voltar:hover {
  background: #e2e8f0;
  transform: translateX(-3px);
}

.btn-compre-aqui {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #F3A71B;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 999;
}

.btn-compre-aqui:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #333;
}

/* ===================== ARTIGO ===================== */

@media (max-width: 900px) {
  .artigo-container {
    margin: 20px 16px;
    padding: 28px 24px;
  }

  .artigo-container h1 {
    font-size: 1.8rem;
  }

  .artigo-texto {
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 64px;
  }

  .artigo-container {
    margin: 12px 10px;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .artigo-container h1 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .artigo-img {
    max-height: 220px;
    border-radius: 10px;
  }

  .artigo-texto {
    font-size: 0.95rem;
  }

  .btn-voltar {
    font-size: 0.85rem;
    padding: 7px 10px;
  }
}