/* ==================================================
   VARIÁVEIS GLOBAIS E TEMAS
   ================================================== */
:root {
  --verde: #0b4623;
  --verde-mid: #166534;
  --verde-light: #16a34a;
  --verde-accent: #4ade80;
  --verde-dim: rgba(11, 70, 35, 0.08);
  --red-detail: #cd191e;
  --black: #050a05;
  --dark: #0d1a0d;
  --ink: #111b11;
  --paper: #f5f7f4;
  --white: #ffffff;
  --muted: #6b7c6b;
  --border: #d4e0d4;
  --orange: #f59e0b;
  --red: #dc2626;
  --bg: #f5f7f4;
  --bg-alt: #eef2ed;
  --card-bg: #ffffff;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-mono: "Space Mono", monospace;
  --font-body: "Outfit", system-ui, sans-serif;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: 1200px;
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow: 0 8px 32px rgba(11, 70, 35, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 48px rgba(11, 70, 35, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark {
  --bg: #080e08;
  --bg-alt: #0d1a0d;
  --card-bg: #111b11;
  --black: #f0f4f0;
  --ink: #e8f0e8;
  --paper: #080e08;
  --muted: #7a9c7a;
  --border: #1e3020;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 48px rgba(74, 222, 128, 0.12);
}

/* ==================================================
   MODO ALTO CONTRASTE (SIMPLIFICADO E AGRUPADO)
   ================================================== */
body.high-contrast {
  --bg: #000000 !important;
  --bg-alt: #000000 !important;
  --card-bg: #000000 !important;
  --dark: #000000 !important;
  --black: #000000;
  --ink: #ffffff;
  --white: #ffffff;
  --muted: #ffff00;
  --border: #ffff00;
  --verde: #ffff00;
  --verde-mid: #ffff00;
  --verde-light: #ffff00;
  --verde-accent: #ffff00;
  --verde-dim: rgba(255, 255, 0, 0.15);
  --red-detail: #ffff00;
  --shadow: none;
  --shadow-hover: none;
}

body.high-contrast * {
  border-color: #ffff00 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
  opacity: 1 !important;
}

/* Fundos pretos unificados */
body.high-contrast,
body.high-contrast section,
body.high-contrast .section,
body.high-contrast .hero,
body.high-contrast .sobre-section,
body.high-contrast .historia-section,
body.high-contrast .mob-section,
body.high-contrast .gestoes-section,
body.high-contrast .gestao-atual-section,
body.high-contrast .eixos-section,
body.high-contrast .eventos-section,
body.high-contrast .curiosidades-section,
body.high-contrast .estrutura-section,
body.high-contrast .biblioteca-section,
body.high-contrast .cta-section,
body.high-contrast .navbar,
body.high-contrast .navbar.scrolled,
body.high-contrast .notice-bar {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* Texto branco geral */
body.high-contrast,
body.high-contrast p,
body.high-contrast span,
body.high-contrast td,
body.high-contrast .section-heading,
body.high-contrast .hero-title,
body.high-contrast .hero-line,
body.high-contrast .hero-desc,
body.high-contrast .hero-big,
body.high-contrast .hero-outline,
body.high-contrast .hero-italic,
body.high-contrast .sobre-lead,
body.high-contrast .sobre-card p,
body.high-contrast .tab-btn,
body.high-contrast .timeline-events div,
body.high-contrast .mob-card p,
body.high-contrast .gestao-card p,
body.high-contrast .eixo-card p,
body.high-contrast .evento-info span,
body.high-contrast .curiosidade p,
body.high-contrast .estrutura-card p,
body.high-contrast .footer,
body.high-contrast .footer * {
  color: #ffffff !important;
}

/* Destaques amarelos */
body.high-contrast strong,
body.high-contrast em,
body.high-contrast i,
body.high-contrast .eyebrow,
body.high-contrast .hero-tag,
body.high-contrast .logo-sub,
body.high-contrast .gestao-periodo,
body.high-contrast .timeline-year-badge,
body.high-contrast .notice-inner strong {
  color: #ffff00 !important;
}

/* Cards e elementos com borda amarela */
body.high-contrast .hero-tag,
body.high-contrast .btn-hero-ghost,
body.high-contrast .mob-card,
body.high-contrast .sobre-card,
body.high-contrast .gestao-card,
body.high-contrast .eixo-card,
body.high-contrast .estrutura-card,
body.high-contrast .curiosidade,
body.high-contrast .composicao-card,
body.high-contrast .pdf-card,
body.high-contrast .media-item,
body.high-contrast .acervo-categoria,
body.high-contrast .subcategoria,
body.high-contrast .notice-inner,
body.high-contrast .eleicao-card,
body.high-contrast .chapa,
body.high-contrast .protagonista,
body.high-contrast .timeline-details,
body.high-contrast .composicoes-details,
body.high-contrast .tab-panels {
  background: #000000 !important;
  border: 2px solid #ffff00 !important;
}

/* Botões e elementos ativos */
body.high-contrast .btn-hero,
body.high-contrast .btn-atual,
body.high-contrast .btn-cta,
body.high-contrast .btn-outline,
body.high-contrast .nav-admin,
body.high-contrast .a11y-btn,
body.high-contrast .tab-btn.active,
body.high-contrast .historico-table thead th,
body.high-contrast .badge,
body.high-contrast .eleicao-year,
body.high-contrast .evento-ano {
  background: #ffff00 !important;
  color: #000000 !important;
  border: 2px solid #ffff00 !important;
  font-weight: 800 !important;
}

body.high-contrast .btn-hero:hover,
body.high-contrast .btn-atual:hover,
body.high-contrast .btn-cta:hover,
body.high-contrast .btn-outline:hover,
body.high-contrast .nav-admin:hover,
body.high-contrast .a11y-btn:hover,
body.high-contrast .tab-btn.active:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

body.high-contrast .badge.green,
body.high-contrast .badge.orange,
body.high-contrast .badge.gray {
  background: #ffff00 !important;
  color: #000000 !important;
}

body.high-contrast .historico-table tbody tr:hover {
  background: rgba(255, 255, 0, 0.2) !important;
}

body.high-contrast .nav-links a,
body.high-contrast .footer-info a,
body.high-contrast .footer-social a {
  color: #ffff00 !important;
}

body.high-contrast .nav-links a:hover,
body.high-contrast .footer-info a:hover,
body.high-contrast .footer-social a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

body.high-contrast .video-container {
  background: #000000 !important;
  border: 2px solid #ffff00 !important;
}

body.high-contrast .video-legenda {
  background: #000000 !important;
  color: #ffff00 !important;
  border-top: 1px solid #ffff00 !important;
}

body.high-contrast .logo-gepaf,
body.high-contrast .footer-logo {
  background: none !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

body.high-contrast .cursor,
body.high-contrast .cursor-follower {
  display: block !important;
  background: #ffff00 !important;
  border-color: #ffff00 !important;
  opacity: 1 !important;
}

body.high-contrast .logo-img {
  content: url("https://i.postimg.cc/d03HZcMd/Logo-gremio-GEPAF-Branco.png") !important;
}

/* Modal no alto contraste */
body.high-contrast .membros-modal-overlay {
  background: rgba(0, 0, 0, 0.95) !important;
}

body.high-contrast .membros-modal-content {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffff00 !important;
}

body.high-contrast .membros-modal-close {
  background: #ffff00 !important;
  color: #000000 !important;
}

body.high-contrast #membros-modal-title {
  color: #ffff00 !important;
}

body.high-contrast .membros-lista p {
  border-bottom: 1px solid #ffff00 !important;
}

body.high-contrast .membros-lista strong {
  color: #ffff00 !important;
}

/* ==================================================
   RESET E BASE
   ================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ==================================================
   ELEMENTOS GLOBAIS (HEADINGS, BOTÕES, UTILITÁRIOS)
   ================================================== */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.section-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--verde-light);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red-detail);
  flex-shrink: 0;
}

.section-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .eyebrow {
  justify-content: center;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--verde);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10001;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 0.5rem 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ==================================================
   BARRA DE PROGRESSO DE LEITURA
   ================================================== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--verde), var(--verde-accent));
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ==================================================
   BARRA DE ACESSIBILIDADE (A11Y)
   ================================================== */
.a11y-bar {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 900;
  background: var(--card-bg);
  padding: 0.5rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.a11y-btn {
  width: auto;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  display: grid;
  place-items: center;
}

.a11y-btn:hover {
  background: var(--verde);
  color: #fff;
  border-color: var(--verde);
  transform: scale(1.1);
}

/* ==================================================
   PRELOADER
   ================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--verde);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-loader.done {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 5rem;
  color: #fff;
  letter-spacing: 0.1em;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.97); }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: #cd191e;
  border-radius: 10px;
  animation: loaderGrow 1.2s ease-in-out forwards;
}

@keyframes loaderGrow {
  from { width: 0; }
  to { width: 100%; }
}

/* ==================================================
   REVEAL ANIMATION (SCROLL)
   ================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   BARRA DE AVISO (NOTICE)
   ================================================== */
.notice-bar {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
}

body.dark .notice-bar {
  background: #1c1400;
  border-bottom-color: #3d2e00;
}

.notice-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
}

.notice-inner i {
  color: var(--orange);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.notice-inner strong {
  color: #92400e;
}

body.dark .notice-inner strong {
  color: #fcd34d;
}

.notice-inner p {
  color: #78350f;
}

body.dark .notice-inner p {
  color: #fde68a;
}

/* ==================================================
   ORGANOGRAMA EXPANSÍVEL (DENTRO DA SEÇÃO ESTRUTURA)
   ================================================== */
.organograma-details {
  margin-top: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.organograma-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  background: var(--bg-alt);
  list-style: none;
  gap: 0.5rem;
}

.organograma-details summary::-webkit-details-marker {
  display: none;
}

.organograma-details summary span i {
  margin-right: 0.6rem;
  color: var(--verde-light);
}

.organograma-details[open] .toggle-chevron {
  transform: rotate(180deg);
}

.toggle-chevron {
  transition: transform 0.3s ease;
  color: var(--verde-light);
}

.organograma-container {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.org-level {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.org-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin: 0.5rem 0;
}

.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 240px;
}

.org-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  width: 100%;
  max-width: 280px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.org-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--verde-light);
}

.org-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.org-desc {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.3;
}

/* Cores laterais */
.card-assembleia { border-left: 4px solid var(--verde); background: var(--verde-dim); }
.card-diretoria { border-left: 4px solid var(--verde-accent); }
.card-fiscal { border-left: 4px solid var(--verde-mid); }
.card-crt { border-left: 4px solid var(--orange); }
.card-crb { border-left: 4px solid var(--red-detail); }
.card-eleitoral { border-left: 4px solid #8b5cf6; }
.card-pro { border-left: 4px solid #ec489a; }

.crb-blocos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.crb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

.crb-item i {
  font-size: 0.8rem;
  margin-bottom: 0;
  color: var(--verde-light);
}

/* Conexões (setas e linhas) */
.org-connector {
  position: relative;
  width: 2px;
  height: 24px;
  background: var(--verde-light);
  margin: 0.2rem 0;
}

.org-connector.down::after {
  content: "▼";
  position: absolute;
  bottom: -12px;
  left: -6px;
  font-size: 10px;
  color: var(--verde-light);
  background: var(--card-bg);
  padding: 0 2px;
}

.org-horizontal-connector {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 80%;
  margin: 1rem 0;
}

.connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--verde-light), transparent);
}

.connector-label {
  font-size: 0.7rem;
  background: var(--verde-dim);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  color: var(--verde-mid);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.org-level-temp {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

.temp-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 1rem;
}

.temp-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.organograma-obs {
  font-size: 0.75rem;
  text-align: center;
  max-width: 700px;
  margin: 1.5rem auto 0;
  padding: 0.5rem;
  background: var(--verde-dim);
  border-radius: var(--radius-sm);
  color: var(--muted);
}

/* Alto contraste – organograma */
body.high-contrast .organograma-details,
body.high-contrast .org-card {
  border: 2px solid #ffff00;
}
body.high-contrast .org-card i,
body.high-contrast .connector-label i {
  color: #ffff00;
}
body.high-contrast .org-connector {
  background: #ffff00;
}
body.high-contrast .connector-line {
  background: #ffff00;
}

/* ==================================================
   CARTILHA UBES – ALINHADA À IDENTIDADE GEPAF
   ================================================== */
.cartilha-section {
  padding: 2rem 0 1rem 0;
}

.cartilha-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.cartilha-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--verde-light);
}

.cartilha-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--verde-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--verde-light);
  transition: var(--transition);
}

.cartilha-card:hover .cartilha-icon {
  background: var(--verde);
  color: white;
  transform: scale(1.02);
}

.cartilha-content {
  flex: 1;
}

.cartilha-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cartilha-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  max-width: 90%;
}

.cartilha-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cartilha,
.btn-cartilha-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
}

.btn-cartilha {
  background: var(--verde);
  color: white;
  border: 1px solid var(--verde);
}

.btn-cartilha:hover {
  background: var(--verde-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 70, 35, 0.3);
}

.btn-cartilha-ghost {
  background: transparent;
  color: var(--verde-light);
  border: 1px solid var(--verde-light);
}

.btn-cartilha-ghost:hover {
  background: var(--verde-dim);
  transform: translateY(-2px);
  color: var(--verde);
  border-color: var(--verde);
}

body.dark .cartilha-card {
  background: var(--card-bg);
  border-color: var(--border);
}
body.dark .btn-cartilha-ghost {
  color: var(--verde-accent);
  border-color: var(--verde-accent);
}
body.dark .btn-cartilha-ghost:hover {
  background: rgba(74, 222, 128, 0.1);
  color: var(--verde-accent);
}

body.high-contrast .cartilha-card {
  border: 2px solid #ffff00 !important;
  background: #000 !important;
}
body.high-contrast .btn-cartilha,
body.high-contrast .btn-cartilha-ghost {
  background: #ffff00 !important;
  color: #000 !important;
  border: 2px solid #ffff00 !important;
}
body.high-contrast .cartilha-icon {
  background: #ffff00 !important;
  color: #000 !important;
}

/* ==================================================
   PRESIDENTES - CARDS CRONOLÓGICOS
   ================================================== */
.presidentes-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0;
}

.presidente-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.presidente-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--verde-light);
}

.presidente-card-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.presidente-avatar {
  width: 80px;
  height: 80px;
  background: var(--verde-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 2px solid var(--verde-light);
}

.presidente-initials {
  font-size: 2rem;
  font-weight: 700;
  color: var(--verde-light);
  font-family: var(--font-display);
}

.presidente-nome {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.presidente-periodo-badge {
  display: inline-block;
  background: var(--verde);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.presidente-chapa {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--verde-light);
  margin-bottom: 0.75rem;
}

.presidente-resumo {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.btn-presidente-detalhes {
  background: transparent;
  border: 1px solid var(--verde-light);
  color: var(--verde-light);
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-presidente-detalhes:hover {
  background: var(--verde-light);
  color: white;
}

/* Modal de detalhes no alto contraste (já tratado na seção global) */
body.high-contrast .membros-modal-overlay {
  display: none !important;
}
body.high-contrast .membros-modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
}

/* ==================================================
   ARQUIVO HISTÓRICO
   ================================================== */
.arquivo-historico {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  transition: var(--transition);
}

.arquivo-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.arquivo-header > i {
  font-size: 2rem;
  color: var(--verde-light);
}

.arquivo-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.arquivo-links li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border-radius: 0.75rem;
  transition: var(--transition);
  text-decoration: none;
  color: var(--ink);
}

.arquivo-links li a:hover {
  background: var(--verde-dim);
  transform: translateX(4px);
}

.arquivo-links li a i {
  width: 24px;
  font-size: 1.1rem;
  color: var(--verde-light);
  text-align: center;
}

.arquivo-links li a span {
  flex: 1;
  font-weight: 500;
}

.arquivo-links li a small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--muted);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  opacity: 0.7;
}

.arquivo-nota {
  background: var(--verde-dim);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.arquivo-nota i {
  color: var(--orange);
  font-size: 0.9rem;
}
