/*
Theme Name: Como Investir
Theme URI: https://comoinvestir.com
Author: Como Investir
Description: Tema profissional para blog de finanças e investimentos
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: comoinvestir
*/

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #f5f5f5;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   HEADER — BRANCO, LOGO VERDE/AZUL
======================================== */
#masthead {
  background: #ffffff;
  border-bottom: 3px solid #1a7a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

/* LOGO */
.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-title {
  font-size: 21px;
  font-weight: 800;
  color: #1a7a1a;
  letter-spacing: -0.3px;
  line-height: 1;
}

.site-title span {
  color: #0a3d8f;
}

.site-description { display: none; }

/* ========================================
   NAVEGAÇÃO HORIZONTAL
======================================== */
#site-navigation {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.nav-menu li a {
  display: block;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  color: #0a3d8f;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  background: #0a3d8f;
  color: #ffffff;
}

/* Menu mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid #0a3d8f;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  color: #0a3d8f;
  font-size: 18px;
  margin-left: auto;
}

/* ========================================
   LAYOUT PRINCIPAL
======================================== */
#content {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

/* ========================================
   BARRA DE PESQUISA
======================================== */
.search-bar {
  background: #1a1a1a;
}

.search-bar form {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  height: 54px;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  color: #ccc;
  font-size: 15px;
  padding: 0 24px;
  outline: none;
}

.search-bar input::placeholder { color: #777; }

.search-bar button {
  background: #2a2a2a;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 0 32px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background .2s;
}

.search-bar button:hover { background: #1a7a1a; }

/* ========================================
   HERO SECTION — 2 COLUNAS
   Esquerda: 1 card grande | Direita: 1 grande topo + 2 pequenos baixo
======================================== */
.hero-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 500px;
}

/* Coluna direita composta */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Linha inferior direita: 2 cards lado a lado */
.hero-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

/* Card grande (esquerda) */
.hero-main {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.hero-main img,
.hero-center img,
.hero-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}

.hero-main:hover img,
.hero-center:hover img { transform: scale(1.03); }
.hero-small:hover img  { transform: scale(1.04); }

.hero-main .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.hero-badge {
  display: inline-block;
  background: #1a7a1a;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
  width: fit-content;
}

.hero-main h2 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-main h2 a,
.hero-center h2 a,
.hero-small h3 a {
  color: #fff;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #ccc;
}

.hero-meta .author-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta .author-info img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-bookmark {
  margin-left: auto;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

/* Card médio (centro) */
.hero-center {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.hero-center .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.80) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.hero-center h2 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}

/* Cards pequenos (baixo direita) */
.hero-small {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  cursor: pointer;
  min-height: 0;
}

.hero-small .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.hero-small h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ========================================
   GRID DE POSTS
======================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post-card .card-body {
  padding: 15px;
}

.post-card .cat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a7a1a;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.post-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  margin-bottom: 8px;
}

.post-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .card-meta {
  font-size: 11px;
  color: #999;
  margin-top: 10px;
}

/* ========================================
   SIDEBAR
======================================== */
#secondary {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.widget {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a7a1a;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f5e9;
  margin-bottom: 15px;
}

/* Categorias na sidebar */
.widget_categories ul {
  list-style: none;
}

.widget_categories ul li {
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.widget_categories ul li:last-child {
  border-bottom: none;
}

.widget_categories ul li a {
  color: #333;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget_categories ul li a:hover {
  color: #1a7a1a;
}

/* Posts recentes */
.widget_recent_entries ul {
  list-style: none;
}

.widget_recent_entries ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  line-height: 1.4;
}

.widget_recent_entries ul li:last-child {
  border-bottom: none;
}

.widget_recent_entries ul li a {
  color: #222;
  font-weight: 500;
}

.widget_recent_entries ul li a:hover {
  color: #1a7a1a;
}

/* ========================================
   PAGINAÇÃO
======================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 30px 0;
}

.pagination a, .pagination span {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.2s;
}

.pagination a:hover, .pagination .current {
  background: #1a7a1a;
  color: #fff;
  border-color: #1a7a1a;
}

/* ========================================
   SINGLE POST
======================================== */
.single-post-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 35px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.single-post-wrap .post-header {
  margin-bottom: 25px;
}

.single-post-wrap .post-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a7a1a;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.single-post-wrap h1 {
  font-size: 30px;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin-bottom: 12px;
}

.single-post-wrap .post-meta {
  font-size: 12px;
  color: #999;
}

.single-post-wrap .post-thumbnail {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.single-post-wrap .post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.single-post-wrap .post-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 28px 0 12px;
}

.single-post-wrap .post-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 10px;
}

.single-post-wrap .post-content p {
  margin-bottom: 18px;
}

.single-post-wrap .post-content ul,
.single-post-wrap .post-content ol {
  margin: 15px 0 15px 25px;
}

.single-post-wrap .post-content li {
  margin-bottom: 6px;
}

/* ========================================
   FOOTER — 3 COLUNAS (REFERÊNCIA)
======================================== */
#colophon {
  background: #f4f4f4;
  border-top: 3px solid #ddd;
  margin-top: 50px;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

/* Coluna 1 — Logo + empresa */
.footer-col-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-size: 19px;
  font-weight: 800;
  color: #1a7a1a;
}

.footer-logo-text strong { color: #0a3d8f; }

.footer-col-brand p {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

.footer-col-brand a {
  color: #1a7a1a;
  font-weight: 600;
}

/* Coluna 2 — Páginas Obrigatórias */
.footer-col-pages h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a7a1a;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ddd;
}

.footer-col-pages ul {
  list-style: none;
}

.footer-col-pages ul li {
  padding: 6px 0;
  border-bottom: 1px solid #e8e8e8;
}

.footer-col-pages ul li:last-child { border-bottom: none; }

/* Suporte ao wp_nav_menu() no rodapé (.footer-pages-list) */
.footer-pages-list { list-style: none; }
.footer-pages-list li {
  padding: 6px 0;
  border-bottom: 1px solid #e8e8e8;
}
.footer-pages-list li:last-child { border-bottom: none; }

.footer-col-pages ul li a,
.footer-pages-list li a {
  font-size: 13px;
  color: #444;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col-pages ul li a:hover,
.footer-pages-list li a:hover { color: #1a7a1a; }

/* Coluna 3 — Contato */
.footer-col-contact h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a7a1a;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ddd;
}

.footer-col-contact p {
  font-size: 13px;
  color: #555;
  line-height: 1.9;
}

.footer-col-contact a {
  color: #0a3d8f;
  font-weight: 600;
}

.footer-col-contact a:hover { text-decoration: underline; }

/* Barra inferior */
.footer-bottom {
  background: #e8e8e8;
  border-top: 1px solid #d0d0d0;
  text-align: center;
  padding: 14px 24px;
  font-size: 12px;
  color: #666;
}


/* ========================================
   MEGA-MENU
======================================== */
.nav-menu > li { position: static; }

.mega-menu {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 67px;
  background: #1a6e1a;
  padding: 24px 0 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 998;
  animation: fadeDown .18s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-menu > li:hover .mega-menu { display: block; }

.mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.mega-header h2 { font-size: 18px; font-weight: 700; color: #fff; }

.mega-header a.ver-mais {
  font-size: 13px; color: #a8e6a8; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  transition: color .2s;
}
.mega-header a.ver-mais:hover { color: #fff; }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.mega-card img {
  width: 100%; height: 150px; object-fit: cover;
  border-radius: 6px; margin-bottom: 10px;
  transition: opacity .2s;
}
.mega-card:hover img { opacity: .85; }
.mega-card h3, .mega-card h3 a { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.35; }
.mega-card h3 a:hover { text-decoration: underline; }
.mega-card .meta { font-size: 11px; color: #a8e6a8; margin-top: 5px; }

.mega-card-side {
  border-left: 1px solid rgba(255,255,255,.2);
  padding-left: 16px;
}
.mega-card-side h3, .mega-card-side h3 a { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 8px; }
.mega-card-side h3 a:hover { text-decoration: underline; }
.mega-card-side .meta { font-size: 11px; color: #a8e6a8; }


/* ── FOOTER CATEGORIAS ── */
.footer-col-cats h3 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  color: #1a7a1a; letter-spacing: 0.5px;
  margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid #ddd;
}

.footer-col-cats .cat-links { display: flex; flex-direction: column; gap: 0; }

/* Lista simples de categorias no rodapé */
.footer-cat-list { list-style: none; margin: 0; padding: 0; }
.footer-cat-list li {
  padding: 7px 0;
  border-bottom: 1px solid #e8e8e8;
}
.footer-cat-list li:last-child { border-bottom: none; }
.footer-cat-list li a {
  font-size: 13px;
  color: #444;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .2s;
}
.footer-cat-list li a::after { content: '›'; font-size: 16px; color: #bbb; transition: color .2s; }
.footer-cat-list li a:hover { color: #1a7a1a; }
.footer-cat-list li a:hover::after { color: #1a7a1a; }

/* (footer-cat-popup removido — substituído por .footer-cat-list) */

/* ========================================
   CAMADAS DE CATEGORIA — 3 POR LINHA
======================================== */
.cat-section { max-width: 1200px; margin: 40px auto; padding: 0 20px; }

.cat-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #e0e0e0; }
.cat-section-title { font-size: 20px; font-weight: 800; color: #111; }
.cat-section-more { font-size: 13px; font-weight: 600; color: #1a7a1a; }
.cat-section-more:hover { text-decoration: underline; }

.cat-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.cat-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.13); }

.cat-card-img { position: relative; overflow: hidden; height: 220px; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-badge { position: absolute; bottom: 14px; left: 14px; background: #1a7a1a; color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; padding: 5px 12px; border-radius: 4px; }

.cat-card-body { padding: 16px 18px 18px; }
.cat-card-body h3 { font-size: 17px; font-weight: 800; color: #111; line-height: 1.3; margin-bottom: 14px; }
.cat-card-body h3 a { color: #111; }
.cat-card-body h3 a:hover { color: #1a7a1a; }

.cat-card-footer { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #666; }
.cat-card-footer .author { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.cat-card-footer .author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cat-card-footer .sep { color: #ccc; }
.cat-card-footer .read-time { display: flex; align-items: center; gap: 4px; }
.cat-card-footer .bookmark { margin-left: auto; color: #bbb; font-size: 16px; cursor: pointer; }
.cat-card-footer .bookmark:hover { color: #1a7a1a; }

/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 900px) {
  #content {
    grid-template-columns: 1fr;
  }
  .footer-widgets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
    gap: 2px;
  }

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

  .nav-menu li a {
    padding: 10px 15px;
    width: 100%;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    height: 60px;
  }
}

/* ========================================
   CAMADA 2
======================================== */
.layer2 {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.85fr;
  gap: 24px;
}

.l2-cat-title { font-size: 17px; font-weight: 800; color: #111; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #e0e0e0; }

.l2-card { position: relative; border-radius: 10px; overflow: hidden; height: 420px; cursor: pointer; }
.l2-card img { width:100%; height:100%; object-fit:cover; transition: transform .4s; display:block; }
.l2-card:hover img { transform: scale(1.03); }
.l2-card .l2-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.1) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.l2-badge { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: #aaa; margin-bottom: 6px; }
.l2-num { position: absolute; right: 16px; bottom: 80px; font-size: 72px; font-weight: 900; color: rgba(255,255,255,.12); line-height: 1; pointer-events: none; }
.l2-card h3 { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 10px; }
.l2-card h3 a { color: #fff; }
.l2-card p { font-size: 12px; color: #bbb; line-height: 1.5; margin-bottom: 12px; }
.l2-tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(26,122,26,.85); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; width: fit-content; }
.l2-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #aaa; }
.l2-meta img { width:24px; height:24px; border-radius:50%; object-fit:cover; }

.l2-list { display: flex; flex-direction: column; gap: 0; padding-top: 38px; }
.l2-list-item { display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid #e8e8e8; }
.l2-list-item:first-child { border-top: 1px solid #e8e8e8; }
.l2-list-text h4 { font-size: 15px; font-weight: 700; color: #111; line-height: 1.35; margin-bottom: 6px; }
.l2-list-text h4 a { color: #111; }
.l2-list-text h4 a:hover { color: #1a7a1a; }
.l2-read { font-size: 11px; color: #888; }
.l2-list-item img { width:120px; height:80px; object-fit:cover; border-radius:6px; }

.l2-widgets { display: flex; flex-direction: column; gap: 20px; padding-top: 38px; }

.weather-widget, .social-widget { background: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.weather-title { background: #1a7a1a; color: #fff; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 4px; margin-bottom: 14px; display: inline-block; }
.weather-main { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.weather-icon { font-size: 40px; }
.weather-temp { font-size: 48px; font-weight: 900; color: #111; line-height: 1; }
.weather-temp sup { font-size: 18px; font-weight: 600; color: #555; }
.weather-city { font-size: 22px; font-weight: 800; color: #111; margin-bottom: 2px; }
.weather-desc { font-size: 12px; color: #888; margin-bottom: 8px; }
.weather-details { font-size: 11px; color: #555; display: flex; flex-direction:column; gap:2px; margin-bottom:14px; }
.weather-forecast { display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; text-align: center; }
.weather-day { font-size: 10px; color: #888; }
.weather-day-icon { font-size: 16px; }
.weather-day-temp { font-size: 11px; font-weight: 700; color: #333; }

.social-title { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 16px; }
.social-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; text-align: center; }
.social-item { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.social-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; transition: transform .2s; }
.social-icon:hover { transform: scale(1.08); }
.social-icon.fb { background: #1877f2; }
.social-icon.yt { background: #ff0000; }
.social-icon.wa { background: #25d366; }
.social-count { font-size: 14px; font-weight: 800; color: #111; }
.social-label { font-size: 11px; color: #888; }

@media (max-width: 900px) { .layer2 { grid-template-columns: 1fr; } }

/* ========================================
   PÁGINA INSTITUCIONAL (page.php)
======================================== */
.page-view {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  background: #fff;
}
.page-view--active { display: block; }

.page-view h1 {
  font-size: 36px;
  font-weight: 900;
  color: #111;
  margin-bottom: 32px;
  line-height: 1.2;
}

.page-body {
  max-width: 750px;
  padding-left: 56px;
}

.page-view .page-subtitle {
  font-size: 13px;
  color: #999;
  margin-bottom: 28px;
}

.page-view h2 {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin: 32px 0 14px;
}

.page-view p {
  font-size: 15px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 16px;
}

.page-view a {
  color: #1a7a1a;
  font-weight: 700;
  text-decoration: underline;
}
.page-view a:hover { color: #145e14; }

.page-view ul {
  list-style: none;
  margin: 12px 0 20px 0;
  padding: 0;
}
.page-view ul li {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}
.page-view ul li::before {
  content: '°';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 18px;
  color: #333;
  line-height: 1;
}

/* Contato — grid de 2 colunas */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}
.contact-info h2, .contact-form h2 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}
.contact-form {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: #333; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #1a7a1a; }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit {
  background: #1a7a1a;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background .2s;
}
.form-submit:hover { background: #145e14; }
.privacy-note { font-size: 11px; color: #888; margin-top: 10px; line-height: 1.6; }

@media (max-width: 900px) {
  .page-body { padding-left: 24px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-view { padding: 24px 16px 60px; }
  .page-view h1 { font-size: 26px; }
  .page-body { padding-left: 0; max-width: 100%; }
}

/* ========================================
   ARTIGO ÚNICO (single.php)
======================================== */

/* Fundo cinza para a área do artigo */
body.single { background: #f5f5f5; }

/* ── Share lateral fixo ── */
.floating-share {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.floating-share .share-label {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 4px;
}
.floating-share a,
.floating-share button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.floating-share a:hover,
.floating-share button:hover { transform: scale(1.12); }
.floating-share .share-fb   { background: #1877f2; color: #fff; }
.floating-share .share-x    { background: #111;    color: #fff; font-size: 12px; font-weight: 700; }
.floating-share .share-wa   { background: #25d366; color: #fff; font-size: 17px; }
.floating-share .share-link,
.floating-share .share-print { background: #eee; color: #444; font-size: 14px; }

/* ── Cabeçalho do artigo ── */
.article-header-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 0;
}
.article-breadcrumb { font-size: 12px; color: #999; margin-bottom: 14px; }
.article-breadcrumb a { color: #1a7a1a; font-weight: 600; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-breadcrumb span { margin: 0 6px; }

.article-category-badge {
  display: inline-block;
  background: #1a7a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.article-title {
  font-size: 34px;
  font-weight: 900;
  color: #111;
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
  font-size: 13px;
  color: #666;
  flex-wrap: wrap;
}
.article-meta .meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #333;
}
.article-meta .meta-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.meta-divider { color: #ddd; }

/* ── Barra de share inline (circular) ── */
.inline-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 6px;
  flex-wrap: wrap;
}
.inline-share-label { font-size: 13px; font-weight: 700; color: #555; margin-right: 4px; }

.isc-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.13);
}
.isc-btn:hover { transform: scale(1.13); box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.isc-fb    { background: #1877f2; color: #fff; }
.isc-x     { background: #111;    color: #fff; font-size: 12px; }
.isc-wa    { background: #25d366; color: #fff; font-size: 17px; }
.isc-link  { background: #e0e0e0; color: #444; font-size: 14px; }
.isc-print { background: #e0e0e0; color: #444; font-size: 14px; }

/* ── Imagem destaque ── */
.article-featured-img {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.article-featured-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* ── Grid corpo + sidebar ── */
.article-body-wrap {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

/* ── Conteúdo do artigo ── */
.article-content {
  background: #fff;
  border-radius: 10px;
  padding: 36px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.article-lead {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  line-height: 1.75;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}

/* ── TOC ── */
.toc-box {
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 30px;
}
.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  cursor: pointer;
  user-select: none;
}
.toc-header h4 { font-size: 15px; font-weight: 700; color: #111; }
.toc-toggle { font-size: 13px; color: #1a7a1a; font-weight: 600; }
.toc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.toc-item { display: flex; gap: 8px; font-size: 13px; color: #444; cursor: pointer; }
.toc-item:hover { color: #1a7a1a; }
.toc-num { font-weight: 700; color: #1a7a1a; min-width: 22px; }

/* ── Corpo do artigo (tipografia) ── */
.article-body h2 {
  font-size: 23px;
  font-weight: 800;
  color: #111;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}
.article-body h3 { font-size: 19px; font-weight: 700; color: #222; margin: 22px 0 10px; }
.article-body p  { font-size: 16px; color: #333; line-height: 1.85; margin-bottom: 18px; }
.article-body ul,
.article-body ol { margin: 14px 0 18px 24px; }
.article-body li { font-size: 15px; color: #333; line-height: 1.8; margin-bottom: 7px; }
.article-body img {
  width: 100%;
  border-radius: 8px;
  margin: 22px 0 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  display: block;
}
.article-body .wp-caption { max-width: 100% !important; width: 100% !important; }
.article-body .wp-caption-text,
.article-body .img-caption,
.article-body figcaption {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-bottom: 22px;
  font-style: italic;
}
/* caption com traço — */
.article-body .wp-caption-text::before,
.article-body .img-caption::before,
.article-body figcaption::before { content: '— '; }

.article-body .highlight-box,
.article-body .wp-block-pullquote {
  background: #e8f5e9;
  border-left: 4px solid #1a7a1a;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.article-body .highlight-box p,
.article-body .wp-block-pullquote p { margin: 0; color: #1a4a1a; font-weight: 500; }

.article-body a { color: #1a7a1a; font-weight: 600; }
.article-body a:hover { text-decoration: underline; }

/* ── Barra de share do rodapé ── */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  margin-top: 28px;
  border-top: 2px solid #f0f0f0;
  flex-wrap: wrap;
}
.article-share-bar .share-label-text {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-right: 4px;
}

/* ── Navegação anterior / próximo ── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.post-nav-item {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  transition: box-shadow .2s;
  text-decoration: none;
  display: block;
}
.post-nav-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.post-nav-item.next { text-align: right; }
.post-nav-direction {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a7a1a;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.post-nav-title { font-size: 14px; font-weight: 700; color: #111; line-height: 1.4; }

/* ── Sidebar do artigo ── */
.article-sidebar { display: flex; flex-direction: column; gap: 22px; }

.sidebar-widget {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.sidebar-widget--featured { padding: 0; overflow: hidden; }

.sidebar-widget-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a7a1a;
  letter-spacing: .5px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f5e9;
  margin-bottom: 16px;
}

/* Siga-nos */
.siga-nos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; text-align: center; }
.siga-nos-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.siga-nos-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  margin: 0 auto;
  font-weight: 700;
}
.siga-nos-icon.fb { background: #1877f2; }
.siga-nos-icon.yt { background: #ff0000; }
.siga-nos-icon.wa { background: #25d366; }
.siga-nos-icon.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.siga-nos-icon.tw { background: #111; font-size: 13px; }
.siga-nos-icon.tg { background: #0088cc; }
.siga-nos-count  { font-size: 13px; font-weight: 800; color: #111; }
.siga-nos-label  { font-size: 10px; color: #888; }

/* Featured card sidebar */
.sidebar-featured-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.sidebar-featured-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.sidebar-featured-card:hover img { transform: scale(1.04); }
.sidebar-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.1) 55%,transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.sidebar-featured-overlay h4 { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 10px; }
.leia-mais { display: inline-block; background: #1a7a1a; color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 4px; }

/* Últimas postagens */
.latest-posts-list { display: flex; flex-direction: column; }
.latest-post-item {
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
}
.latest-post-item:last-child { border-bottom: none; }
.latest-post-item:hover .latest-post-title { color: #1a7a1a; }
.latest-post-title { font-size: 13px; font-weight: 700; color: #111; line-height: 1.4; margin-bottom: 4px; }
.latest-post-title a { color: #111; }
.latest-post-title a:hover { color: #1a7a1a; }
.latest-post-cat { font-size: 10px; font-weight: 800; text-transform: uppercase; color: #1a7a1a; }
.latest-post-img { width: 68px; height: 52px; object-fit: cover; border-radius: 6px; }

/* ── Artigos relacionados ── */
.related-posts-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.related-posts-section > h3 {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e0e0e0;
}

/* ── Responsivo — artigo ── */
@media (max-width: 900px) {
  .article-body-wrap { grid-template-columns: 1fr; }
  .floating-share    { display: none; }
  .post-nav          { grid-template-columns: 1fr; }
  .article-title     { font-size: 26px; }
  .toc-grid          { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .article-content   { padding: 20px 16px; }
  .article-featured-img img { height: 200px; }
  .inline-share-bar  { gap: 8px; }
  .isc-btn           { width: 32px; height: 32px; font-size: 13px; }
  .article-title     { font-size: 22px; }
}

/* ── Responsivo extra — mobile geral ── */
@media (max-width: 900px) {
  .hero-section       { grid-template-columns: 1fr; height: auto; gap: 8px; margin-bottom: 20px; }
  .hero-right-col     { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-center        { flex: none !important; min-height: 220px; }
  .hero-main          { min-height: 260px; }
  .hero-bottom-row    { grid-column: 1 / -1; }
  .hero-small         { min-height: 180px; }
  .cat-grid-4         { grid-template-columns: repeat(2,1fr); }
  .cat-grid-3         { grid-template-columns: repeat(2,1fr); }
  .footer-main        { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-cat-popup   { display: none !important; }
  .mega-menu          { display: none !important; }
  .menu-toggle        { display: block !important; }
  .nav-menu.active    { display: flex !important; }
}
@media (max-width: 600px) {
  .hero-right-col     { grid-template-columns: 1fr; }
  .hero-center        { min-height: 200px; }
  .hero-bottom-row    { grid-template-columns: 1fr 1fr; }
  .cat-grid-4         { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-main        { grid-template-columns: 1fr; }
  .posts-grid         { grid-template-columns: 1fr; }
}

/* ========================================
   COMPATIBILIDADE GUTENBERG
   Blocos padrão do editor funcionam dentro
   de .page-view e .article-body
======================================== */

/* Remover margens extras adicionadas pelo Gutenberg */
.page-view  .wp-block-group,
.article-body .wp-block-group { margin: 0; }

/* Títulos de bloco */
.page-view  .wp-block-heading,
.article-body .wp-block-heading { /* herda estilos de h2/h3 definidos acima */ }

/* Listas de bloco — aplica os mesmos estilos das listas comuns */
.page-view  .wp-block-list,
.article-body .wp-block-list { margin: 14px 0 18px 0; padding: 0; list-style: none; }

.page-view  .wp-block-list li,
.article-body .wp-block-list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 12px;
}
.page-view  .wp-block-list li::before,
.article-body .wp-block-list li::before {
  content: '°';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 18px;
  color: #333;
  line-height: 1;
}

/* Imagem de bloco */
.article-body .wp-block-image { margin: 22px 0; }
.article-body .wp-block-image img { border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.article-body .wp-block-image figcaption {
  font-size: 12px;
  color: #888;
  text-align: center;
  font-style: italic;
  margin-top: 6px;
}
.article-body .wp-block-image figcaption::before { content: '— '; }

/* Citação / pullquote */
.article-body .wp-block-quote,
.article-body .wp-block-pullquote {
  background: #e8f5e9;
  border-left: 4px solid #1a7a1a;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.article-body .wp-block-quote p,
.article-body .wp-block-pullquote p { margin: 0; color: #1a4a1a; font-weight: 500; font-style: normal; }
.article-body .wp-block-quote cite,
.article-body .wp-block-pullquote cite { font-size: 12px; color: #666; margin-top: 8px; display: block; }

/* Tabela de bloco */
.article-body .wp-block-table { width: 100%; margin: 22px 0; overflow-x: auto; }
.article-body .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-body .wp-block-table td,
.article-body .wp-block-table th { padding: 10px 14px; border: 1px solid #e0e0e0; }
.article-body .wp-block-table th { background: #f0f0f0; font-weight: 700; }

/* Separador */
.article-body .wp-block-separator { border: none; border-top: 2px solid #e8e8e8; margin: 32px 0; }

/* Destaque / info box customizado */
.article-body .wp-block-info,
.article-body .highlight-box {
  background: #e8f5e9;
  border-left: 4px solid #1a7a1a;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.article-body .wp-block-info p,
.article-body .highlight-box p { margin: 0; color: #1a4a1a; font-weight: 500; }

/* Remover padding extra do wrapper de conteúdo de página */
.page-view .entry-content,
.page-view .wp-block-post-content { padding: 0; margin: 0; }

/* Alinhamento amplo desativado nas páginas institucionais */
.page-view .alignwide,
.page-view .alignfull { max-width: 100%; width: 100%; margin-left: 0; margin-right: 0; }

/* ========================================
   PERFORMANCE — CONTENT VISIBILITY
   Reduz trabalho de pintura para seções
   abaixo da dobra (below the fold).
======================================== */
.cat-section,
.layer2,
.related-posts-section,
.posts-grid {
  content-visibility: auto;
  contain-intrinsic-size: 0 420px;
}

/* ========================================
   PERFORMANCE MOBILE
   Otimizações específicas para dispositivos
   touch — sem hover, menos GPU, fonte do SO.
======================================== */
@media (max-width: 768px) {

  /* Usar fonte do sistema enquanto Inter carrega (zero FOUT perceptível) */
  body { font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; }

  /* Desabilitar box-shadows custosas (GPU compositing) */
  .post-card,
  .widget,
  .cat-card,
  .article-content,
  .sidebar-widget,
  .post-nav-item,
  .weather-widget,
  .social-widget {
    box-shadow: none !important;
    border: 1px solid #e8e8e8;
  }

  /* Sem hover transforms (touch devices não têm hover) */
  .post-card:hover,
  .cat-card:hover               { transform: none !important; box-shadow: none !important; }
  .hero-main:hover img,
  .hero-center:hover img,
  .hero-small:hover img,
  .cat-card:hover .cat-card-img img { transform: none !important; }
  .isc-btn:hover,
  .floating-share a:hover,
  .floating-share button:hover  { transform: none !important; }

  /* Mega-menu nunca aparece no mobile — não renderizar imagens */
  .mega-menu img { display: none !important; }

  /* Share lateral fixo oculto no mobile (usa inline share bar) */
  .floating-share { display: none !important; }

  /* Layer2 — coluna única (já definida acima, reforço aqui) */
  .layer2 { grid-template-columns: 1fr !important; }

  /* Widget de clima estático no mobile — esconder para poupar espaço */
  .l2-widgets { display: none; }

  /* Sidebar do artigo — empilha abaixo do conteúdo (layout já ok),
     mas escondemos o widget "Siga-nos" para poupar vertical space */
  .siga-nos-grid { grid-template-columns: repeat(3, 1fr); }

  /* Ajuste de padding para telas menores */
  .article-content   { padding: 20px 16px; }
  .cat-card-body     { padding: 12px 14px 14px; }
  .cat-card-img      { height: 180px; }
  .single-post-wrap  { padding: 20px 16px; }

  /* Navegação mobile — padding generoso para toque */
  .nav-menu li a { padding: 12px 16px; min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 480px) {
  /* Fonte ligeiramente menor para economizar espaço */
  .article-body p  { font-size: 15px; }
  .article-title   { font-size: 20px; line-height: 1.25; }
  .article-lead    { font-size: 16px; }

  /* TOC compacto */
  .toc-grid { gap: 6px; }
  .toc-item { font-size: 12px; }

  /* Hero compacto */
  .hero-main    { min-height: 220px; }
  .hero-center  { min-height: 180px; }
  .hero-small   { min-height: 150px; }
  .hero-main h2 { font-size: 18px; }

  /* Footer — coluna única, fonte menor */
  .footer-main  { padding: 24px 16px 20px; gap: 20px; }
  .footer-bottom { font-size: 11px; padding: 12px 16px; }
}

/* ========================================
   ACESSIBILIDADE — REDUZIR MOVIMENTO
   Para usuários que preferem menos animações.
======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
