/* ==========================================================================
   REVISTA ESTUDOS AFRO-ASIÁTICOS (1978–2012) — PROJETO MEMÓRIA CEAA 50 ANOS
   Design 100% sans-serif, limpo, arejado, moderno e interativo.
   Zero box-shadow. Bordas sutis. Cores institucionais:
   - Azul Marinho (#000428, #0B1021)
   - Bordô / Vinho CEAA (#8A1538, #3B020E)
   - Fundos neutros (#FFFFFF, #F8FAFC, #F1F5F9)
   - Bordas (#E2E8F0, #CBD5E1)
   ========================================================================== */

:root {
  --rev-navy: #0B1021;
  --rev-navy-light: #1E293B;
  --rev-bordeau: #8A1538;
  --rev-bordeau-light: #FDF2F4;
  --rev-bg: #FFFFFF;
  --rev-bg-alt: #F8FAFC;
  --rev-bg-subtle: #F1F5F9;
  --rev-border: #E2E8F0;
  --rev-border-subtle: #EDF2F7;
  --rev-text: #334155;
  --rev-text-muted: #64748B;
  --rev-text-light: #94A3B8;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.page-revistas-body {
  background-color: var(--rev-bg);
  color: var(--rev-text);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.rev-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rev-section {
  padding: 3rem 0 5rem;
}

.rev-section-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rev-bordeau);
  margin-bottom: 0.65rem;
}

.rev-section-title {
  font-family: var(--font-heading);
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--rev-navy);
  line-height: 1.25;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.rev-section-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--rev-text-muted);
  max-width: 760px;
  margin: 0 0 2.5rem 0;
}

/* ==========================================================================
   1. STICKY DOCK DE NAVEGAÇÃO INTERNA
   ========================================================================== */
.rev-nav-dock-wrap {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  z-index: 990;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: none;
  box-shadow: 0 4px 16px -2px rgba(11, 16, 33, 0.04);
  padding: 0.85rem 0;
  margin-top: 0;
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.site-header.scrolled ~ #main-content .rev-nav-dock-wrap,
#app-header:has(.site-header.scrolled) ~ #main-content .rev-nav-dock-wrap,
body:has(.site-header.scrolled) .rev-nav-dock-wrap,
body.scrolled-header .rev-nav-dock-wrap {
  top: 84px;
  box-shadow: 0 4px 16px -2px rgba(11, 16, 33, 0.04);
}



.rev-nav-dock {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-dock-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rev-dock-buttons::-webkit-scrollbar {
  display: none;
}

.rev-dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--rev-text-muted);
  background: var(--rev-bg-alt);
  border: 1px solid var(--rev-border);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.rev-dock-btn:hover {
  color: var(--rev-navy);
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.rev-dock-btn.is-active {
  background: var(--rev-navy);
  color: #FFFFFF;
  border-color: var(--rev-navy);
}

/* ==========================================================================
   2. SEÇÃO: APRESENTAÇÃO & TRAJETÓRIA
   ========================================================================== */

/* Cabeçalho Superior da Apresentação (Largura Total) */
.rev-intro-header {
  margin-bottom: 3.5rem;
  max-width: 100%;
}

.rev-intro-section {
  background: #FFFFFF;
}

.rev-intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.rev-prose-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--rev-text);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rev-prose-body p {
  margin: 0;
}

.rev-author-credits {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--rev-bg-alt);
  border-left: 3px solid var(--rev-bordeau);
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rev-text-muted);
  line-height: 1.6;
}

.rev-references-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  /* border-line removed */ border-top: none;
  font-size: 0.8125rem;
  color: var(--rev-text-light);
  line-height: 1.6;
}

.rev-references-box h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rev-text-muted);
  margin: 0 0 0.5rem 0;
}

/* Card Lateral de Missão / Digitalização */
.rev-mission-card {
  background: var(--rev-bg-alt);
  border: 1px solid var(--rev-border);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 145px !important;
  z-index: 20;
  box-shadow: none !important;
}

.rev-mission-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--rev-bordeau-light);
  color: var(--rev-bordeau);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-mission-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rev-bordeau);
}

.rev-mission-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rev-navy);
  line-height: 1.3;
  margin: 0;
}

.rev-mission-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rev-text);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rev-mission-text p {
  margin: 0;
}

.rev-stat-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: none;
}

.rev-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--rev-border);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
}

.rev-stat-pill strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rev-navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.rev-stat-pill span {
  font-size: 0.6875rem;
  color: var(--rev-text-muted);
  font-weight: 500;
  line-height: 1.2;
}

/* ==========================================================================
   3. SEÇÃO: ACERVO DIGITAL DAS EDIÇÕES
   ========================================================================== */
.rev-archive-section {
  background: var(--rev-bg-alt);
  border-top: none;
}

/* Barra de Filtros e Busca em Linha Única */
.rev-toolbar {
  background: #FFFFFF;
  border: 1px solid var(--rev-border);
  border-radius: 14px;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: nowrap;
}

.rev-filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.rev-filter-pills::-webkit-scrollbar {
  display: none;
}

.rev-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rev-text-muted);
  background: #FFFFFF;
  border: 1px solid var(--rev-border);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.rev-filter-pill:hover {
  color: var(--rev-navy);
  border-color: #CBD5E1;
}

.rev-filter-pill.is-active {
  background: var(--rev-navy);
  color: #FFFFFF;
  border-color: var(--rev-navy);
  font-weight: 600;
}

.rev-filter-pill .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: var(--rev-bg-subtle);
  color: var(--rev-text-muted);
}

.rev-filter-pill.is-active .badge {
  background: var(--rev-bordeau);
  color: #FFFFFF;
}

.rev-search-wrap {
  position: relative;
  width: 280px;
  max-width: 300px;
  flex-shrink: 0;
}

.rev-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rev-text-muted);
  pointer-events: none;
}

.rev-search-input {
  width: 100%;
  padding: 0.45rem 0.85rem 0.45rem 2.3rem;
  border: 1px solid var(--rev-border);
  border-radius: 9999px;
  background: var(--rev-bg-alt);
  color: var(--rev-navy);
  font-size: 0.8125rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.rev-search-input:focus {
  background: #FFFFFF;
  border-color: var(--rev-navy);
}

.rev-search-input::placeholder {
  color: var(--rev-text-muted);
  font-size: 0.8125rem;
}

/* Grid de Cards das Edições */
.rev-issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.rev-issue-card {
  background: #FFFFFF;
  border: 1px solid var(--rev-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rev-issue-card:hover {
  transform: translateY(-3px);
  border-color: var(--rev-navy);
}

.rev-issue-card.is-hidden {
  display: none !important;
}

/* Área da Capa */
.rev-card-cover-wrap {
  position: relative;
  width: 100%;
  background: #1E293B;
  aspect-ratio: 243 / 300;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.rev-issue-card:hover .rev-card-cover {
  transform: scale(1.03);
}

/* Botão de Zoom na Imagem */
.rev-zoom-trigger {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(11, 16, 33, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.rev-issue-card:hover .rev-zoom-trigger {
  opacity: 1;
}

.rev-zoom-trigger:hover {
  background: var(--rev-bordeau);
}

.rev-badge-year {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(11, 16, 33, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Conteúdo do Card */
.rev-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1rem;
}

.rev-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rev-issue-tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  background: var(--rev-bordeau-light);
  color: var(--rev-bordeau);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
}

.rev-period-text {
  font-size: 0.75rem;
  color: var(--rev-text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.rev-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--rev-navy);
  line-height: 1.4;
  margin: 0;
}

.rev-card-actions {
  padding-top: 0.75rem;
  /* border-line removed */ border-top: none;
}

.rev-btn-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--rev-bg-alt);
  color: var(--rev-navy);
  border: 1px solid var(--rev-border);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.rev-btn-pdf:hover {
  background: var(--rev-navy);
  color: #FFFFFF;
  border-color: var(--rev-navy);
}

.rev-btn-pdf svg {
  color: var(--rev-bordeau);
  transition: color 0.2s ease;
}

.rev-btn-pdf:hover svg {
  color: #FFFFFF;
}

/* Estado Vazio */
.rev-empty-state {
  padding: 4rem 1.5rem;
  text-align: center;
  background: #FFFFFF;
  border: 1px dashed var(--rev-border);
  border-radius: 12px;
  color: var(--rev-text-muted);
  font-size: 0.9375rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   4. SEÇÃO: DOSSIÊS & DOCUMENTOS OFICIAIS
   ========================================================================== */
.rev-docs-section {
  background: #FFFFFF;
  border-top: none;
}

.rev-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.25rem;
}

.rev-special-doc-card {
  background: var(--rev-bg-alt);
  border: 1px solid var(--rev-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rev-special-doc-card:hover {
  background: #FFFFFF;
  border-color: var(--rev-navy);
  transform: translateY(-2px);
}

.rev-doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--rev-border);
  color: var(--rev-bordeau);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rev-special-doc-card:hover .rev-doc-icon {
  border-color: var(--rev-bordeau);
}

.rev-doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rev-doc-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rev-text-muted);
}

.rev-doc-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rev-navy);
  line-height: 1.4;
  margin: 0;
}

.rev-doc-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rev-bordeau);
  flex-shrink: 0;
}

/* ==========================================================================
   5. LIGHTBOX MODAL PARA CAPAS
   ========================================================================== */
.rev-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.rev-lightbox.is-open {
  display: flex;
}

.rev-lightbox-content {
  position: relative;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  background: #0F172A;
  border: 1px solid #334155;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: none !important;
}

.rev-lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.rev-lightbox-close:hover {
  background: #950221;
  border-color: #950221;
}

.rev-lightbox-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #000000;
}

.rev-lightbox-caption {
  width: 100%;
  padding: 1.15rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #F1F5F9;
  text-align: center;
  background: #0F172A;
  border-top: none;
  box-sizing: border-box;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1024px) {
  .rev-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rev-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: nowrap;
  }

  .rev-search-wrap {
    width: auto;
    max-width: 360px;
    flex: 1 1 auto;
  }

  .rev-docs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .rev-special-doc-card {
    padding: 1rem 1.15rem !important;
    gap: 0.85rem !important;
  }

  .rev-doc-icon {
    width: 38px !important;
    height: 38px !important;
  }

  .rev-doc-info {
    min-width: 0 !important;
  }

  .rev-doc-title {
    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
  }

  .rev-doc-action {
    font-size: 0.72rem !important;
  }
}

@media (max-width: 640px) {
  .rev-intro-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* Cards de estatísticas um abaixo do outro apenas no celular */
  .rev-stat-pills {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .rev-intro-main-col,
  .rev-story-timeline,
  .rev-story-phase {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .rev-docs-grid {
    grid-template-columns: 1fr !important;
  }

  .rev-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .rev-filter-pills {
    flex-wrap: wrap;
  }

  .rev-search-wrap {
    width: 100%;
    max-width: 100%;
  }

  .rev-section {
    padding: 3.5rem 0;
  }

  .rev-section-title {
    font-size: 1.75rem;
  }

  .rev-issues-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .rev-section-subtitle {
    text-align: justify !important;
    text-justify: inter-word !important;
  }
}

/* Alinhamento justificado geral para o conteúdo (exceto títulos, tags e botões) */
.rev-prose-body p,
.rev-lead-para,
.rev-phase-body p,
.rev-highlight-card p,
.rev-quote-card p,
.rev-mission-text p,
.rev-references-box p {
  text-align: justify !important;
  text-justify: inter-word !important;
}



/* ==========================================================================
   CARREGAMENTO POR ETAPAS (PAGINAÇÃO DINÂMICA)
   ========================================================================== */
.rev-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

.rev-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.85rem 2rem;
  background: #FFFFFF;
  color: var(--rev-navy);
  border: 1px solid var(--rev-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.rev-load-more-btn:hover {
  background: var(--rev-bg-alt);
  border-color: var(--rev-navy);
  color: var(--rev-bordeau);
}

.rev-load-more-btn svg {
  transition: transform 0.2s ease;
}

.rev-load-more-btn:hover svg {
  transform: translateY(2px);
}


/* ==========================================================================
   APRESENTAÇÃO EDITORIAL E TRAJETÓRIA EM FASES (DESIGN AREJADO)
   ========================================================================== */
.rev-story-timeline {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.rev-story-phase {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--rev-border-subtle);
  border-left: 4px solid var(--rev-bordeau);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: none !important;
  transition: border-color 0.2s ease;
}

.rev-story-phase:hover {
  border-left-color: var(--rev-navy);
  border-color: var(--rev-border);
}

.rev-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rev-bordeau);
  background: var(--rev-bordeau-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

@media (max-width: 768px) {
  .rev-story-phase {
    padding: 1.25rem 1rem !important;
  }

  .rev-phase-badge {
    font-size: 0.6875rem !important;
    padding: 0.3rem 0.65rem !important;
    gap: 0.35rem !important;
    letter-spacing: 0.02em !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    margin-bottom: 1rem !important;
    width: fit-content !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .rev-phase-dot {
    width: 6px !important;
    height: 6px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 420px) {
  .rev-phase-badge {
    font-size: 0.625rem !important;
    padding: 0.2rem 0.5rem !important;
    gap: 0.3rem !important;
    letter-spacing: 0.01em !important;
  }
}

.rev-phase-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--rev-bordeau);
}

.rev-phase-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 0.985rem;
  line-height: 1.8;
  color: var(--rev-text);
}

.rev-lead-para {
  font-size: 1.075rem;
  font-weight: 500;
  color: var(--rev-navy);
  line-height: 1.75;
}

.rev-highlight-card {
  background: var(--rev-bg-alt);
  border: 1px solid var(--rev-border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #475569;
}

.rev-quote-card {
  background: #FAF8F5;
  border: 1px solid #EFEAE2;
  border-left: 3px solid #D97706;
  border-radius: 8px;
  padding: 1.15rem 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #334155;
  font-style: normal;
}

.rev-author-credits-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--rev-bg-subtle);
  border: 1px solid var(--rev-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.rev-credits-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rev-bordeau);
  flex-shrink: 0;
}

.rev-author-credits {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rev-navy-light);
  line-height: 1.5;
  margin: 0;
}

.rev-references-box {
  background: #FFFFFF;
  border: 1px solid var(--rev-border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.rev-refs-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--rev-bordeau);
  margin-bottom: 0.75rem;
}

.rev-refs-header h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--rev-navy);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rev-references-box p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--rev-text-muted);
  margin: 0;
  word-break: break-word;
}

/* ==========================================================================
   CONFIGURAÇÃO ROBUSTA DE STICKY PARA O BOX LATERAL (DELIMITADO NA DOBRA)
   ========================================================================== */
.rev-intro-section {
  padding-top: 4.5rem !important;
  padding-bottom: 5rem !important;
}

.rev-intro-grid {
  align-items: stretch !important;
}

.rev-intro-side-col {
  position: relative;
  height: 100% !important;
}

.rev-mission-card {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 145px !important;
  z-index: 20;
}

@media (max-width: 1024px) {
  .rev-intro-grid {
    grid-template-columns: 1fr;
  }
  .rev-mission-card {
    position: static !important;
  }
}