/* ==========================================================================
   Vereador Cris — tema filho de Quark 2
   Identidade: VERDE ESMERALDA moderno · Notícias estilo JORNAL por editorias
   Todo o CSS custom vive aqui. Reusa tokens --q2-* do tema pai.
   Mobile-first · responsivo · dark-mode-aware (:root[data-theme="dark"]).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens próprios (verdes) — independentes do accent
   -------------------------------------------------------------------------- */
:root {
  --vc-green-900: #064e3b;
  --vc-green-800: #065f46;
  --vc-green-700: #047857;
  --vc-green-600: #059669;
  --vc-green-500: #10b981;
  --vc-green-400: #34d399;
  --vc-green-100: #d1fae5;
  --vc-green-50:  #ecfdf5;

  /* superfícies / texto derivados (claro) */
  --vc-hero-from: var(--vc-green-700);
  --vc-hero-to:   var(--vc-green-500);
  --vc-on-green:  #ffffff;

  /* fallback de cor de editoria — verde esmeralda */
  --ed: var(--vc-green-600);

  /* espaçamento de seção (não há token de spacing no pai) */
  --vc-section-gap: clamp(2.5rem, 6vw, 4.5rem);
  --vc-pad: clamp(1.25rem, 4vw, 2.5rem);
}

:root[data-theme="dark"] {
  /* esmeralda mais luminoso para contraste sobre fundos escuros */
  --vc-hero-from: var(--vc-green-800);
  --vc-hero-to:   var(--vc-green-600);
  --ed: var(--vc-green-500);
}

/* --------------------------------------------------------------------------
   2. Hero (home)
   -------------------------------------------------------------------------- */
.vc-hero {
  position: relative;
  overflow: hidden;
  color: var(--vc-on-green);
  background: linear-gradient(135deg, var(--vc-hero-from) 0%, var(--vc-hero-to) 100%);
  border-radius: var(--q2-radius-lg);
  padding: clamp(2.5rem, 8vw, 5.5rem) var(--vc-pad);
  margin-block: 1.5rem;
  box-shadow: var(--q2-shadow-raised);
}
/* brilho decorativo suave */
.vc-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.vc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.vc-hero-title {
  font-family: var(--pico-font-family-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--vc-on-green);
}
.vc-hero-text {
  font-size: clamp(1.05rem, 2.4vw, 1.375rem);
  line-height: 1.5;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
}
.vc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* --------------------------------------------------------------------------
   3. Botões
   -------------------------------------------------------------------------- */
.vc-btn,
.vc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--q2-radius-pill);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
}
.vc-btn {
  background: var(--vc-on-green);
  color: var(--vc-green-700);
  box-shadow: var(--q2-shadow-card);
}
.vc-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--q2-shadow-dropdown);
  color: var(--vc-green-800);
}
.vc-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--vc-on-green);
  border-color: rgba(255, 255, 255, 0.65);
}
.vc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.vc-btn:focus-visible,
.vc-btn-ghost:focus-visible {
  outline: 3px solid var(--vc-green-100);
  outline-offset: 2px;
}

/* CTA final (home) — bloco verde com botão claro */
.vc-cta {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--vc-hero-from), var(--vc-hero-to));
  color: var(--vc-on-green);
  border-radius: var(--q2-radius-lg);
  padding: var(--vc-section-gap) var(--vc-pad);
  margin-block: var(--vc-section-gap);
  box-shadow: var(--q2-shadow-card);
}
.vc-cta h2 {
  font-family: var(--pico-font-family-display);
  color: var(--vc-on-green);
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}
.vc-cta p {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.92);
}

/* --------------------------------------------------------------------------
   4. Acesso rápido (home)
   -------------------------------------------------------------------------- */
.vc-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-block: var(--vc-section-gap);
}
.vc-quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-md);
  color: var(--q2-text);
  text-decoration: none;
  box-shadow: var(--q2-shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.vc-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--q2-shadow-dropdown);
  border-color: var(--vc-green-500);
}
.vc-quick-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--q2-text-strong);
}
.vc-quick-card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--q2-text-muted);
}
.vc-quick-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--q2-radius-md);
  background: var(--vc-green-50);
  color: var(--vc-green-700);
}
.vc-quick-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
:root[data-theme="dark"] .vc-quick-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--vc-green-400);
}

/* --------------------------------------------------------------------------
   5. Seções genéricas
   -------------------------------------------------------------------------- */
.vc-section {
  margin-block: var(--vc-section-gap);
}
.vc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.vc-section-title {
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--q2-text-strong);
}
.vc-section-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--vc-green-700);
  white-space: nowrap;
}
.vc-section-link:hover {
  text-decoration: underline;
}
:root[data-theme="dark"] .vc-section-link {
  color: var(--vc-green-400);
}

/* --------------------------------------------------------------------------
   6. Cards de notícia
   -------------------------------------------------------------------------- */
.vc-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.vc-card {
  display: flex;
  flex-direction: column;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-md);
  overflow: hidden;
  box-shadow: var(--q2-shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.vc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--q2-shadow-dropdown);
}
.vc-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* placeholder: gradiente na cor da editoria */
  background: linear-gradient(135deg, var(--ed), color-mix(in srgb, var(--ed) 55%, #000));
}
.vc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* rótulo de editoria sobre o placeholder (sem imagem) */
.vc-card-media .vc-card-media-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #fff;
  font-family: var(--pico-font-family-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.92;
}
.vc-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
}
.vc-card-editoria {
  align-self: flex-start;
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--q2-radius-pill);
  background: var(--ed);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.vc-card-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
}
.vc-card-title a {
  color: var(--q2-text-strong);
  text-decoration: none;
}
.vc-card-title a:hover {
  color: var(--vc-green-700);
}
:root[data-theme="dark"] .vc-card-title a:hover {
  color: var(--vc-green-400);
}
.vc-card-date {
  font-size: 0.8rem;
  color: var(--q2-text-muted);
}
.vc-card-excerpt {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--q2-text-muted);
}

/* --------------------------------------------------------------------------
   7. Jornal / editorias (página de notícias)
   -------------------------------------------------------------------------- */
.vc-editoria {
  margin-block: var(--vc-section-gap);
}
.vc-editoria-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
/* barra/âncora estilo jornal — 4px na cor da editoria */
.vc-editoria-bar {
  flex: 0 0 auto;
  width: 4px;
  align-self: stretch;
  min-height: 1.75rem;
  border-radius: var(--q2-radius-pill);
  background: var(--ed);
}
.vc-editoria-title {
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--q2-text-strong);
}
/* régua sutil à direita do título, no tom da editoria */
.vc-editoria-head::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--ed) 35%, transparent),
    transparent
  );
}

/* Matéria de destaque (lead) */
.vc-lead {
  display: grid;
  gap: 1.5rem;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-lg);
  overflow: hidden;
  box-shadow: var(--q2-shadow-card);
  margin-bottom: var(--vc-section-gap);
}
.vc-lead .vc-card-media {
  aspect-ratio: 16 / 9;
}
.vc-lead .vc-card-title {
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.15;
}
.vc-lead .vc-card-excerpt {
  font-size: 1.05rem;
}
.vc-lead .vc-card-body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  justify-content: center;
}
@media (min-width: 768px) {
  .vc-lead {
    grid-template-columns: 1.3fr 1fr;
    align-items: stretch;
  }
  .vc-lead .vc-card-media {
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
  }
}

/* --------------------------------------------------------------------------
   8. Notícia individual (item)
   -------------------------------------------------------------------------- */
.vc-article {
  max-width: 48rem;
  margin-inline: auto;
}
.vc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-block: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--vc-green-700);
}
.vc-back-link:hover {
  text-decoration: underline;
}
:root[data-theme="dark"] .vc-back-link {
  color: var(--vc-green-400);
}
.vc-article-head {
  border-radius: var(--q2-radius-lg);
  padding: clamp(2rem, 6vw, 3.5rem) var(--vc-pad);
  margin-bottom: 2rem;
  color: #fff;
  /* gradiente na cor da editoria quando sem imagem */
  background: linear-gradient(
    135deg,
    var(--ed),
    color-mix(in srgb, var(--ed) 60%, #000)
  );
  box-shadow: var(--q2-shadow-raised);
}
.vc-article-head h1 {
  font-family: var(--pico-font-family-display);
  color: #fff;
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.1;
}
/* cabeçalho com imagem de capa */
.vc-article-head.vc-has-image {
  position: relative;
  background: none;
  display: grid;
  align-items: end;
  min-height: clamp(220px, 40vw, 420px);
  overflow: hidden;
}
.vc-article-head.vc-has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.vc-article-head.vc-has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05));
  z-index: 1;
}
.vc-article-head.vc-has-image > * {
  position: relative;
  z-index: 2;
}
.vc-article-editoria {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--q2-radius-pill);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.vc-article-date {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.vc-article .vc-article-body {
  font-size: 1.075rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   9. Contato
   -------------------------------------------------------------------------- */
.vc-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-block: var(--vc-section-gap);
  align-items: start;
}
@media (min-width: 768px) {
  .vc-contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}
.vc-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--vc-green-50);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-md);
}
:root[data-theme="dark"] .vc-contact-info {
  background: rgba(16, 185, 129, 0.08);
}
.vc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.vc-contact-item svg {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--vc-green-600);
  margin-top: 0.15rem;
}
.vc-contact-item a {
  color: inherit;
  text-decoration: none;
}
.vc-contact-item a:hover {
  text-decoration: underline;
  color: var(--vc-green-700);
}
.vc-contact-item strong {
  display: block;
  color: var(--q2-text-strong);
}
.vc-contact-item span,
.vc-contact-item p {
  color: var(--q2-text-muted);
  margin: 0;
}
.vc-contact-form {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-md);
  box-shadow: var(--q2-shadow-card);
}

/* --------------------------------------------------------------------------
   10. Rodapé
   -------------------------------------------------------------------------- */
.vc-footer {
  background: var(--vc-green-800);
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--vc-section-gap);
  padding: clamp(2.5rem, 6vw, 4rem) var(--vc-pad) 0;
}
.vc-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.vc-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.vc-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--q2-container, 1200px);
  margin-inline: auto;
  padding-bottom: 2.5rem;
}
.vc-footer-col h4 {
  font-family: var(--pico-font-family-display);
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.vc-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vc-footer-col p {
  margin: 0 0 0.5rem;
  line-height: 1.5;
}
.vc-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.vc-footer-social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--q2-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.vc-footer-social a:hover {
  background: var(--vc-green-500);
  transform: translateY(-2px);
}
.vc-footer-social svg {
  width: 1.2rem;
  height: 1.2rem;
}
.vc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: var(--q2-container, 1200px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   11. Acessibilidade / utilidades
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--q2-focus-ring, var(--vc-green-500));
  outline-offset: 2px;
  border-radius: var(--q2-radius-xs);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Logo / wordmark "Vereador Cris" ---------- */
.vc-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.vc-logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
}
/* O quark2 aplica `.navbar-brand svg * { fill: ... }`, que preencheria o miolo
   do "C". O ícone é traço (stroke) vazado — forçamos fill:none com especificidade
   maior para manter o centro transparente. */
.navbar-brand .vc-logo-mark,
.navbar-brand .vc-logo-mark * {
  fill: none;
}
.vc-logo-text {
  font-family: var(--pico-font-family-display, "Cal Sans", sans-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--q2-text-strong, #111);
  white-space: nowrap;
}
:root[data-theme="dark"] .vc-logo-text { color: var(--q2-text-strong, #fff); }

/* ==========================================================================
   DESIGN SYSTEM v2 — identidade editorial (sobrescreve o que vier antes)
   Títulos: Fraunces (serifa óptica moderna) · Corpo/UI: Inter
   Remove a Cal Sans e as barras h2::before do quark2.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 340 700;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-italic-latin.woff2") format("woff2");
}

:root {
  --vc-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --vc-font-sans: var(--pico-font-family-sans-serif);
  /* faz as regras de heading do quark2 (que usam a var display) adotarem a serifa */
  --pico-font-family-display: var(--vc-font-display);
}

/* Remove o "tracinho" decorativo de TODOS os headings do quark2 */
h1::before, h2::before, h3::before, h4::before,
.vc-section-title::before, .vc-hero-title::before, .vc-footer-heading::before {
  content: none !important;
}

/* Títulos editoriais em Fraunces, com optical sizing e tracking calibrado */
h1, h2, h3, h4,
.vc-hero-title, .vc-section-title, .vc-card-title,
.vc-article h1, .vc-editoria-title, .vc-footer-name {
  font-family: var(--vc-font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { line-height: 1.06; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.1rem); line-height: 1.12; font-weight: 600; }
h3 { font-weight: 600; letter-spacing: -0.01em; }

/* Elementos FUNCIONAIS voltam para Inter (sans) — nada de serifa em UI */
.navbar, .navbar a, .navigation a,
.vc-btn, button, [type="submit"], [role="button"],
.vc-logo-text, .vc-card-editoria, .vc-card-date, .vc-card-excerpt,
.vc-section-link, .vc-quick-label, .vc-card-media-label,
.vc-footer-heading, .vc-footer-links, .vc-footer-tagline,
.overlay .overlay-menu a, label, .form-label, input, textarea, select {
  font-family: var(--vc-font-sans);
}
.vc-logo-text { font-weight: 700; letter-spacing: -0.02em; font-size: 1.18rem; }

/* --------------------------------------------------------------------------
   HERO — full-bleed, sem border-radius (banner moderno)
   -------------------------------------------------------------------------- */
.vc-hero-banner {
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.vc-hero-banner .vc-hero-inner { max-width: var(--q2-container, 1200px); margin-inline: auto; }
.vc-hero-title {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.vc-hero-text {
  font-family: var(--vc-font-sans);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 46ch;
  opacity: 0.92;
}
.vc-hero-actions { margin-top: 1.75rem; gap: 0.75rem; }

/* CTA final continua sendo um CARD contido (mantém cantos arredondados) */
.vc-hero-cta { border-radius: var(--q2-radius-lg); }

/* Botões — sólido claro + ghost, tipografia sans */
.vc-btn {
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--q2-radius-pill, 9999px);
  padding: 0.7rem 1.4rem;
}

/* --------------------------------------------------------------------------
   SEÇÕES — cabeçalho editorial com fio (régua de jornal), sem barra
   -------------------------------------------------------------------------- */
.vc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--q2-divider);
}
.vc-section-title { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 1.8rem); }
.vc-section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vc-green-600, #059669);
  white-space: nowrap;
}
:root[data-theme="dark"] .vc-section-link { color: var(--vc-green-500, #10b981); }

/* Título de notícia (card) — serifa, peso editorial */
.vc-card-title { font-size: 1.22rem; line-height: 1.22; letter-spacing: -0.01em; }
.vc-lead .vc-card-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); line-height: 1.1; }

/* --------------------------------------------------------------------------
   RODAPÉ — grid robusto (escapa das regras nav/li do Pico), alinhado à esquerda
   -------------------------------------------------------------------------- */
#footer .vc-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr;
  gap: 2.5rem;
  text-align: left;
}
.vc-footer-col { text-align: left; }
.vc-footer-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.4rem;
}
.vc-footer-tagline { color: rgba(255,255,255,0.7); margin: 0 0 1.1rem; max-width: 32ch; line-height: 1.55; }
.vc-footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #fff;
  opacity: 0.85;
  margin: 0 0 1.1rem;
  line-height: 1;
}
.vc-footer-links { list-style: none; margin: 0; padding: 0; }
.vc-footer-links li { list-style: none; display: block; margin: 0 0 0.65rem; padding: 0; }
.vc-footer-links li::before { content: none !important; }
.vc-footer-links a { color: rgba(255,255,255,0.78); }
.vc-footer-links a:hover { color: #fff; }
@media (max-width: 720px) {
  #footer .vc-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --------------------------------------------------------------------------
   MENU MOBILE — tipografia limpa (Inter), divisórias sutis, hover verde
   -------------------------------------------------------------------------- */
.overlay .overlay-menu a {
  font-family: var(--vc-font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--q2-text);
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--q2-divider);
}
.overlay .overlay-menu > ul > li:last-child a { border-bottom: 0; }
.overlay .overlay-menu a:hover,
.overlay .overlay-menu a.active { color: var(--vc-green-600, #059669); }
:root[data-theme="dark"] .overlay .overlay-menu a:hover { color: var(--vc-green-500, #10b981); }

/* Vence o #footer do quark2 (id > classe): restaura o fundo verde e alinhamento */
#footer.vc-footer {
  background: var(--vc-green-800);
  color: rgba(255, 255, 255, 0.82);
  border-top: 0;
  text-align: left;
  padding: clamp(2.75rem, 6vw, 4.5rem) var(--vc-pad) 0;
}
#footer.vc-footer a { color: rgba(255, 255, 255, 0.78); font-weight: 400; }
#footer.vc-footer a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   SOBRE / BIOGRAFIA — página .vc-bio-* (reusa hero/section/tokens existentes)
   ========================================================================== */

/* Hero compacto (banner verde) + selo de cargo/partido */
.vc-bio-hero { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.vc-bio-hero-eyebrow {
  font-family: var(--vc-font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.75rem;
}

/* Layout: empilha no mobile, 2 colunas (texto | sidebar) no desktop */
.vc-bio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-block: var(--vc-section-gap);
  align-items: start;
}
@media (min-width: 880px) {
  .vc-bio-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  }
  /* sidebar fica à direita no desktop; foto aparece primeiro no mobile */
  .vc-bio-main  { grid-column: 1; grid-row: 1; }
  .vc-bio-aside { grid-column: 2; grid-row: 1; position: sticky; top: 5.5rem; }
}

/* Foto em moldura arredondada */
.vc-bio-photo {
  margin: 0;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: var(--q2-radius-lg);
  overflow: hidden;
  border: 1px solid var(--q2-divider);
  box-shadow: var(--q2-shadow-card);
  background: linear-gradient(135deg, var(--vc-green-600), var(--vc-green-800));
}
.vc-bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Fatos rápidos (card verde claro) */
.vc-bio-facts {
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--vc-green-50);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-md);
}
:root[data-theme="dark"] .vc-bio-facts { background: rgba(16, 185, 129, 0.08); }
.vc-bio-fact { display: flex; flex-direction: column; gap: 0.2rem; }
.vc-bio-fact + .vc-bio-fact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--q2-divider);
}
.vc-bio-fact-label {
  font-family: var(--vc-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vc-green-700);
}
:root[data-theme="dark"] .vc-bio-fact-label { color: var(--vc-green-400); }
.vc-bio-fact-value {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--q2-text-strong);
}
.vc-bio-fact-value a { color: inherit; text-decoration: none; }
.vc-bio-fact-value a:hover { color: var(--vc-green-700); text-decoration: underline; }
:root[data-theme="dark"] .vc-bio-fact-value a:hover { color: var(--vc-green-400); }
.vc-bio-fact-address { display: inline-block; font-size: 0.9rem; color: var(--q2-text-muted); }

/* Biografia (texto corrido) — primeiro parágrafo como lead */
.vc-bio-prose { font-size: 1.05rem; line-height: 1.75; color: var(--q2-text); }
.vc-bio-prose > :first-child { margin-top: 0; }
.vc-bio-prose p { margin: 0 0 1.15rem; }
.vc-bio-prose p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--q2-text-strong);
}

/* Espaço entre as seções da coluna principal */
.vc-bio-section { margin-block: clamp(2rem, 5vw, 3rem); }

/* Comissões — lista com selo de função */
.vc-bio-commissions { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.vc-bio-commission {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-left: 4px solid var(--vc-green-500);
  border-radius: var(--q2-radius-md);
  box-shadow: var(--q2-shadow-card);
}
.vc-bio-commission-role {
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: var(--q2-radius-pill);
  background: var(--vc-green-600);
  color: #fff;
  font-family: var(--vc-font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.vc-bio-commission-name {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--q2-text-strong);
}

/* Trajetória eleitoral — linha do tempo vertical */
.vc-bio-timeline { list-style: none; margin: 0; padding: 0; }
.vc-bio-timeline-item {
  position: relative;
  padding: 0 0 1.6rem 1.85rem;
  border-left: 2px solid var(--q2-divider);
}
.vc-bio-timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.vc-bio-timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vc-green-500);
  box-shadow: 0 0 0 4px var(--vc-green-50);
}
:root[data-theme="dark"] .vc-bio-timeline-item::before { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12); }
.vc-bio-timeline-year {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--q2-text-strong);
}
.vc-bio-timeline-result {
  font-family: var(--vc-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vc-green-700);
  background: var(--vc-green-50);
  padding: 0.22rem 0.6rem;
  border-radius: var(--q2-radius-pill);
}
:root[data-theme="dark"] .vc-bio-timeline-result {
  color: var(--vc-green-400);
  background: rgba(16, 185, 129, 0.12);
}
.vc-bio-timeline-votes {
  font-family: var(--vc-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--q2-text-muted);
}
.vc-bio-timeline-note {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--q2-text-muted);
}
