/* ==========================================================================
   MOVIMENTO BANDEIRA COLORADA — DESIGN SYSTEM & ESTILOS (2020–2026+)
   Paleta Institucional: Vermelho #c8102e / #cc0000, Branco #ffffff e Neutros
   Alto contraste, zero dependências externas, responsivo e pronto p/ impressão
   ========================================================================== */

:root {
  --red-primary: #c8102e;
  --red-vivid: #cc0000;
  --red-dark: #990820;
  --red-deeper: #6e0415;
  --red-soft: #fdf1f3;
  --red-border: #f4c6ce;

  --white: #ffffff;
  --neutral-50: #f7f8fa;
  --neutral-100: #eef0f4;
  --neutral-200: #dfe3ea;
  --neutral-300: #c5ccd6;
  --neutral-500: #5c6470;
  --neutral-700: #2f353d;
  --neutral-900: #14171c;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Cambria", "Times New Roman", Times, serif;

  --container-max: 1220px;
  --header-height: 82px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(20, 23, 28, 0.06);
  --shadow-md: 0 10px 28px rgba(20, 23, 28, 0.09);
  --shadow-lg: 0 20px 48px rgba(20, 23, 28, 0.18);
  --transition: 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);

  --reader-font-size: 1.125rem;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 14px);
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--neutral-900);
  background-color: var(--white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: var(--red-primary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--red-dark);
}

:focus-visible {
  outline: 3px solid var(--red-vivid);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--red-primary);
  color: var(--white);
  padding: 10px 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TIPOGRAFIA & BOTÕES GERAIS
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0 0 0.65rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-primary);
  margin-bottom: 0.55rem;
}

.eyebrow-light {
  color: #ffd6dc;
  background: rgba(255, 255, 255, 0.14);
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.section {
  padding: 84px 0;
}

.section-white {
  background-color: var(--white);
}

.section-tinted {
  background-color: var(--neutral-50);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}

.section-header {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-header-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
}

.section-subtitle {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  color: var(--neutral-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--red-primary);
  color: var(--white);
  border-color: var(--red-primary);
}

.btn-primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.28);
}

.btn-white {
  background-color: var(--white);
  color: var(--red-primary);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: #fff2f4;
  color: var(--red-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.82);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-dark {
  background-color: var(--white);
  color: var(--neutral-900);
  border-color: var(--neutral-300);
}

.btn-outline-dark:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background-color: var(--red-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--neutral-700);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--red-primary);
  background: var(--red-soft);
}

/* ==========================================================================
   CABEÇALHO & NAVEGAÇÃO (5 EIXOS)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red-primary);
  box-shadow: 0 2px 14px rgba(20, 23, 28, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--neutral-900);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover {
  color: var(--red-primary);
  background-color: var(--red-soft);
}

.nav-link.is-active {
  color: var(--red-primary);
  background-color: var(--red-soft);
}

.nav-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--red-primary);
  color: var(--white);
  padding: 1px 7px;
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  color: var(--neutral-700);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-icon-search:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: var(--red-soft);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hamburger-bar {
  width: 100%;
  height: 2.5px;
  background: var(--neutral-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ==========================================================================
   FRENTE 1: HERO CARROSSEL & STATS RIBBON
   ========================================================================== */
.carousel {
  position: relative;
  overflow: hidden;
  background: var(--red-primary);
}

.carousel-track {
  position: relative;
  min-height: 480px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.48s ease, visibility 0.48s ease;
  display: flex;
  align-items: center;
  padding: 56px 0 84px;
}

.carousel-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.slide-bg-red {
  background: radial-gradient(circle at 82% 35%, #e01637 0%, var(--red-primary) 52%, var(--red-dark) 100%);
}

.slide-bg-crimson {
  background: linear-gradient(125deg, #8b051b 0%, var(--red-primary) 58%, #db122f 100%);
}

.slide-bg-light {
  background: linear-gradient(135deg, #ffffff 0%, #f8f2f3 60%, #fbe6e9 100%);
}

.slide-bg-dark {
  background: linear-gradient(130deg, #121418 0%, #24090e 58%, #7a091b 100%);
}

.slide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 42px;
}

.slide-content {
  color: var(--white);
}

.slide-content h1,
.slide-content h2 {
  color: var(--white);
  font-size: clamp(1.95rem, 3.6vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.text-underline-light {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 6px;
}

.slide-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 1.75rem;
  max-width: 610px;
}

.slide-theme-light .slide-content,
.slide-theme-light .slide-content h2 {
  color: var(--neutral-900);
}

.slide-theme-light .slide-lead {
  color: var(--neutral-700);
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-art-img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.25));
}

.slide-banner-card {
  width: 100%;
  max-width: 510px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.slide-banner-card-light {
  border-color: var(--neutral-200);
  box-shadow: var(--shadow-md);
}

.carousel-controls-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 23, 28, 0.45);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.carousel-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--white);
}

.carousel-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(20, 23, 28, 0.48);
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  backdrop-filter: blur(6px);
  transition: background var(--transition), transform var(--transition);
}

.carousel-btn:hover {
  background: rgba(20, 23, 28, 0.82);
}

/* Stats Ribbon */
.stats-ribbon {
  background: var(--neutral-900);
  color: var(--white);
  border-bottom: 4px solid var(--red-primary);
  padding: 22px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--red-vivid);
  padding-left: 14px;
}

.stat-number {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: #cfd5df;
  margin-top: 2px;
}

/* ==========================================================================
   FRENTE 2: QUEM SOMOS & LINHA DO TEMPO (2020–2026)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 44px;
  align-items: start;
}

.prose-lead p {
  margin: 0 0 1.15rem;
  font-size: 1.06rem;
  color: var(--neutral-700);
}

.pillars-highlight-box {
  margin: 28px 0;
  padding: 24px 26px;
  background: var(--red-soft);
  border-left: 5px solid var(--red-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pillars-highlight-box h3 {
  font-size: 1.15rem;
  color: var(--red-dark);
  margin-bottom: 12px;
}

.check-list {
  margin: 0;
  padding-left: 20px;
}

.check-list li {
  margin-bottom: 10px;
  color: var(--neutral-900);
}

.cta-inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mascot-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 16px;
}

.mascot-card img {
  width: 96px;
  height: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.mascot-caption strong {
  display: block;
  font-size: 1rem;
  color: var(--red-primary);
  margin-bottom: 4px;
}

.mascot-caption p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--neutral-700);
}

.coord-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-top: 4px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.coord-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.coord-card-header h3 {
  margin: 0;
  font-size: 1.12rem;
}

.badge-subtle {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--red-soft);
  color: var(--red-primary);
  padding: 3px 9px;
  border-radius: 999px;
}

.coord-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.coord-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}

.coord-list li:last-child {
  border-bottom: none;
}

.coord-role {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--neutral-500);
}

.coord-name {
  font-weight: 700;
  color: var(--neutral-900);
}

.coord-history-details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--neutral-300);
  font-size: 0.86rem;
  color: var(--neutral-700);
}

.coord-history-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--red-primary);
}

.coord-history-details p {
  margin: 8px 0 0;
  line-height: 1.5;
}

/* Linha do Tempo */
.timeline-block {
  margin-top: 68px;
  padding-top: 52px;
  border-top: 2px solid var(--neutral-200);
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.timeline-header h3 {
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.timeline-header p {
  margin: 0;
  color: var(--neutral-700);
}

.timeline-year-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.year-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--neutral-300);
  background: var(--white);
  color: var(--neutral-900);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.year-pill:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.year-pill.is-active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}

.timeline-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-left: 5px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.timeline-card.is-latest {
  background: var(--red-soft);
  border-color: var(--red-border);
  border-left: 6px solid var(--red-vivid);
  box-shadow: var(--shadow-md);
}

.timeline-latest-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--neutral-900);
  color: var(--white);
  padding: 3px 9px;
  border-radius: 999px;
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.timeline-date {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--white);
  background: var(--red-primary);
  padding: 3px 10px;
  border-radius: 999px;
}

.timeline-cat {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
}

.timeline-card h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.timeline-card p {
  margin: 0 0 16px;
  font-size: 0.94rem;
  color: var(--neutral-700);
}

.timeline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.timeline-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red-primary);
  background: var(--white);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.timeline-doc-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
}

/* ==========================================================================
   FRENTE 3: OS 6 PRINCÍPIOS & MATRIZ DE CONEXÃO
   ========================================================================== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.principle-card {
  background: var(--white);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}

.principle-card:hover {
  border-color: var(--red-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.principle-card.is-active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(200, 16, 46, 0.28);
}

.principle-icon-box {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  background: var(--red-soft);
  transition: background var(--transition);
}

.principle-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter var(--transition);
}

.principle-card.is-active .principle-icon-box {
  background: rgba(255, 255, 255, 0.18);
}

.principle-card.is-active .principle-icon-box img {
  filter: brightness(0) invert(1);
}

.principle-num {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-primary);
}

.principle-card.is-active .principle-num {
  color: #ffd6dc;
}

.principle-title {
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--neutral-900);
}

.principle-card.is-active .principle-title {
  color: var(--white);
}

/* Matriz de Conexão Viva */
.principle-matrix-panel {
  margin-top: 26px;
  background: var(--white);
  border: 2px solid var(--red-primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.matrix-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--neutral-200);
  margin-bottom: 22px;
}

.matrix-top h3 {
  font-size: 1.38rem;
  color: var(--red-primary);
  margin-bottom: 6px;
}

.matrix-official-quote {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0 0 8px;
}

.matrix-explanation {
  margin: 0;
  color: var(--neutral-700);
  max-width: 820px;
}

.matrix-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 24px;
}

.matrix-col h4 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-500);
  margin-bottom: 12px;
}

.matrix-tag-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.matrix-jump-btn {
  text-align: left;
  padding: 10px 14px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-left: 4px solid var(--red-primary);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neutral-900);
  cursor: pointer;
  transition: all var(--transition);
}

.matrix-jump-btn:hover {
  background: var(--red-soft);
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.matrix-jump-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--neutral-500);
  margin-top: 2px;
}

/* ==========================================================================
   FRENTE 4: PROPOSTAS 10X MAIS COMPLETAS & REFORMA ESTATUTÁRIA
   ========================================================================== */
.program-action-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-left: 6px solid var(--red-primary);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.program-action-text strong {
  display: block;
  font-size: 1.08rem;
  color: var(--neutral-900);
}

.program-action-text p {
  margin: 4px 0 0;
  font-size: 0.94rem;
  color: var(--neutral-700);
}

.program-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 2px solid var(--neutral-200);
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.mode-tab {
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--neutral-700);
  background: var(--neutral-100);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.mode-tab:hover {
  color: var(--red-primary);
  background: var(--red-soft);
}

.mode-tab.is-active {
  background: var(--red-primary);
  color: var(--white);
}

.areas-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.area-selector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--neutral-300);
  background: var(--white);
  color: var(--neutral-900);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.area-pill:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.area-pill.is-active {
  background: var(--neutral-900);
  border-color: var(--neutral-900);
  color: var(--white);
}

.area-search-wrap {
  flex: 1 1 290px;
  max-width: 390px;
}

.areas-cards-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.area-full-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-top: 5px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.area-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.area-code-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-primary);
  background: var(--red-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.area-card-head h3 {
  font-size: 1.48rem;
  margin-bottom: 4px;
}

.area-card-sub {
  margin: 0;
  color: var(--neutral-700);
  font-size: 0.96rem;
}

.area-count-pill {
  background: var(--neutral-900);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.area-synthesis {
  margin: 0 0 22px;
  padding: 14px 18px;
  background: var(--neutral-50);
  border-radius: var(--radius-sm);
  color: var(--neutral-700);
  font-size: 0.96rem;
}

.area-lists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.proposal-col-box h4 {
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red-primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red-border);
}

.proposal-bullet-list {
  margin: 0;
  padding-left: 18px;
}

.proposal-bullet-list li {
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: var(--neutral-900);
}

.area-related-docs {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--neutral-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.area-related-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neutral-500);
}

/* Reforma Estatutária & Plano Decenal */
.estatuto-intro-card {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.estatuto-intro-card h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.estatuto-intro-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.93);
}

.estatuto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.estatuto-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-left: 5px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.estatuto-tag {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red-primary);
  background: var(--red-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.estatuto-card h4 {
  font-size: 1.12rem;
  margin: 0;
}

.estatuto-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--neutral-700);
}

.estatuto-impact {
  padding: 10px 12px;
  background: var(--neutral-50);
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  color: var(--neutral-900);
}

.estatuto-jun2025-box {
  background: var(--neutral-50);
  border: 2px dashed var(--red-border);
  border-radius: var(--radius-md);
  padding: 26px;
}

.estatuto-jun2025-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.jun2025-item {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.decenal-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.decenal-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-top: 4px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.decenal-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--red-primary);
}

/* ==========================================================================
   FRENTE 5: ACERVO INTEGRAL DOS 47 TEXTOS (BUSCA & FILTROS)
   ========================================================================== */
.archive-controls-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.archive-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.search-input-box {
  position: relative;
  flex: 1 1 360px;
}

.search-box-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-500);
  pointer-events: none;
}

.input-field,
.select-field {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--neutral-900);
  background: var(--white);
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input-sm {
  padding: 9px 12px;
  font-size: 0.9rem;
}

.input-field:focus,
.select-field:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.14);
  outline: none;
}

.search-main-input {
  padding-left: 44px;
  padding-right: 40px;
}

.btn-clear-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--neutral-200);
  color: var(--neutral-900);
  cursor: pointer;
  font-weight: 700;
}

.sort-select-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--neutral-700);
  white-space: nowrap;
}

.archive-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-group-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  min-width: 92px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 1;
}

.filter-chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--neutral-300);
  background: var(--neutral-50);
  color: var(--neutral-900);
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.filter-chip.is-active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
}

.archive-status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--neutral-100);
  font-size: 0.9rem;
  color: var(--neutral-700);
}

.btn-link-reset {
  background: none;
  border: none;
  color: var(--red-primary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

/* Grid de Publicações */
.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.pub-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-border);
}

.pub-card.is-featured {
  border-top: 4px solid var(--red-primary);
}

.pub-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.pub-num-badge {
  font-weight: 800;
  color: var(--red-primary);
  background: var(--red-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.pub-date-read {
  color: var(--neutral-500);
  font-weight: 600;
}

.pub-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.32;
  margin: 0 0 10px;
}

.pub-card-title button {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: var(--neutral-900);
  cursor: pointer;
}

.pub-card-title button:hover {
  color: var(--red-primary);
}

.pub-card-excerpt {
  margin: 0 0 16px;
  font-size: 0.93rem;
  color: var(--neutral-700);
  line-height: 1.56;
}

mark.search-hit {
  background: #ffe066;
  color: var(--neutral-900);
  padding: 0 2px;
  border-radius: 2px;
}

.pub-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.pub-axis-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--neutral-700);
  background: var(--neutral-100);
  padding: 3px 8px;
  border-radius: 4px;
}

.pub-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--neutral-100);
  margin-top: auto;
}

.btn-read-pub {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--white);
  background: var(--red-primary);
  border: none;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.btn-read-pub:hover {
  background: var(--red-dark);
}

.btn-quick-copy {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neutral-700);
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-quick-copy:hover {
  color: var(--red-primary);
  border-color: var(--red-primary);
}

.empty-state-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 54px 24px;
  background: var(--white);
  border: 2px dashed var(--neutral-300);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   MODO LEITURA DEDICADO (MODAL EDITORIAL SEM DISTRAÇÕES)
   ========================================================================== */
.reader-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(15, 18, 22, 0.78);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.reader-progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1500;
  background: rgba(255, 255, 255, 0.2);
}

.reader-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--red-vivid);
  transition: width 0.08s linear;
}

.reader-shell {
  width: 100%;
  max-width: 920px;
  background: var(--white);
  color: var(--neutral-900);
  display: flex;
  flex-direction: column;
  height: 100vh;
  box-shadow: var(--shadow-lg);
}

.reader-shell[data-reader-theme="sepia"] {
  background: #fbf6ec;
  color: #282119;
}

.reader-shell[data-reader-theme="dark"] {
  background: #14171c;
  color: #f1f3f6;
}

.reader-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--neutral-200);
  background: inherit;
  flex-shrink: 0;
}

.reader-shell[data-reader-theme="dark"] .reader-topbar {
  border-bottom-color: #2c323c;
}

.reader-brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 800;
}

.reader-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.reader-font-btns,
.reader-theme-btns {
  display: inline-flex;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.reader-ctrl-btn {
  padding: 6px 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  background: transparent;
  color: inherit;
  border: none;
  border-right: 1px solid var(--neutral-300);
  cursor: pointer;
}

.reader-ctrl-btn:last-child {
  border-right: none;
}

.reader-ctrl-btn.is-active,
.reader-ctrl-btn:hover {
  background: var(--red-primary);
  color: var(--white);
}

.reader-print-btn {
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
}

.reader-close-btn {
  padding: 7px 14px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  background: var(--red-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.reader-close-btn:hover {
  background: var(--red-dark);
}

.reader-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 40px 28px 64px;
}

.reader-article {
  max-width: 700px;
  margin: 0 auto;
}

.reader-article-header {
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--red-primary);
}

.reader-meta-top {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--red-primary);
  margin-bottom: 8px;
}

.reader-shell[data-reader-theme="dark"] .reader-meta-top {
  color: #ff6b81;
}

.reader-article-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  color: inherit;
  margin-bottom: 14px;
}

.reader-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.reader-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(200, 16, 46, 0.06);
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: var(--radius-sm);
}

.share-label {
  font-size: 0.84rem;
  font-weight: 700;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}

.share-wa {
  background: #128c4b;
}

.share-wa:hover {
  background: #0d6e3a;
  color: var(--white);
}

.share-x {
  background: #14171c;
}

.share-x:hover {
  background: #000000;
  color: var(--white);
}

.share-copy {
  background: var(--red-primary);
}

.share-copy:hover {
  background: var(--red-dark);
}

.reader-body {
  font-family: var(--font-serif);
  font-size: var(--reader-font-size);
  line-height: 1.82;
}

.reader-body p {
  margin: 0 0 1.35rem;
}

.reader-body .reader-subheading {
  font-family: var(--font-sans);
  font-size: 1.25em;
  font-weight: 800;
  margin: 2rem 0 0.85rem;
  color: inherit;
}

.reader-body .reader-lead-standfirst {
  font-family: var(--font-sans);
  font-size: 1.08em;
  font-weight: 600;
  opacity: 0.9;
  padding-left: 16px;
  border-left: 4px solid var(--red-primary);
  margin-bottom: 1.7rem;
}

.reader-article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--neutral-300);
}

.reader-principles-box {
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.reader-original-ref {
  font-size: 0.82rem;
  opacity: 0.78;
  margin: 14px 0 24px;
  word-break: break-all;
}

.reader-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.reader-nav-card {
  text-align: left;
  padding: 16px;
  background: rgba(128, 128, 128, 0.08);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color var(--transition);
}

.reader-nav-card:hover:not(:disabled) {
  border-color: var(--red-primary);
}

.reader-nav-card:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.reader-nav-next {
  text-align: right;
}

.nav-dir {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--red-primary);
}

.reader-shell[data-reader-theme="dark"] .nav-dir {
  color: #ff6b81;
}

.nav-pub-title {
  font-size: 0.92rem;
  line-height: 1.35;
}

/* ==========================================================================
   FRENTE 6: CONTATO, NEWSLETTER & RODAPÉ
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: start;
}

.contact-form-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-top: 5px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-form-card.is-highlighted {
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.22), var(--shadow-md);
}

.form-mode-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  background: var(--white);
  padding: 6px;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
}

.form-mode-btn {
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--neutral-700);
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.form-mode-btn:hover {
  color: var(--red-primary);
  background: var(--red-soft);
}

.form-mode-btn.is-active {
  background: var(--red-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.contextual-fields-box {
  background: var(--white);
  border: 1px solid var(--red-border);
  border-left: 4px solid var(--red-primary);
  border-radius: var(--radius-sm);
  padding: 16px 16px 4px;
  margin-bottom: 16px;
}

.submission-success-card {
  background: var(--white);
  border: 2px solid #128c4b;
  border-radius: var(--radius-md);
  padding: 26px;
  margin-top: 12px;
  box-shadow: var(--shadow-sm);
}

.submission-success-card.is-fallback-ready {
  border-color: var(--red-primary);
}

.submission-success-card h4 {
  font-size: 1.25rem;
  color: #0e6e3a;
  margin-bottom: 8px;
}

.submission-success-card.is-fallback-ready h4 {
  color: var(--red-primary);
}

.submission-protocol {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--neutral-100);
  color: var(--neutral-900);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.submission-summary-pre {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  white-space: pre-wrap;
  color: var(--neutral-700);
  margin: 12px 0 18px;
}

.btn[aria-busy="true"] {
  opacity: 0.78;
  cursor: wait;
}

.form-helper {
  margin: 0 0 22px;
  font-size: 0.94rem;
  color: var(--neutral-700);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.req {
  color: var(--red-primary);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  background: #e9f7ef;
  color: #0e6235;
  border: 1px solid #b7e4c7;
}

.form-feedback.is-error {
  background: var(--red-soft);
  color: var(--red-dark);
  border-color: var(--red-border);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.channel-box {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.channel-box h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.channel-box p {
  margin: 0 0 16px;
  font-size: 0.93rem;
  color: var(--neutral-700);
}

.channel-box-highlight {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  border-color: var(--red-primary);
  color: var(--white);
}

.channel-box-highlight h3,
.channel-box-highlight p {
  color: var(--white);
}

.badge-red {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--neutral-100);
  color: var(--neutral-900);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.social-pill:hover {
  background: var(--red-primary);
  color: var(--white);
}

/* Rodapé */
.site-footer {
  background: var(--neutral-900);
  color: #dcdfe6;
  border-top: 5px solid var(--red-primary);
  padding: 56px 0 32px;
}

.newsletter-band {
  background: linear-gradient(125deg, var(--red-primary) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}

.newsletter-copy h3 {
  color: var(--white);
  font-size: 1.32rem;
  margin-bottom: 6px;
}

.newsletter-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
}

.newsletter-inputs {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 10px;
}

.newsletter-feedback {
  margin: 10px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 0.8fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-mission {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: #b8c0cc;
}

.footer-nav-col h4,
.footer-social-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

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

.footer-nav-col li {
  margin-bottom: 9px;
}

.footer-nav-col a,
.footer-text-btn {
  color: #cfd5df;
  text-decoration: none;
  font-size: 0.92rem;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.footer-nav-col a:hover,
.footer-text-btn:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.footer-social-icons a:hover {
  background: var(--red-vivid);
  transform: translateY(-2px);
}

.footer-contact-mail a {
  color: #ffd6dc;
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #9ba4b2;
}

.footer-bottom p {
  margin: 0;
}

.footer-motto {
  font-weight: 700;
  color: #dcdfe6;
}

/* Modal Privacidade & Toast */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(15, 18, 22, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: var(--white);
  max-width: 580px;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.modal-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-box-header h2 {
  margin: 0;
  font-size: 1.28rem;
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: var(--neutral-900);
  color: var(--white);
  border-left: 5px solid var(--red-vivid);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1060px) {
  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .matrix-columns {
    grid-template-columns: 1fr;
  }
  .about-grid,
  .contact-grid,
  .newsletter-band {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
  .estatuto-jun2025-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }
  .header-cta,
  .search-shortcut-label {
    display: none;
  }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--red-primary);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 22px;
    display: none;
  }
  .main-nav.is-open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-link {
    padding: 12px 14px;
    font-size: 1rem;
  }
  .slide-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .area-lists-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-inputs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .section {
    padding: 58px 0;
  }
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid,
  .form-row-2,
  .form-mode-switcher,
  .reader-prev-next,
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .publications-grid,
  .timeline-track,
  .estatuto-grid {
    grid-template-columns: 1fr;
  }
  .reader-scroll-area {
    padding: 24px 18px 48px;
  }
}

/* ==========================================================================
   ESTILO DE IMPRESSÃO LIMPA (PARA IMPRIMIR QUALQUER TEXTO DO ACERVO)
   ========================================================================== */
@media print {
  body.reader-active > *:not(#reader-overlay) {
    display: none !important;
  }
  body.reader-active #reader-overlay {
    position: static !important;
    background: #ffffff !important;
    display: block !important;
  }
  body.reader-active .reader-shell {
    height: auto !important;
    max-width: 100% !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
  body.reader-active .reader-topbar,
  body.reader-active .reader-share-bar,
  body.reader-active .reader-prev-next,
  body.reader-active .reader-progress-wrap {
    display: none !important;
  }
  body.reader-active .reader-scroll-area {
    overflow: visible !important;
    padding: 0 !important;
  }
}
