/* ==========================================================================
   COMPONENTE — TRAJETÓRIA + GALERIAS DA PÁGINA GERALDO
   Arquivo isolado para futura conversão em componente Blade/Livewire do CMS próprio.
   ========================================================================== */


/* ==========================================================================
   01. INTRODUÇÃO BIOGRÁFICA
   ========================================================================== */

.gr-page-about .gr-about-intro__grid {
  grid-template-columns:
    minmax(19rem, 0.78fr)
    minmax(0, 1.22fr);

  align-items: start;

  gap: clamp(2rem, 4.5vw, 4.75rem);
}

.gr-page-about .gr-about-intro__media {
  align-self: start;

  min-width: 0;
  margin: 0;
}

.gr-page-about .gr-about-intro__portrait {
  position: relative;
}

.gr-page-about .gr-about-intro__media img {
  display: block;

  width: 100%;
  aspect-ratio: 4 / 5;

  object-fit: cover;

  border-radius: var(--gr-radius-lg);

  box-shadow: var(--gr-shadow-lg);
}

.gr-page-about .gr-about-intro__media figcaption {
  margin-top: 0.7rem;

  color: var(--gr-muted);

  font-size: 0.72rem;
  line-height: 1.35;
}

.gr-page-about .gr-about-intro__content {
  align-content: start;

  gap: 1.53rem;
}

.gr-page-about .gr-about-intro__content > .gr-title {
  max-width: 49rem;
  margin: 0.2rem 0 0.25rem;

  font-size: clamp(2.4rem, 3.75vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.gr-page-about .gr-about-intro__content > p {
  max-width: 55rem;
  margin: 0;

  line-height: 1.53;
}

.gr-page-about .gr-about-intro__content > .gr-lead {
  margin-bottom: 0.18rem;

  font-size: clamp(1rem, 1.16vw, 1.12rem);
}

.gr-page-about .gr-editorial-quote {
  margin-top: 0.15rem;
  padding-block: 1rem;

  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.38;
}

.gr-page-about .gr-about-share {
  margin-top: 0.15rem;
}


/* ==========================================================================
   02. GALERIA BIOGRÁFICA
   Usa o modal genérico do app.js e mostra somente foto + legenda.
   ========================================================================== */

.gr-page-about .gr-about-photo-gallery {
  display: grid;
  row-gap: clamp(2rem, 3.4vw, 2.8rem);

  margin-top: clamp(2.4rem, 5vw, 4.2rem);
  padding-top: clamp(2rem, 4vw, 3.2rem);

  border-top: 1px solid rgba(12, 69, 155, 0.14);
}

.gr-page-about .gr-about-photo-gallery__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.gr-page-about .gr-about-photo-gallery__head > div {
  min-width: 0;
}

.gr-page-about .gr-about-photo-gallery__head h3 {
  margin: 0.4rem 0 0;

  color: var(--gr-blue-950);

  font-family: var(--gr-font-callout);
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  line-height: 1;
}

.gr-page-about .gr-about-photo-gallery__head p {
  max-width: 29rem;
  margin: 0;

  color: var(--gr-muted);

  font-size: 1rem;
  line-height: 1.45;
}

.gr-page-about .gr-about-photo-gallery__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gr-page-about .gr-about-photo-gallery__item {
  position: relative;
  isolation: isolate;

  min-height: 14rem;
  overflow: hidden;

  padding: 0;
  border: 0;
  border-radius: 1.2rem;

  color: var(--gr-white);
  background: var(--gr-blue-950);

  text-align: left;
  cursor: pointer;

  box-shadow: var(--gr-shadow-sm);

  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.gr-page-about .gr-about-photo-gallery__item:hover {
  transform: translateY(-3px);

  box-shadow: var(--gr-shadow-md);
}

.gr-page-about .gr-about-photo-gallery__item::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(4, 27, 77, 0.01) 32%,
      rgba(4, 27, 77, 0.86) 100%
    );
}

.gr-page-about .gr-about-photo-gallery__item img {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 420ms ease;
}

.gr-page-about .gr-about-photo-gallery__item:hover img {
  transform: scale(1.04);
}

.gr-page-about .gr-about-photo-gallery__item span {
  position: absolute;
  right: 0.9rem;
  bottom: 0.85rem;
  left: 0.9rem;
  z-index: 2;

  color: var(--gr-white);

  font-family: var(--gr-font-callout);
  font-size: 0.92rem;
  line-height: 1.08;
}

.gr-page-about .gr-about-photo-gallery__item:focus-visible {
  outline: 3px solid rgba(24, 189, 229, 0.5);
  outline-offset: 3px;
}


/* ==========================================================================
   03. SEÇÃO DA TRAJETÓRIA
   Fundo sólido e cards brancos, sem camadas translúcidas.
   ========================================================================== */

.gr-page-about .gr-history-section {
  position: relative;

  overflow: hidden;

  padding-block: clamp(3.8rem, 7vw, 6rem);

  background: var(--gr-white);
}

.gr-page-about .gr-history-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;

  margin-bottom: 1.5rem;
}

.gr-page-about .gr-history-section__head .gr-section-heading {
  max-width: 54rem;
  margin: 0;
}

.gr-page-about .gr-history-section__navigation {
  display: grid;
  justify-items: end;
  gap: 0.65rem;

  flex: 0 0 auto;
}

.gr-page-about .gr-history-section__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  color: var(--gr-muted);

  font-size: 0.76rem;
  font-weight: 700;
}

.gr-page-about .gr-history-section__controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.gr-page-about .gr-history-section__controls button {
  width: 2.8rem;
  height: 2.8rem;

  display: grid;
  place-items: center;

  border: 1px solid rgba(12, 69, 155, 0.22);
  border-radius: 50%;

  color: var(--gr-blue-900);
  background: var(--gr-white);

  cursor: pointer;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    opacity 220ms ease;
}

.gr-page-about .gr-history-section__controls button:hover:not(:disabled) {
  border-color: var(--gr-blue-900);
  color: var(--gr-white);
  background: var(--gr-blue-900);
}

.gr-page-about .gr-history-section__controls button:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.gr-page-about .gr-history-section__controls span {
  min-width: 4.5rem;

  color: var(--gr-blue-950);

  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}


/* ==========================================================================
   04. FAIXA HORIZONTAL
   Seis cards visíveis no desktop.
   ========================================================================== */

.gr-page-about .gr-history-track-viewport {
  overflow-x: auto;
  overflow-y: hidden;

  /*
   * Espaço interno para a sombra terminar antes do limite do viewport.
   * Evita a faixa cinza contínua abaixo dos cards.
   */
  margin-inline: -0.75rem;
  padding: 0.25rem 0.75rem 2rem;

  background: transparent;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}



.gr-page-about .gr-history-track-viewport::-webkit-scrollbar {
  display: none;
}

.gr-page-about .gr-history-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 4);
  gap: 1rem;

  min-width: 100%;

  background: transparent;
}

.gr-page-about .gr-history-card {
  min-width: 0;

  scroll-snap-align: start;
}

.gr-page-about .gr-history-card__open {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;
  min-height: 23.5rem;
  overflow: hidden;

  padding: 0;

  border: 0;
  border-radius: 1rem;

  color: var(--gr-blue-950);
  background: var(--gr-white);

  text-align: left;
  cursor: pointer;

  box-shadow: var(--gr-shadow-sm);

  transition:
    transform var(--gr-transition),
    box-shadow var(--gr-transition);
}

.gr-page-about .gr-history-card__open:hover {
  transform: translateY(-1px);

  box-shadow: var(--gr-shadow-sm);
}


/* Imagem acima da linha amarela */

.gr-page-about .gr-history-card__media {
  position: relative;

  display: block;
  flex: 0 0 auto;

  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;

  background: var(--gr-blue-950);
}

.gr-page-about .gr-history-card__media::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 52%,
      rgba(4, 27, 77, 0.7) 100%
    );
}

.gr-page-about .gr-history-card__media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 420ms ease;
}

.gr-page-about .gr-history-card__open:hover .gr-history-card__media img {
  transform: scale(1.04);
}

.gr-page-about .gr-history-card__action {
  position: absolute;
  right: 0.55rem;
  bottom: 0.48rem;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 0.28rem;

  color: var(--gr-white);

  font-size: 0.62rem;
  font-weight: 700;
}


/* Linha da timeline */

.gr-page-about .gr-history-card__rail {
  position: relative;

  display: block;
  flex: 0 0 auto;

  width: 100%;
  height: 0.22rem;

  background: var(--gr-yellow-500);
}

.gr-page-about .gr-history-card__rail::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 0.95rem;

  width: 0.68rem;
  height: 0.68rem;

  border: 0.14rem solid var(--gr-white);
  border-radius: 50%;

  background: var(--gr-yellow-500);

  box-shadow: 0 0 0 1px rgba(12, 69, 155, 0.08);

  transform: translateY(-50%);
}


/* Conteúdo do card */

.gr-page-about .gr-history-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;

  padding: 1rem 0.9rem 1.05rem;
}

.gr-page-about .gr-history-card__period {
  color: var(--gr-blue-700);

  font-family: var(--gr-font-badge);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gr-page-about .gr-history-card__body strong {
  color: var(--gr-blue-950);

  font-family: var(--gr-font-callout);
  font-size: clamp(1.02rem, 1.12vw, 1.18rem);
  line-height: 1.04;
}

.gr-page-about .gr-history-card__body > span:last-child {
  display: -webkit-box;
  overflow: hidden;

  color: var(--gr-muted);

  font-size: 0.8rem;
  line-height: 1.46;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.gr-page-about .gr-history-card__open:focus-visible {
  outline: 3px solid rgba(24, 189, 229, 0.48);
  outline-offset: 3px;
}




/* ==========================================================================
   05. MODAIS DE GALERIA DA PÁGINA GERALDO
   Autossuficiente: não depende do home.css.
   ========================================================================== */

.gr-page-about [data-gallery-modal],
.gr-page-about [data-history-modal] {
  overflow-y: auto;

  align-items: flex-start;
  justify-content: center;

  padding-block: 1rem;
}

.gr-page-about [data-gallery-modal].is-open,
.gr-page-about [data-history-modal].is-open {
  display: flex;
}

.gr-page-about .gr-modal--gallery {
  width: min(94vw, 72rem);
  max-height: none;
  overflow: visible;

  padding: clamp(1.15rem, 2.4vw, 1.8rem);

  border-radius: 1.5rem;
}

.gr-page-about .gr-event-gallery-modal {
  position: relative;
  isolation: isolate;

  overflow: hidden;

  width: 100%;
  height: clamp(19rem, 58vh, 36rem);
  min-height: 0;

  margin-top: 1rem;

  border-radius: 1.15rem;

  background: #eef3f8;
}

.gr-page-about .gr-event-modal__image {
  display: block;

  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;

  margin: 0;
  padding: 0;
  border: 0;

  object-fit: contain;
  object-position: center;
}

.gr-page-about .gr-event-gallery-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 5;

  width: 3rem;
  height: 3rem;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;

  color: var(--gr-white);
  background: rgba(4, 27, 77, 0.74);

  transform: translateY(-50%);

  cursor: pointer;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gr-page-about .gr-event-gallery-modal__nav:hover {
  background: var(--gr-blue-800);
}

.gr-page-about .gr-event-gallery-modal__nav--prev {
  left: 0.85rem;
}

.gr-page-about .gr-event-gallery-modal__nav--next {
  right: 0.85rem;
}

.gr-page-about .gr-event-gallery-modal__nav[hidden] {
  display: none;
}


/* Modal genérico: somente legenda da fotografia. */

.gr-page-about [data-gallery-modal] .gr-caption {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;

  border: 1px solid var(--gr-border);
  border-radius: 0.95rem;

  color: var(--gr-blue-950);
  background: var(--gr-white);

  font-family: var(--gr-font-quote);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.4;
}


/* Miniaturas do modal dos marcos. */

.gr-page-about .gr-event-gallery-modal__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 6.2rem;
  justify-content: start;
  gap: 0.6rem;

  margin: 0.75rem 0 0;

  overflow-x: auto;
  overflow-y: hidden;

  padding-bottom: 0.2rem;
}

.gr-page-about .gr-event-gallery-modal__thumbs[hidden] {
  display: none;
}

.gr-page-about .gr-event-gallery-modal__thumbs button {
  position: relative;

  width: 100%;
  height: 4.3rem;
  overflow: hidden;

  padding: 0;

  border: 2px solid transparent;
  border-radius: 0.72rem;

  background: var(--gr-surface-2);

  cursor: pointer;
}

.gr-page-about .gr-event-gallery-modal__thumbs button.is-active {
  border-color: var(--gr-yellow-500);
}

.gr-page-about .gr-event-gallery-modal__thumbs img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* ==========================================================================
   06. MODAL DOS MARCOS — FOTO, LEGENDA, CONTROLES E HISTÓRIA
   --------------------------------------------------------------------------
   A fotografia e a legenda formam uma única figura. Ao navegar pela galeria,
   somente esses dois elementos e o contador mudam. A história pertence ao
   marco selecionado e permanece fixa durante toda a navegação.
   ========================================================================== */

.gr-page-about .gr-history-modal__figure {
  margin: 0;
}

/* Legenda diretamente ligada à fotografia exibida. */
.gr-page-about .gr-history-modal__caption {
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--gr-border);
  border-radius: 0.9rem;
  background: var(--gr-white);
}

.gr-page-about .gr-history-modal__caption > span,
.gr-page-about .gr-history-modal__story > span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gr-blue-700);
  font-family: var(--gr-font-badge);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gr-page-about .gr-history-modal__caption p {
  margin: 0;
  color: var(--gr-blue-950);
  font-family: var(--gr-font-quote);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.4;
}

/* Contador e miniaturas da galeria do marco. */
.gr-page-about .gr-history-modal__gallery-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  margin-top: 0.75rem;
}

.gr-page-about .gr-history-modal__status {
  min-width: 4.5rem;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(12, 69, 155, 0.16);
  border-radius: 999px;
  color: var(--gr-blue-900);
  background: var(--gr-surface-2);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.gr-page-about
.gr-history-modal__gallery-meta
.gr-event-gallery-modal__thumbs {
  margin: 0;
}

/* História fixa do marco selecionado. */
.gr-page-about .gr-history-modal__story {
  margin-top: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--gr-border);
  border-radius: 0.95rem;
  background: var(--gr-white);
}

.gr-page-about .gr-history-modal__story div {
  display: grid;
  gap: 0.65rem;
}

.gr-page-about .gr-history-modal__story p {
  margin: 0;
  color: var(--gr-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .gr-page-about .gr-history-modal__gallery-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .gr-page-about .gr-history-modal__status {
    justify-self: start;
  }

  .gr-page-about .gr-event-gallery-modal {
    height: clamp(16rem, 48vh, 27rem);
  }
}


/* ==========================================================================
   CABEÇALHO DA HISTÓRIA + COMPARTILHAMENTO
   ========================================================================== */

.gr-page-about .gr-about-intro__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  width: 100%;
}


/* Remove a aparência de caixa herdada do compartilhamento. */

.gr-page-about
.gr-about-intro__meta
.gr-about-share {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;

  width: auto;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;
  box-shadow: none;
}


.gr-page-about
.gr-about-intro__meta
.gr-about-share strong {
  margin-right: 0.2rem;

  color: var(--gr-muted);

  font-size: 0.72rem;
  font-weight: 700;
}


.gr-page-about
.gr-about-intro__meta
.gr-about-share a,
.gr-page-about
.gr-about-intro__meta
.gr-about-share button {
  width: 2.25rem;
  height: 2.25rem;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(12, 69, 155, 0.16);
  border-radius: 50%;

  color: var(--gr-blue-800);
  background: transparent;

  cursor: pointer;
}


.gr-page-about
.gr-about-intro__meta
.gr-about-share a:hover,
.gr-page-about
.gr-about-intro__meta
.gr-about-share button:hover {
  border-color: var(--gr-blue-800);

  color: var(--gr-white);
  background: var(--gr-blue-800);
}

.gr-page-about
.gr-history-section__head
.gr-section-heading
.gr-title {
  max-width: 49rem;
  margin: 0.2rem 0 0.35rem;

  font-size: clamp(2.4rem, 3.75vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   10. SEÇÃO MEMÓRIA EM IMAGENS
   Cinza escuro moderado, sem a borda herdada da antiga composição.
   ========================================================================== */

.gr-page-about .gr-about-gallery-section {
  padding-block: clamp(4rem, 7vw, 6rem);

  color: var(--gr-white);

  background:
    var(--gr-blue-800);
}


/*
 * A galeria agora está dentro de uma section própria.
 * Remove a borda e os espaçamentos usados quando ela ficava
 * dentro da introdução biográfica.
 */

.gr-page-about
.gr-about-gallery-section
.gr-about-photo-gallery {
  margin-top: 0;
  padding-top: 0;

  border-top: 0;
}


/* Textos claros sobre o fundo cinza. */

.gr-page-about
.gr-about-gallery-section
.gr-about-photo-gallery__head h3 {
  color: var(--gr-white);
}

.gr-page-about
.gr-about-gallery-section
.gr-about-photo-gallery__head p {
  color: rgba(255, 255, 255, 0.76);
}

.gr-page-about
.gr-about-gallery-section
.gr-section-label {
  color: var(--gr-yellow-500);
}


/*
 * Mantém os cards com contraste e profundidade,
 * sem criar outra moldura em volta da galeria.
 */

.gr-page-about
.gr-about-gallery-section
.gr-about-photo-gallery__item {
  border: 0;

  box-shadow:
    0 16px 34px rgba(7, 13, 22, 0.24);
}

.gr-page-about
.gr-about-gallery-section
.gr-about-photo-gallery__item:hover {
  box-shadow:
    0 22px 42px rgba(7, 13, 22, 0.32);
}




/* ==========================================================================
   11. TRILHA DE ANOS (dot + linha conectando)
   Réplica isolada do padrão visual da Home, reescopada para .gr-page-about.
   Não compartilha seletor nem herda estilo do home.css.
   ========================================================================== */

.gr-page-about .gr-history-section .gr-history-timeline {
  position: relative;
  clip-path: inset(-10px 0 -200px 0);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0  0.75rem;
}

.gr-page-about .gr-history-section .gr-history-timeline__row {
  display: flex;
  align-items: flex-start;
}

.gr-page-about .gr-history-section .gr-history-timeline::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(4, 27, 77, 0.15);
  z-index: 0;
}

.gr-page-about .gr-history-section .gr-history-timeline__marker {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 0;
  cursor: pointer;
}

.gr-page-about .gr-history-section .gr-history-timeline__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--gr-white);
  border: 2px solid var(--gr-blue-700);
}

.gr-page-about .gr-history-section .gr-history-timeline__marker.is-active .gr-history-timeline__dot {
  background: var(--gr-blue-800);
  border-color: var(--gr-blue-800);
  box-shadow: 0 0 0 4px rgba(23, 104, 202, 0.18);
}

.gr-page-about .gr-history-section .gr-history-timeline__year {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gr-blue-700);
}

.gr-page-about .gr-history-section .gr-history-timeline__marker.is-active .gr-history-timeline__year {
  color: var(--gr-blue-800);
}

.gr-page-about .gr-history-section .gr-history-timeline__marker::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 1.5rem;
  border-left: 2px dashed rgba(4, 27, 77, 0.25);
  transform: translateX(-50%);
}

.gr-page-about .gr-history-section .gr-history-timeline__marker.is-active::after {
  border-left-color: var(--gr-blue-800);
}

@media (max-width: 640px) {
  .gr-page-about .gr-history-section .gr-history-timeline__year {
    font-size: 1rem;
  }

  .gr-page-about .gr-history-section .gr-history-timeline__marker {
    justify-content: center;
    width: 100% !important;
  }
}


/* ==========================================================================
   12. PAGINAÇÃO EM BLOCOS RETANGULARES
   Réplica do padrão visual da Home, reescopada para .gr-page-about.
   ========================================================================== */

.gr-page-about .gr-history-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  height: auto;
  overflow: visible;
  border-radius: 0;
  background: none !important;
}

.gr-page-about .gr-history-progress__segment {
  display: block;
  flex: 0 0 auto;
  width: 4.5rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(4, 27, 77, 0.25);
  background: transparent;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
}

.gr-page-about .gr-history-progress__segment.is-active {
  background: var(--gr-blue-700);
  border-color: var(--gr-blue-700);
}

@media (max-width: 640px) {
  .gr-page-about .gr-history-progress {
    display: none;
  }
}
