/* ============================================
   Radar Cuiabá — Clean Design System
   Inspirado no estilo Anthropic:
   Light, warm, airy, generous whitespace
   ============================================ */

/* Fonts: Instrument Serif (display) + Inter (body) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Warm light palette */
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-surface-alt: #f5f3ef;
  --color-border: #e8e4de;
  --color-border-light: #f0ece6;

  --color-text: #1a1a1a;
  --color-text-secondary: #6b6560;
  --color-text-tertiary: #9d958d;

  --color-primary: #c45d3e;
  --color-primary-hover: #a84e33;
  --color-primary-light: #fdf0ec;

  --color-accent: #2d6a4f;
  --color-accent-light: #ecf5f0;

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.08);

  --container-max: 1120px;
  --container-narrow: 720px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--color-primary-hover); }
button { font-family: inherit; }

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

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: var(--container-narrow); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; }

.section-label {
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-sm);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,249,247,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow 300ms ease;
}
.site-header.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo { display: inline-flex; align-items: center; text-decoration: none; gap: 10px; }
.logo__img { height: 36px; width: auto; }
.logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-text);
}

/* Nav */
.site-nav__list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 2px;
  align-items: center;
}
.site-nav__link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 200ms ease;
}
.site-nav__link:hover { color: var(--color-text); background: var(--color-surface-alt); }
.site-nav__link.is-active { color: var(--color-text); background: var(--color-surface-alt); }

/* Mobile menu toggle — hamburger / X */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
  position: relative;
  width: 40px;
  height: 40px;
  z-index: 1001;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: absolute;
  left: 9px;
  transition: top 300ms cubic-bezier(.4, 0, .2, 1), transform 300ms cubic-bezier(.4, 0, .2, 1), opacity 200ms ease;
}
.menu-toggle__bar:nth-child(1) { top: 12px; }
.menu-toggle__bar:nth-child(2) { top: 19px; }
.menu-toggle__bar:nth-child(3) { top: 26px; }

/* Hamburger → X animation */
.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .menu-toggle { display: flex !important; align-items: center; justify-content: center; }
  .site-nav { display: none !important; }
}

/* ---- Mobile side panel (appended to body) ---- */
.mobile-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.mobile-panel-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: var(--color-surface);
  box-shadow: 4px 0 24px rgba(0,0,0,.12);
  transform: translateX(-100%);
  transition: transform 350ms cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-panel.is-open {
  transform: translateX(0);
}

/* Panel header */
.mobile-panel__header {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-panel__logo {
  font-family: var(--font-display, 'Instrument Serif', serif);
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
}

/* Panel navigation links */
.mobile-panel__nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-panel__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary, #6b6560);
  padding: 14px 16px;
  border-radius: var(--radius-md, 12px);
  transition: background 200ms ease, color 200ms ease;
}
.mobile-panel__link:hover,
.mobile-panel__link.is-active {
  background: var(--color-primary-light, #fdf0ec);
  color: var(--color-primary, #c45d3e);
}

/* Panel footer */
.mobile-panel__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border-light);
  font-size: .8rem;
  color: var(--color-text-tertiary);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}
.hero__label { margin-bottom: var(--space-sm); }
.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 16ch;
  margin: 0 auto var(--space-md);
  color: var(--color-text);
}
.hero__title em {
  font-style: italic;
  color: var(--color-primary);
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 48ch;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}
.hero__image {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 21/9;
}

/* CTA */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 200ms ease;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn--primary:hover {
  background: #333;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover { background: var(--color-surface-alt); border-color: var(--color-text-tertiary); }
.btn--small { padding: 7px 16px; font-size: .85rem; }
.btn--ghost { background: transparent; color: var(--color-text-secondary); }
.btn--ghost:hover { color: var(--color-text); background: var(--color-surface-alt); }

.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-xl) 0;
}
.section--alt { background: var(--color-surface); }

.section-header {
  margin-bottom: var(--space-lg);
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 8px;
}
.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 50ch;
}

/* Two-column section header */
.section-header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================
   POSTS GRID
   ============================================ */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 300ms cubic-bezier(.2,.9,.3,1), box-shadow 300ms ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.post-card__media { overflow: hidden; }
.post-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.9,.3,1);
}
.post-card:hover .post-card__img { transform: scale(1.03); }

.post-card__body { padding: var(--space-md); }
.post-card__category {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.post-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
}
.post-card__title a { color: var(--color-text); text-decoration: none; }
.post-card__title a:hover { color: var(--color-primary); }

.post-card__excerpt {
  color: var(--color-text-secondary);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.post-card__meta {
  font-size: .8rem;
  color: var(--color-text-tertiary);
}

/* ============================================
   HIGHLIGHTS / FEATURE CARDS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-md) var(--space-md) var(--space-md);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.feature-card__icon--warm { background: var(--color-primary-light); color: var(--color-primary); }
.feature-card__icon--green { background: var(--color-accent-light); color: var(--color-accent); }
.feature-card__icon--neutral { background: var(--color-surface-alt); color: var(--color-text-secondary); }

.feature-card__title { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.feature-card__desc { color: var(--color-text-secondary); font-size: .9rem; line-height: 1.6; }

/* ============================================
   ABOUT & CONTACT SECTIONS
   ============================================ */
.about-section { text-align: center; }
.about-section p { max-width: 56ch; margin: 0 auto; color: var(--color-text-secondary); font-size: 1.05rem; line-height: 1.8; }

.contact-section { text-align: center; }
.contact-section p { max-width: 48ch; margin: 0 auto var(--space-md); color: var(--color-text-secondary); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  color: var(--color-text-secondary);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms ease;
}
.footer-nav a:hover { color: var(--color-text); }

.social { display: flex; gap: 16px; }
.social__link {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-text-secondary);
  background: var(--color-surface-alt);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  transition: all 200ms ease;
}
.social__link:hover { background: var(--color-text); color: #fff; }

.copyright { color: var(--color-text-tertiary); font-size: .8rem; }

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border-light);
  border: none;
  margin: var(--space-xs) 0;
}

/* ============================================
   NEWS PAGE — FILTERS & SIDEBAR
   ============================================ */
.page-header {
  padding: var(--space-lg) 0 var(--space-md);
}
.page-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 8px;
}
.page-header p { color: var(--color-text-secondary); font-size: 1rem; }

/* Filter pills */
.filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease;
}
.filter-btn:hover { border-color: var(--color-text-tertiary); color: var(--color-text); }
.filter-btn[aria-pressed="true"],
.filter-btn.is-active {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

/* Layout news: main + sidebar */
.layout--two-col { display: block; }
.col-main { width: 100%; }
.col-sidebar { margin-top: var(--space-lg); }

/* Sidebar widgets */
.widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}
.widget h3 {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-sm);
}

/* Search input */
.search-input,
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.search-input:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.search-input::placeholder,
.form-input::placeholder { color: var(--color-text-tertiary); }

.widget-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.widget-list a {
  color: var(--color-text);
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.5;
}
.widget-list a:hover { color: var(--color-primary); }
.widget-list li { padding-bottom: 10px; border-bottom: 1px solid var(--color-border-light); }
.widget-list li:last-child { border-bottom: none; padding-bottom: 0; }

.widget form { display: flex; flex-direction: column; gap: 10px; }

/* Pagination */
.pagination { margin-top: var(--space-lg); }
.pagination__list {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
}
.pagination__list .page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 200ms ease;
}
.pagination__list .page:hover { background: var(--color-surface-alt); color: var(--color-text); }
.pagination__list .is-active { background: var(--color-text); color: #fff; }
.pagination__list .disabled { opacity: .3; pointer-events: none; }

/* ============================================
   DICAS PAGE — CARDS & FILTERS
   ============================================ */
.filters-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.filter-actions { display: flex; gap: 8px; margin-top: 4px; }

/* For dicas layout: sidebar + content */
.dicas-layout { display: block; }
.dicas-filters { margin-bottom: var(--space-lg); }

.masonry-grid { column-count: 1; column-gap: var(--space-md); }
.masonry-grid .card { display: inline-block; width: 100%; margin-bottom: var(--space-md); break-inside: avoid; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 300ms cubic-bezier(.2,.9,.3,1), box-shadow 300ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card__media { margin: 0; overflow: hidden; }
.card__img { width: 100%; height: auto; object-fit: cover; transition: transform 500ms ease; }
.card:hover .card__img { transform: scale(1.03); }

.card__body { padding: var(--space-md); }
.card__title { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.card__meta { color: var(--color-text-tertiary); font-size: .8rem; margin-bottom: 8px; }
.card__desc { color: var(--color-text-secondary); font-size: .9rem; margin-bottom: 12px; line-height: 1.6; }
.card__info { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.card__info .info-item { display: flex; align-items: center; gap: 8px; color: var(--color-text-secondary); font-size: .85rem; }
.card__actions { margin: 0; }

.map-placeholder {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  text-align: center;
  color: var(--color-text-tertiary);
  font-size: .85rem;
}

/* ============================================
   POST TEMPLATE PAGE
   ============================================ */
.breadcrumb {
  font-size: .85rem;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-md);
}
.breadcrumb ol { display: flex; align-items: center; padding: 0; list-style: none; gap: 0; }
.breadcrumb a { color: var(--color-text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li + li::before { content: '/'; margin: 0 8px; color: var(--color-border); }

.post-layout { display: block; }
.post-article { width: 100%; }
.post-sidebar { margin-top: var(--space-lg); }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.post-meta {
  color: var(--color-text-tertiary);
  font-size: .85rem;
  margin-bottom: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.post-hero__img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}
.post-hero__caption {
  font-size: .8rem;
  color: var(--color-text-tertiary);
  margin-top: -36px;
  margin-bottom: var(--space-lg);
}

/* Article content typography */
.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  max-width: 68ch;
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: var(--space-lg) 0 var(--space-sm);
}
.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: var(--space-md) 0 var(--space-xs);
}
.post-content p { margin-bottom: 1.25rem; }
.post-content blockquote {
  border-left: 3px solid var(--color-primary);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  background: var(--color-primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-secondary);
  font-style: italic;
}
.post-content figure {
  margin: var(--space-md) 0;
}
.post-content figcaption {
  font-size: .8rem;
  color: var(--color-text-tertiary);
  margin-top: 8px;
}
.post-content img {
  border-radius: var(--radius-md);
}

/* Tags */
.post-tags { margin: var(--space-md) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  background: var(--color-surface-alt);
  color: var(--color-text-secondary);
  text-decoration: none;
  border: 1px solid var(--color-border-light);
  transition: all 200ms ease;
}
.tag:hover { background: var(--color-text); color: #fff; border-color: var(--color-text); }

/* Share */
.post-share {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: var(--space-md) 0;
  flex-wrap: wrap;
}
.post-share span { font-size: .85rem; color: var(--color-text-tertiary); font-weight: 500; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  background: var(--color-surface-alt);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-light);
  transition: all 200ms ease;
}
.share-btn:hover { background: var(--color-text); color: #fff; border-color: var(--color-text); }

/* Related posts */
.related-posts { padding: var(--space-xl) 0 var(--space-lg); }
.post--small { text-align: left; }
.post--small img { border-radius: var(--radius-md); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post--small h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  margin-top: 10px;
}
.post--small a { color: var(--color-text); text-decoration: none; }
.post--small a:hover { color: var(--color-primary); }

/* Comments */
.comments-section { padding: var(--space-lg) 0; }
.comments-list .comment {
  padding: var(--space-md);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: var(--color-surface);
}
.comment__meta { font-size: .8rem; color: var(--color-text-tertiary); margin-bottom: 8px; }
.comment__body { font-size: .9rem; color: var(--color-text-secondary); line-height: 1.6; }

.comment-form { margin-top: var(--space-md); }
.comment-form form { display: flex; flex-direction: column; gap: 12px; }
.comment-form label { font-size: .8rem; font-weight: 600; color: var(--color-text-secondary); }

/* Ad box */
.ad-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  color: var(--color-text-tertiary);
  font-size: .8rem;
  border: 1px dashed var(--color-border);
}

/* Popular list in sidebar */
.popular-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.popular-list a { color: var(--color-text); text-decoration: none; font-size: .9rem; }
.popular-list a:hover { color: var(--color-primary); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in-view { opacity: 1; transform: none; }

/* Stagger delays via nth-child */
.post-card:nth-child(2), .feature-card:nth-child(2), .card:nth-child(2) { transition-delay: 80ms; }
.post-card:nth-child(3), .feature-card:nth-child(3), .card:nth-child(3) { transition-delay: 160ms; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 640px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { column-count: 2; }
}

@media (min-width: 768px) {
  .dicas-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-lg);
  }
  .dicas-filters { margin-bottom: 0; }
}

@media (min-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .masonry-grid { column-count: 3; }

  .layout--two-col {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-lg);
    align-items: start;
  }
  .col-sidebar { margin-top: 0; }

  .post-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--space-lg);
    align-items: start;
  }
  .post-sidebar { margin-top: 0; }

  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1200px) {
  .container { padding: 0 2rem; }
}

/* Print */
@media print {
  .site-header, .site-footer, .social, .back-to-top, .filter-bar, .pagination { display: none; }
}

/* End of style.css */
