@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --verde: #1a5c3a;
  --verde2: #2d7a52;
  --verde-claro: #52b788;
  --verde-suave: #d8f3dc;
  --dourado: #e9a84c;
  --dourado-suave: #fdf3e0;
  --texto: #1c2b22;
  --texto2: #4a5c52;
  --bg: #f7f9f7;
  --branco: #ffffff;
  --borda: #dde8e0;
  --sombra: 0 2px 16px rgba(26,92,58,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--texto);
  background: var(--bg);
}

/* ===== HEADER ===== */
.site-header {
  background: var(--verde);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--branco);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--dourado); }

nav { display: flex; gap: 6px; align-items: center; }
nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
nav a:hover, nav a.ativo {
  background: rgba(255,255,255,0.15);
  color: white;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--verde-suave);
  padding: 10px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--verde);
}
.breadcrumb a { color: var(--verde2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== HERO ARTICLE ===== */
.hero-article {
  background: linear-gradient(160deg, var(--verde) 0%, #0d3d24 100%);
  padding: 56px 24px 64px;
  position: relative;
  overflow: hidden;
}
.hero-article::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 48px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-article .container { position: relative; z-index: 1; }
.hero-cat {
  display: inline-block;
  background: var(--dourado);
  color: var(--texto);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.hero-article h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 18px;
}
.hero-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 26px;
}
.hero-meta span { margin: 0 8px; opacity: 0.4; }
.hero-resumo {
  background: rgba(255,255,255,0.1);
  border-left: 3px solid var(--dourado);
  border-radius: 0 8px 8px 0;
  padding: 16px 22px;
  max-width: 680px;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-style: italic;
}

/* ===== LAYOUT PRINCIPAL ===== */
.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.layout-com-sidebar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* ===== CONTEÚDO ===== */
.conteudo { padding: 48px 0; }
.conteudo h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: var(--verde);
  margin: 52px 0 18px;
  padding-top: 8px;
  border-top: 2px solid var(--verde-suave);
}
.conteudo h2:first-child { margin-top: 0; border-top: none; }
.conteudo h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--texto);
  margin: 28px 0 10px;
}
.conteudo p { margin-bottom: 20px; color: var(--texto2); }
.conteudo strong { color: var(--texto); font-weight: 600; }
.conteudo ul, .conteudo ol { padding-left: 22px; color: var(--texto2); margin-bottom: 20px; }
.conteudo li { margin-bottom: 8px; }
.conteudo a { color: var(--verde2); }

/* ===== ÍNDICE ===== */
.indice {
  background: var(--dourado-suave);
  border: 1.5px solid var(--dourado);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 44px;
}
.indice-titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde);
  margin-bottom: 14px;
}
.indice ol { padding-left: 20px; }
.indice li { margin-bottom: 6px; }
.indice a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--verde2);
  text-decoration: none;
}
.indice a:hover { text-decoration: underline; }

/* ===== CARDS ===== */
.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--sombra);
  position: relative;
}
.card-num {
  position: absolute;
  top: -13px; left: 22px;
  background: var(--verde);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.card h3 { color: var(--verde); margin-top: 10px; font-size: 1.18rem; }
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--verde-suave);
  color: var(--verde2);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ===== AVISO ===== */
.aviso {
  background: #fff8e1;
  border-left: 4px solid var(--dourado);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 32px 0;
}
.aviso p { margin: 0; font-size: 0.95rem; color: #7a4e10; }
.aviso strong { color: #a06010; }

/* ===== DESTAQUE ===== */
.destaque {
  background: var(--verde-suave);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}
.destaque p { margin: 0; color: var(--verde); font-weight: 600; }

/* ===== TABELA ===== */
.tabela-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 12px;
  box-shadow: var(--sombra);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  background: var(--branco);
}
thead tr { background: var(--verde); color: white; }
th { padding: 13px 16px; text-align: left; font-weight: 600; }
td { padding: 12px 16px; border-bottom: 1px solid var(--borda); color: var(--texto2); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background: #f4f8f5; }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--borda);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--verde);
  margin-bottom: 10px;
}
.faq-item p { margin: 0; font-size: 0.96rem; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--verde), #0d3d24);
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
  margin: 56px 0 40px;
}
.cta h2 {
  font-family: 'Playfair Display', serif;
  color: white !important;
  border: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 1.6rem !important;
}
.cta p { color: rgba(255,255,255,0.8) !important; margin-bottom: 24px; }
.btn {
  display: inline-block;
  background: var(--dourado);
  color: var(--texto) !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ===== ARTIGOS RELACIONADOS ===== */
.relacionados { padding: 48px 0 64px; }
.relacionados h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--verde);
  margin-bottom: 28px;
}
.grid-artigos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card-artigo {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  box-shadow: var(--sombra);
}
.card-artigo:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(26,92,58,0.12); }
.card-artigo-img {
  height: 130px;
  background: linear-gradient(135deg, var(--verde), var(--verde-claro));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card-artigo-corpo { padding: 18px; }
.card-artigo-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--verde2);
  margin-bottom: 8px;
}
.card-artigo h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.3;
  margin-bottom: 8px;
}
.card-artigo p {
  font-size: 0.85rem;
  color: var(--texto2);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar { padding-top: 48px; }
.sidebar-widget {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--sombra);
}
.sidebar-widget h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--verde);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--verde-suave);
}
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget li { border-bottom: 1px solid var(--borda); padding: 10px 0; }
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto2);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sidebar-widget a:hover { color: var(--verde); }
.sidebar-widget a .seta { color: var(--verde-claro); flex-shrink: 0; margin-top: 2px; }

/* ===== FOOTER ===== */
footer {
  background: var(--verde);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo-footer {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}
.footer-brand .logo-footer span { color: var(--dourado); }
.footer-brand p { font-size: 0.88rem; margin-top: 12px; line-height: 1.6; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }

/* ===== HOMEPAGE ===== */
.homepage-hero {
  background: linear-gradient(160deg, var(--verde) 0%, #0d3d24 60%, #1a4d2e 100%);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.homepage-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(82,183,136,0.08);
  border-radius: 50%;
}
.homepage-hero::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.homepage-hero .tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dourado);
  margin-bottom: 20px;
}
.homepage-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 20px;
}
.homepage-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  font-family: 'DM Sans', sans-serif;
}
.homepage-hero .btn-hero {
  display: inline-block;
  background: var(--dourado);
  color: var(--texto);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 36px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.homepage-hero .btn-hero:hover { transform: translateY(-3px); }

.categorias-section { padding: 60px 24px; }
.categorias-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--verde);
  text-align: center;
  margin-bottom: 8px;
}
.categorias-section .sub {
  text-align: center;
  color: var(--texto2);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 40px;
}
.grid-categorias {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.card-categoria {
  background: var(--branco);
  border: 1.5px solid var(--borda);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: var(--sombra);
}
.card-categoria:hover {
  border-color: var(--verde-claro);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(26,92,58,0.12);
}
.card-categoria .icone { font-size: 2.4rem; margin-bottom: 14px; }
.card-categoria h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--verde);
  margin-bottom: 8px;
}
.card-categoria p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  color: var(--texto2);
  line-height: 1.5;
  margin: 0;
}

.destaques-section { padding: 20px 24px 60px; }
.destaques-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--verde);
  max-width: 1100px;
  margin: 0 auto 32px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .layout-com-sidebar { grid-template-columns: 1fr; }
  .sidebar { padding-top: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  nav { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .homepage-hero { padding: 60px 20px 80px; }
  .cta { padding: 28px 20px; }
  .grid-artigos { grid-template-columns: 1fr; }
}
