/* ===========================
   ARTIGO ESTILO BLOG NOVO
   =========================== */

:root {
  --roxo: #a946ff;
  --rosa: #ff4f91;
  --preto: #07070d;
  --card-bg: #0b0d14;
  --card-bg-2: #0f0f19;
  --texto-claro: #f2f2f6;
  --texto-suave: #cfcfd9;
}

body {
  background: linear-gradient(180deg, #08080f 0%, #0b0d14 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
}


/* ANIMAÇÃO BASE */
@keyframes fadeBase {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* FADES */
.artigo-header,
.artigo-container,
.artigo-conteudo {
  opacity: 0;
  animation: fadeBase .8s ease forwards;
}

/* HEADER */
.artigo-header {
  padding-top: 150px;
  padding-bottom: 25px;
  text-align: center;
}

.artigo-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 0 12px rgba(169, 70, 255, 0.45);
}

.artigo-header p {
  color: var(--texto-suave);
  margin-top: 12px;
  font-size: 1.2rem;
}

/* CAPA */
.artigo-capa {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  border-radius: 26px;
  overflow: hidden;

  background: linear-gradient(
      to bottom right,
      rgba(169, 70, 255, 0.1),
      rgba(15, 15, 25, 1)
  );
  border: 1px solid rgba(169, 70, 255, 0.12);
  box-shadow: 0 0 40px rgba(169, 70, 255, 0.05);
}

.artigo-capa img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* CONTAINER */
.artigo-container {
  max-width: 900px;
  margin: auto;
  padding: 0 22px 100px 22px;
}

/* CONTEÚDO */
.artigo-conteudo {
  padding: 50px;
  border-radius: 24px;

  background: linear-gradient(
    145deg,
    var(--card-bg),
    var(--card-bg-2)
  );

  border: 1px solid rgba(169, 70, 255, 0.13);
  box-shadow:
      0 0 35px rgba(169, 70, 255, 0.08),
      0 0 10px rgba(169, 70, 255, 0.05) inset;
  backdrop-filter: blur(5px);
  animation-delay: .1s;
}

/* TIPOGRAFIA */
.artigo-conteudo h2 {
  font-size: 2rem;
  margin-top: 45px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(169, 70, 255, 0.4);
}

.artigo-conteudo h3 {
  font-size: 1.4rem;
  margin-top: 32px;
  color: var(--roxo);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(169, 70, 255, 0.25);
}

.artigo-conteudo p {
  color: var(--texto-claro);
  font-size: 1.15rem;
  line-height: 1.85;
  margin: 18px 0;
}

/* LISTAS */
.artigo-conteudo ul {
  margin: 20px 0;
  padding-left: 25px;
}

.artigo-conteudo li {
  margin: 12px 0;
  color: var(--texto-suave);
  font-size: 1.1rem;
}

/* BLOCKQUOTE */
.artigo-conteudo blockquote {
  margin: 35px 0;
  padding: 22px 30px;
  background: rgba(169, 70, 255, 0.07);
  backdrop-filter: blur(4px);
  border-left: 4px solid var(--roxo);
  color: var(--texto-claro);
  font-style: italic;
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(169, 70, 255, 0.22);
}

/* BOTÃO VOLTAR */
.btn-voltar {
  margin-top: 50px;
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(90deg, var(--roxo), var(--rosa));
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(169, 70, 255, 0.35);
  transition: 0.25s;
}

.btn-voltar:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(169, 70, 255, 0.7);
}

/* FADES EM CASCATA */
.artigo-conteudo > * {
  opacity: 0;
  animation: fadeBase .7s ease forwards;
}

.artigo-conteudo > *:nth-child(1) { animation-delay: .12s; }
.artigo-conteudo > *:nth-child(2) { animation-delay: .18s; }
.artigo-conteudo > *:nth-child(3) { animation-delay: .24s; }
.artigo-conteudo > *:nth-child(4) { animation-delay: .30s; }
.artigo-conteudo > *:nth-child(5) { animation-delay: .36s; }

/* MOBILE */
@media (max-width: 768px) {

  .artigo-header h1 {
    font-size: 2.3rem;
  }

  .artigo-capa img {
    height: 260px;
  }

  .artigo-conteudo {
    padding: 32px;
  }

  .artigo-conteudo p {
    font-size: 1.05rem;
  }
}
