/* ==========================================================================
   MalhaTec — Blog
   Tokens e componentes extraídos do CSS atual de https://www.malhatec.com/
   (Poppins, azul #27428e / #1e5eff, header fixo, faixa azul, cards, CTA pill)
   ========================================================================== */

:root {
  --primary-color: #27428e;
  --secondary-color: #000;
  --blue-bright: #1e5eff;
  --blue-deep: #0b2a89;
  --blue-soft: #4b7fd4;
  --blue-sky: #72b5da;
  --ink: #0b1b3a;
  --text: #333;
  --muted: #6c757d;
  --card-shadow: 0 20px 45px rgba(0, 44, 69, 0.08);
  --card-shadow-hover: 0 35px 70px rgba(0, 44, 69, 0.15);
  --bg-gradient: linear-gradient(135deg, #f7f7f7 0%, #f3f6f8 40%, #eef2f5 70%, rgba(0, 44, 69, 0.06) 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg-gradient);
  background-attachment: fixed;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary-color); }
a:hover, a:focus { color: #005580; text-decoration: underline; }
main { overflow-x: hidden; overflow-x: clip; } /* clip mantém o sticky da sidebar funcionando */

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header (igual ao das páginas internas: .paginas .topo) ------- */
.topo {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: #f7f7f7;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.topo.scrolling { background-color: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.topo-box { display: flex; align-items: center; justify-content: space-between; }
.topo .logo { width: 150px; padding: 20px 0; }
.topo .logo img { display: block; width: 100%; }
.topo .menu ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.topo .menu li { display: inline-block; position: relative; }
.topo .menu li a {
  display: block;
  padding: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  color: #111;
  transition: color .4s ease;
}
.topo .menu li:hover > a,
.topo .menu li a.menu-ativo { color: var(--primary-color); }
.topo .menu li a.menu-ativo { font-weight: 700; }

.btn-menu-responsivo { display: none; }
.btn-menu {
  display: inline-block;
  padding: 10px 30px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color);
  background: none;
  border: 0;
}
#close-menu-responsivo { display: none; }

/* ---------- Barra de progresso de leitura (posts) ----------------------- */
.progresso-leitura { position: fixed; top: 0; left: 0; z-index: 300; width: 100%; height: 4px; background: transparent; pointer-events: none; }
.progresso-leitura span {
  display: block; width: 0; height: 100%;
  background: linear-gradient(90deg, #0b2a89, #1e5eff, #72b5da);
  box-shadow: 0 0 10px rgba(30, 94, 255, .6);
  transition: width .1s linear;
}

/* ---------- WhatsApp flutuante ------------------------------------------ */
.whatsapp-fixed { position: fixed; bottom: 50px; right: 45px; z-index: 100; }
.whatsapp-icon a {
  display: flex; align-items: center; justify-content: center;
  width: 70px; height: 70px;
  border-radius: 100px;
  background: #24cc63;
  color: #fff;
  transition: .3s all;
}
.whatsapp-icon a:hover { background: #4ed882; text-decoration: none; }
.whatsapp-icon i { font-size: 30px; color: #fff; }

/* ---------- Faixa de título (.faixa-pgs) -------------------------------- */
.faixa-pgs {
  position: relative;
  margin-top: 120px;
  padding: 40px 20px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(72, 140, 255, .25), transparent 60%),
    linear-gradient(135deg, #0a2a5e, #0f3c88, #102f66);
}
.faixa-pgs::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .12), transparent);
  transform: translateX(-100%);
  animation: brilhoFaixa 6s ease-in-out infinite;
}
.faixa-pgs::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 180px; height: 3px;
  background: linear-gradient(90deg, transparent, #010305, transparent);
  transform: translateX(-50%);
  opacity: .8;
}
.faixa-pgs h1,
.faixa-pgs .faixa-titulo {
  position: relative;
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}
.faixa-pgs .faixa-sub {
  position: relative;
  margin: 10px auto 0;
  max-width: 720px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
}
#breadcrumb {
  position: relative;
  margin-top: 10px;
  color: #fff;
  font-size: 13px;
  text-shadow: 1px 1px 1px rgb(0 0 0 / 40%);
}
#breadcrumb a { color: #fff; text-decoration: none; }
#breadcrumb a:hover { color: #000; transition: .3s all; }
#breadcrumb i { padding: 0 5px; font-size: 11px; }
#breadcrumb strong { font-weight: 700; }

@keyframes brilhoFaixa {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* ---------- Componentes compartilhados ---------------------------------- */
.badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-bright);
  border: 1px solid rgba(30, 94, 255, .3);
  background: rgba(30, 94, 255, .08);
}

.section-label {
  display: flex; align-items: center;
  margin-bottom: 1rem;
  font-size: .9rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-color);
}
.section-label i { margin-right: .5rem; font-size: .8rem; }

.section-title {
  position: relative;
  margin: 0 0 2rem;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--primary-color);
}
.section-title::after {
  content: "";
  position: absolute; bottom: -12px; left: 0;
  width: 64px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #081a4d 0%, #0b2a89 45%, #1e5eff 55%, #0b2a89 75%, #081a4d 100%);
  box-shadow: 0 0 12px rgba(30, 94, 255, .55), 0 0 22px rgba(11, 42, 137, .35);
}

.cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(7, 52, 126, .25), rgba(34, 61, 115, .9));
  color: #f7f7f7;
  font-family: inherit;
  font-size: .95rem; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; text-decoration: none;
  box-shadow: 0 10px 30px rgba(34, 61, 115, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
  overflow: hidden;
  cursor: pointer;
  transition: all .45s ease;
}
.cta::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 120%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transition: all .8s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(75, 127, 212, .55);
  color: #fff; text-decoration: none;
}
.cta:hover::after { left: 120%; }
.cta i { font-size: .85rem; opacity: .85; }

/* ---------- Listagem do blog -------------------------------------------- */
.blog-lista { position: relative; padding: 70px 0 90px; overflow: hidden; }
.blog-lista::before {
  content: "";
  position: absolute; top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 136, 204, .15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.blog-lista::after {
  content: "";
  position: absolute; bottom: -100px; left: -100px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(0, 136, 204, .08);
  filter: blur(60px);
  pointer-events: none;
}
.blog-header { max-width: 640px; margin-bottom: 50px; }
.blog-header h2 { margin: 0 0 16px; font-size: 2.2rem; font-weight: 700; text-transform: uppercase; color: #0b1f33; }
.blog-header p { margin: 0; font-size: 1rem; line-height: 1.7; color: #5c6b7a; }

.blog-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.blog-filtros a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; text-decoration: none;
  color: var(--primary-color);
  border: 1px solid rgba(30, 94, 255, .25);
  background: rgba(255, 255, 255, .7);
  transition: all .3s ease;
}
.blog-filtros a:hover,
.blog-filtros a.ativo {
  color: #fff; text-decoration: none;
  border-color: transparent;
  background: linear-gradient(135deg, #223d73 0%, #4b7fd4 100%);
}

.blog-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.post-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  text-decoration: none;
  transition: all .45s cubic-bezier(.25, .46, .45, .94);
}
.post-card:hover { transform: translateY(-10px); box-shadow: var(--card-shadow-hover); text-decoration: none; }
.post-card::before {
  content: "";
  position: absolute; top: 24px; left: 0; z-index: 2;
  width: 4px; height: 60px;
  background: linear-gradient(180deg, #0088cc, transparent);
  opacity: 0; transition: .4s;
}
.post-card:hover::before { opacity: 1; }

.post-card__img {
  position: relative;
  height: 210px;
  background: linear-gradient(135deg, #eef2f5, #dfe8f2);
  overflow: hidden;
}
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card__img--contain img { object-fit: contain; padding: 24px; }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__cat {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #223d73 0%, #4b7fd4 100%);
  box-shadow: 0 6px 16px rgba(34, 61, 115, .35);
}
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.post-card__meta i { margin-right: 5px; color: var(--primary-color); }
.post-card h3 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 700; line-height: 1.35; color: var(--ink); transition: color .3s ease; }
.post-card:hover h3 { color: var(--blue-bright); }
.post-card p { margin: 0 0 20px; font-size: .92rem; line-height: 1.7; color: #4b5563; }
.post-card__mais {
  margin-top: auto;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary-color);
}
.post-card__mais i { margin-left: 6px; transition: transform .3s ease; }
.post-card:hover .post-card__mais i { transform: translateX(6px); }

/* Card em destaque (primeiro post) */
.post-card--destaque { grid-column: 1 / -1; flex-direction: row; }
.post-card--destaque .post-card__img { flex: 0 0 48%; height: auto; min-height: 340px; }
.post-card--destaque .post-card__img img { position: absolute; inset: 0; object-position: center 30%; }
.post-card--destaque .post-card__body { justify-content: center; padding: 40px; }
.post-card--destaque h3 { font-size: 1.7rem; }
.post-card--destaque p { font-size: 1rem; }

/* Paginação */
.paginacao { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.paginacao a, .paginacao span {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  color: var(--primary-color);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 44, 69, .08);
  transition: all .3s ease;
}
.paginacao a:hover, .paginacao .atual {
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #223d73 0%, #4b7fd4 100%);
}

/* ---------- Artigo ------------------------------------------------------- */
.artigo-wrap { position: relative; padding: 60px 0 80px; }
.artigo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }

.artigo-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.artigo-meta i { margin-right: 6px; color: var(--primary-color); }

.artigo-capa { margin: 0 0 36px; border-radius: 22px; overflow: hidden; box-shadow: var(--card-shadow); background: #fff; }
.artigo-capa img { display: block; width: 100%; max-height: 460px; object-fit: cover; object-position: center 28%; }

.artigo-corpo { font-size: 17px; line-height: 1.85; color: #3b4351; }
.artigo-corpo > p:first-of-type { font-size: 19px; line-height: 1.8; color: #1f2a3d; }
.artigo-corpo p { margin: 0 0 22px; }
.artigo-corpo h2 {
  position: relative;
  margin: 48px 0 18px;
  padding-left: 18px;
  font-size: 1.7rem; font-weight: 700; line-height: 1.3;
  color: var(--primary-color);
}
.artigo-corpo h2::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 4px; height: calc(100% - 8px);
  border-radius: 2px;
  background: linear-gradient(180deg, #4f7cff, #1e5eff);
  box-shadow: 0 0 10px rgba(30, 94, 255, .5);
}
.artigo-corpo h3 { margin: 32px 0 12px; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.artigo-corpo ul, .artigo-corpo ol { margin: 0 0 24px; padding-left: 0; list-style: none; }
.artigo-corpo ul li { position: relative; margin-bottom: 12px; padding-left: 26px; }
.artigo-corpo ul li::before {
  content: "";
  position: absolute; left: 0; top: .7em;
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, #4f7cff, #1e5eff);
  box-shadow: 0 0 8px rgba(30, 94, 255, .6);
}
.artigo-corpo ol { counter-reset: passo; }
.artigo-corpo ol li { position: relative; margin-bottom: 14px; padding-left: 46px; counter-increment: passo; }
.artigo-corpo ol li::before {
  content: counter(passo);
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #223d73, #4b7fd4);
}
.artigo-corpo a:not(.cta) { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.artigo-corpo a.cta, .artigo-corpo a.cta:hover { text-decoration: none; }
.artigo-corpo strong { color: var(--ink); }

.artigo-corpo blockquote {
  position: relative;
  margin: 34px 0;
  padding: 28px 32px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--card-shadow);
  font-size: 1.15rem; font-style: italic; line-height: 1.7;
  color: var(--ink);
  border-left: 4px solid var(--blue-bright);
}

.artigo-corpo figure { margin: 34px 0; }
.artigo-corpo figure img { display: block; width: 100%; border-radius: 18px; box-shadow: var(--card-shadow); }
.artigo-corpo figcaption { margin-top: 10px; font-size: 13px; text-align: center; color: var(--muted); }

.tabela-wrap { margin: 30px 0; overflow-x: auto; border-radius: 16px; box-shadow: var(--card-shadow); background: #fff; }
.artigo-corpo table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.artigo-corpo th {
  padding: 14px 18px; text-align: left;
  font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #0a2a5e, #0f3c88);
}
.artigo-corpo td { padding: 14px 18px; border-bottom: 1px solid #e9eef4; }
.artigo-corpo tr:last-child td { border-bottom: 0; }
.artigo-corpo tr:nth-child(even) td { background: #f7f9fc; }

/* Sumário */
.sumario {
  margin: 0 0 36px;
  padding: 24px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(30, 94, 255, .18);
  box-shadow: var(--card-shadow);
}
.sumario strong { display: block; margin-bottom: 12px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--primary-color); }
.sumario ol { margin: 0; padding: 0; list-style: none; counter-reset: sum; }
.sumario li { margin-bottom: 8px; padding-left: 28px; position: relative; counter-increment: sum; font-size: 15px; line-height: 1.5; }
.sumario li::before { content: counter(sum) "."; position: absolute; left: 0; font-weight: 700; color: var(--blue-bright); }
.sumario a { color: #3b4351; font-weight: 500; text-decoration: none; }
.sumario a:hover { color: var(--blue-bright); text-decoration: underline; }

/* Caixa de CTA dentro do artigo */
.artigo-cta {
  position: relative;
  margin: 44px 0 10px;
  padding: 38px 40px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(600px 240px at 10% 0%, rgba(72, 140, 255, .3), transparent 60%),
    linear-gradient(135deg, #0a2a5e, #0f3c88, #102f66);
  box-shadow: 0 25px 55px rgba(10, 42, 94, .3);
}
.artigo-cta h3 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 700; color: #fff; }
.artigo-cta p { margin: 0 0 24px; font-size: 1rem; font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.artigo-cta .cta { background: #fff; color: var(--primary-color); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.artigo-cta .cta:hover { color: var(--primary-color); }

/* Autor + tags + compartilhar */
.artigo-rodape { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(39, 66, 142, .15); }
.artigo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.artigo-tags a {
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; text-decoration: none;
  color: var(--primary-color);
  background: rgba(30, 94, 255, .08);
  border: 1px solid rgba(30, 94, 255, .2);
}
.artigo-tags a:hover { background: var(--primary-color); color: #fff; text-decoration: none; }
.compartilhar { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.compartilhar a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 16px; text-decoration: none;
  color: var(--primary-color);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 44, 69, .08);
  transition: all .3s ease;
}
.compartilhar a:hover { color: #fff; transform: translateY(-3px); background: linear-gradient(135deg, #1e5eff, #0b2a89); }

.autor-box {
  display: flex; gap: 20px; align-items: center;
  margin-top: 30px; padding: 24px;
  border-radius: 18px; background: #fff; box-shadow: var(--card-shadow);
}
.autor-box img { flex: 0 0 72px; width: 72px; height: 72px; padding: 8px; border-radius: 50%; object-fit: contain; background: #f3f6f8; }
.autor-box strong { display: block; font-size: 15px; color: var(--ink); }
.autor-box span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 992px) and (min-height: 980px) {
  .blog-sidebar { position: sticky; top: 140px; }
}
.side-box { padding: 28px; border-radius: 18px; background: #fff; box-shadow: var(--card-shadow); }
.side-box h4 {
  position: relative;
  margin: 0 0 18px; padding-left: 14px;
  font-size: 14px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--ink);
}
.side-box h4::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 4px; height: 100%; border-radius: 2px;
  background: linear-gradient(180deg, #4f7cff, #1e5eff);
}
.side-box ul { margin: 0; padding: 0; list-style: none; }
.side-box li { padding: 10px 0; border-bottom: 1px solid #eef2f5; }
.side-box li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-box li a { font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; color: #2b3445; transition: color .3s ease; }
.side-box li a:hover { color: var(--blue-bright); text-decoration: none; }
.side-box li small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.side-box--cta { color: #fff; background: linear-gradient(135deg, #0a2a5e, #0f3c88); text-align: center; }
.side-box--cta h4 { padding: 0; color: #fff; }
.side-box--cta h4::before { display: none; }
.side-box--cta p { margin: 0 0 18px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.side-box--cta .cta { padding: 12px 28px; background: #fff; color: var(--primary-color); font-size: .85rem; }

.relacionados { margin-top: 70px; }
.relacionados > h2 { margin: 0 0 30px; font-size: 1.8rem; font-weight: 700; text-transform: uppercase; color: #0b1f33; }

/* ---------- Rodapé (escuro, igual ao site) ------------------------------ */
.footer {
  position: relative;
  padding: 70px 0 30px;
  color: #e6e6e6;
  font-size: 14px;
  background: linear-gradient(180deg, #0f1220 0%, #0b0d18 60%, #070812 100%);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; top: -120px; left: 50%;
  width: 420px; height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(11, 42, 137, .25), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 40px; }
.logo_footer img {
  width: 210px; margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
}
.footer p { margin: 0 0 14px; line-height: 1.7; }
.footer ul { padding: 0; margin: 0; }
.footer ul li { position: relative; margin-bottom: 12px; padding-left: 18px; list-style: none; }
.footer ul li::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #4f7cff, #1e5eff);
  box-shadow: 0 0 8px rgba(30, 94, 255, .7);
}
.footer a { display: inline-block; color: #cfd3ff; line-height: 1.6; text-decoration: none; transition: transform .35s ease, color .3s ease; }
.footer ul li a:hover { color: #fff; text-decoration: none; transform: translateX(6px); }
.footer h5 {
  position: relative;
  margin: 0 0 24px; padding-left: 18px;
  font-size: 1.05rem; font-weight: 600; letter-spacing: .6px; line-height: 1.3;
  text-transform: uppercase; color: #fff;
}
.footer h5::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 4px; height: 100%; border-radius: 2px;
  background: linear-gradient(180deg, #4f7cff, #1e5eff);
  box-shadow: 0 0 10px rgba(30, 94, 255, .6);
}
.footer .contato-lista p i { margin-right: 8px; }
.redes-sociais-footer { display: flex; gap: 12px; margin-top: 18px; }
.footer .redes-sociais-footer a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  font-size: 18px; color: #fff;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
  transition: all .35s ease;
}
.footer .redes-sociais-footer a:hover {
  background: linear-gradient(135deg, #1e5eff, #0b2a89);
  box-shadow: 0 0 18px rgba(30, 94, 255, .6);
  transform: translateY(-4px);
}
.creditos { position: relative; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.creditos small { color: #b8beff; }
.creditos a { color: #fff; font-weight: 600; }

.barra-footer { display: none; }

/* ---------- Responsivo --------------------------------------------------- */
@media (max-width: 991.98px) {
  .artigo-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .btn-menu-responsivo { display: block; }
  .topo .menu-box {
    display: none;
    position: fixed; inset: 0; z-index: 200;
    padding: 20px 0;
    background: #fff;
    overflow-y: auto;
  }
  .topo .menu-box.aberto { display: block; }
  #close-menu-responsivo { display: block; margin-left: auto; }
  .topo .menu ul { flex-direction: column; }
  .topo .menu li { display: block; border-top: 1px solid #eee; }
  .topo .menu li a { padding: 16px 24px; font-size: 15px; }
}

@media (max-width: 768px) {
  .post-card--destaque { flex-direction: column; }
  .post-card--destaque .post-card__img { flex-basis: auto; min-height: 240px; height: 240px; }
  .post-card--destaque .post-card__body { padding: 26px; }
  .post-card--destaque h3 { font-size: 1.35rem; }
  .section-title { font-size: 1.8rem; }
  .footer { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer h5 { padding-left: 0; }
  .footer h5::before { display: none; }
  .footer ul li { padding-left: 0; }
  .footer ul li::before { display: none; }
  .redes-sociais-footer { justify-content: center; }
  .artigo-corpo { font-size: 16px; }
  .artigo-corpo > p:first-of-type { font-size: 17px; }
  .artigo-corpo h2 { font-size: 1.4rem; }
  .artigo-cta { padding: 30px 24px; }
}

@media (max-width: 640px) {
  .whatsapp-fixed { right: 20px; bottom: 90px; }
  .whatsapp-icon a { width: 56px; height: 56px; }
  .whatsapp-icon i { font-size: 26px; }
  .barra-footer {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    display: flex; justify-content: space-around;
    padding: 15px;
    font-size: 22px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 -2px rgba(0, 0, 0, .1);
  }
  .barra-footer a { color: #333; }
  body { padding-bottom: 56px; }
}

@media (max-width: 520px) {
  .faixa-pgs h1, .faixa-pgs .faixa-titulo { font-size: 24px; letter-spacing: 1px; }
  .faixa-pgs .faixa-sub { font-size: 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-header h2 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
