/* Voz do Interior — regional-press | coastal-blue palette */
:root {
  --vdi-bg: #ebf8ff;
  --vdi-surface: #ffffff;
  --vdi-text: #1a365d;
  --vdi-text-muted: #4a5568;
  --vdi-text-light: #718096;
  --vdi-primary: #1a365d;
  --vdi-accent: #2b6cb0;
  --vdi-accent-hover: #1a365d;
  --vdi-accent-soft: #ebf8ff;
  --vdi-highlight: #ed8936;
  --vdi-highlight-soft: #feebc8;
  --vdi-border: #bee3f8;
  --vdi-border-strong: #90cdf4;
  --vdi-shadow: 0 2px 8px rgba(26, 54, 93, 0.08);
  --vdi-radius: 4px;
  --vdi-container: 960px;
  --vdi-font-serif: Georgia, "Times New Roman", serif;
  --vdi-font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --vdi-space-xs: 0.5rem;
  --vdi-space-sm: 1rem;
  --vdi-space-md: 1.5rem;
  --vdi-space-lg: 2rem;
  --vdi-space-xl: 3rem;
  --vdi-transition: 0.2s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--vdi-font-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--vdi-text);
  background: var(--vdi-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--vdi-accent);
  text-decoration: none;
  transition: color var(--vdi-transition);
}

a:hover { color: var(--vdi-accent-hover); }

h1, h2, h3, h4 {
  margin: 0 0 var(--vdi-space-sm);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2rem; font-family: var(--vdi-font-serif); }
h2 { font-size: 1.5rem; font-family: var(--vdi-font-serif); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 var(--vdi-space-sm); }

.vdi-container {
  max-width: var(--vdi-container);
  margin: 0 auto;
  padding: 0 var(--vdi-space-md);
}

/* Split-nav header (centered) */
.vdi-header {
  background: var(--vdi-primary);
  color: #fff;
  border-bottom: 3px solid var(--vdi-highlight);
}

.vdi-header-top {
  text-align: center;
  padding: var(--vdi-space-md) 0 var(--vdi-space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.vdi-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--vdi-space-xs);
  color: #fff;
  font-family: var(--vdi-font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vdi-logo:hover { color: var(--vdi-highlight-soft); }

.vdi-logo img { width: 36px; height: 36px; }

.vdi-tagline {
  margin: var(--vdi-space-xs) 0 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vdi-nav-split {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
}

.vdi-nav-split ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.vdi-nav-left { margin-right: var(--vdi-space-lg); }
.vdi-nav-right { margin-left: var(--vdi-space-lg); }

.vdi-nav-split a {
  display: block;
  padding: var(--vdi-space-sm) var(--vdi-space-md);
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
}

.vdi-nav-split a:hover,
.vdi-nav-split a.active {
  color: #fff;
  border-bottom-color: var(--vdi-highlight);
}

.vdi-nav-center {
  font-family: var(--vdi-font-serif);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  padding: var(--vdi-space-sm);
  white-space: nowrap;
}

.vdi-menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  border-radius: var(--vdi-radius);
  margin: var(--vdi-space-sm) auto;
}

/* Main */
.vdi-main { padding: var(--vdi-space-lg) 0 var(--vdi-space-xl); }

/* Editorial columns homepage */
.vdi-editorial-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vdi-space-md);
  margin-bottom: var(--vdi-space-lg);
}

.vdi-editorial-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--vdi-space-md);
  align-items: start;
}

/* Bordered cards */
.vdi-card {
  background: var(--vdi-surface);
  border: 1px solid var(--vdi-border-strong);
  border-radius: var(--vdi-radius);
  overflow: hidden;
  transition: border-color var(--vdi-transition);
}

.vdi-card:hover { border-color: var(--vdi-accent); }

.vdi-card-body { padding: var(--vdi-space-md); }

.vdi-card-title {
  font-family: var(--vdi-font-serif);
  font-size: 1.125rem;
  margin: 0 0 var(--vdi-space-xs);
}

.vdi-card-title a { color: var(--vdi-primary); }
.vdi-card-title a:hover { color: var(--vdi-accent); }

.vdi-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.vdi-meta {
  font-size: 0.8125rem;
  color: var(--vdi-text-muted);
  margin: 0;
}

.vdi-meta time { color: var(--vdi-text-light); }

.vdi-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  background: var(--vdi-accent-soft);
  color: var(--vdi-accent);
  border: 1px solid var(--vdi-border);
  border-radius: var(--vdi-radius);
  margin-bottom: var(--vdi-space-xs);
}

.vdi-tag--campo { background: #c6f6d5; color: #22543d; border-color: #9ae6b4; }
.vdi-tag--comunidade { background: #feebc8; color: #744210; border-color: #fbd38d; }
.vdi-tag--estradas { background: #e9d8fd; color: #44337a; border-color: #d6bcfa; }
.vdi-tag--economia { background: #bee3f8; color: #1a365d; border-color: #90cdf4; }

.vdi-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--vdi-primary);
  padding-bottom: var(--vdi-space-xs);
  margin-bottom: var(--vdi-space-md);
}

.vdi-section-header h2 {
  font-size: 1.25rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vdi-intro {
  background: var(--vdi-surface);
  border: 1px solid var(--vdi-border-strong);
  padding: var(--vdi-space-md);
  margin-bottom: var(--vdi-space-lg);
  border-left: 4px solid var(--vdi-highlight);
}

.vdi-intro p:last-child { margin-bottom: 0; }

/* Sidebar article (LEFT sidebar) */
.vdi-article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--vdi-space-lg);
  align-items: start;
}

.vdi-sidebar {
  order: -1;
  background: var(--vdi-surface);
  border: 1px solid var(--vdi-border-strong);
  padding: var(--vdi-space-md);
  border-radius: var(--vdi-radius);
  position: sticky;
  top: var(--vdi-space-md);
}

.vdi-sidebar h3 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vdi-text-muted);
  border-bottom: 1px solid var(--vdi-border);
  padding-bottom: var(--vdi-space-xs);
  margin-bottom: var(--vdi-space-sm);
}

.vdi-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vdi-sidebar li {
  padding: var(--vdi-space-xs) 0;
  border-bottom: 1px solid var(--vdi-border);
  font-size: 0.875rem;
}

.vdi-sidebar li:last-child { border-bottom: none; }

.vdi-author-box {
  text-align: center;
  margin-top: var(--vdi-space-md);
  padding-top: var(--vdi-space-md);
  border-top: 1px solid var(--vdi-border);
}

.vdi-author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto var(--vdi-space-xs);
  border: 2px solid var(--vdi-border-strong);
}

.vdi-author-box strong { display: block; font-size: 0.875rem; }
.vdi-author-box span { font-size: 0.75rem; color: var(--vdi-text-muted); }

.vdi-article-content {
  background: var(--vdi-surface);
  border: 1px solid var(--vdi-border-strong);
  padding: var(--vdi-space-lg);
  border-radius: var(--vdi-radius);
}

.vdi-article-content h1 {
  font-size: 1.75rem;
  margin-bottom: var(--vdi-space-sm);
}

.vdi-article-content .vdi-lead {
  font-size: 1.0625rem;
  color: var(--vdi-text-muted);
  font-family: var(--vdi-font-serif);
  line-height: 1.65;
  margin-bottom: var(--vdi-space-md);
}

.vdi-article-content img.vdi-featured {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: var(--vdi-space-md);
  border: 1px solid var(--vdi-border);
}

.vdi-pullquote {
  border-left: 4px solid var(--vdi-highlight);
  padding: var(--vdi-space-sm) var(--vdi-space-md);
  margin: var(--vdi-space-md) 0;
  background: var(--vdi-highlight-soft);
  font-family: var(--vdi-font-serif);
  font-size: 1.0625rem;
  font-style: italic;
}

/* Section listing pages */
.vdi-page-header {
  margin-bottom: var(--vdi-space-lg);
  padding-bottom: var(--vdi-space-md);
  border-bottom: 2px solid var(--vdi-primary);
}

.vdi-page-header h1 { margin-bottom: var(--vdi-space-xs); }

.vdi-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--vdi-space-md);
}

/* Static pages */
.vdi-static-page {
  background: var(--vdi-surface);
  border: 1px solid var(--vdi-border-strong);
  padding: var(--vdi-space-lg);
  border-radius: var(--vdi-radius);
  max-width: 720px;
}

.vdi-static-page h1 { margin-bottom: var(--vdi-space-md); }

.vdi-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.vdi-contact-form input,
.vdi-contact-form textarea,
.vdi-contact-form select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--vdi-border-strong);
  border-radius: var(--vdi-radius);
  font-family: inherit;
  font-size: 0.9375rem;
  margin-bottom: var(--vdi-space-sm);
}

.vdi-btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--vdi-primary);
  color: #fff;
  border: none;
  border-radius: var(--vdi-radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--vdi-transition);
}

.vdi-btn:hover {
  background: var(--vdi-accent);
  color: #fff;
}

.vdi-btn--outline {
  background: transparent;
  color: var(--vdi-primary);
  border: 1px solid var(--vdi-primary);
}

.vdi-btn--outline:hover {
  background: var(--vdi-primary);
  color: #fff;
}

/* Two-column footer */
.vdi-footer {
  background: var(--vdi-primary);
  color: rgba(255,255,255,0.85);
  padding: var(--vdi-space-lg) 0;
  margin-top: var(--vdi-space-xl);
}

.vdi-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vdi-space-lg);
}

.vdi-footer h3 {
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--vdi-space-sm);
}

.vdi-footer a { color: rgba(255,255,255,0.8); }
.vdi-footer a:hover { color: var(--vdi-highlight); }

.vdi-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vdi-footer li { margin-bottom: 0.4rem; font-size: 0.875rem; }

.vdi-footer-bottom {
  text-align: center;
  padding-top: var(--vdi-space-md);
  margin-top: var(--vdi-space-md);
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

/* Cookie popup (corner) */
.vdi-cookie {
  position: fixed;
  bottom: var(--vdi-space-md);
  right: var(--vdi-space-md);
  max-width: 340px;
  background: var(--vdi-surface);
  border: 1px solid var(--vdi-border-strong);
  border-radius: var(--vdi-radius);
  padding: var(--vdi-space-md);
  box-shadow: var(--vdi-shadow);
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.vdi-cookie.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.vdi-cookie p {
  font-size: 0.8125rem;
  color: var(--vdi-text-muted);
  margin-bottom: var(--vdi-space-sm);
}

.vdi-cookie-actions {
  display: flex;
  gap: var(--vdi-space-xs);
}

.vdi-cookie-actions .vdi-btn { flex: 1; text-align: center; font-size: 0.8125rem; padding: 0.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .vdi-nav-split { flex-direction: column; }
  .vdi-nav-left, .vdi-nav-right { margin: 0; }
  .vdi-nav-split ul { flex-wrap: wrap; justify-content: center; }
  .vdi-nav-center { display: none; }
  .vdi-menu-toggle { display: block; }
  .vdi-nav-split.is-collapsed .vdi-nav-left,
  .vdi-nav-split.is-collapsed .vdi-nav-right { display: none; }
  .vdi-editorial-columns,
  .vdi-editorial-lead { grid-template-columns: 1fr; }
  .vdi-article-layout { grid-template-columns: 1fr; }
  .vdi-sidebar { position: static; order: 0; }
  .vdi-grid-3 { grid-template-columns: 1fr; }
  .vdi-footer-grid { grid-template-columns: 1fr; }
}
