/* ==========================================================================
   Laboratório de Astrobiologia — IFCE Campus Acaraú
   Direção de Arte: Editorial Científico Autêntico (Nature / ESO / IFCE)
   Acessibilidade: WCAG 2.1 AA, eMAG, VLibras, Modo de Alto Contraste
   ========================================================================== */

:root,
html[data-theme="dark"],
html[data-resolved-theme="dark"] {
  color-scheme: dark;

  /* Paleta Padrão: Modo Escuro Editorial & Institucional (Cosmos Profundo, IFCE & Caatinga) */
  --bg-paper: #0B131E;
  --bg-paper-tinted: #101C2B;
  --bg-surface: #152336;
  --bg-abyss: #070D15;
  --bg-abyss-elevated: #111E2E;
  --bg-cosmos: #09121D;

  --text-primary: #F2F0EA;
  --text-secondary: #C2CDD8;
  --text-muted: #8FA0B2;
  --text-on-dark: #F4F2ED;
  --text-on-dark-muted: #B6C2CF;

  /* Cores de Acento Científico Calibradas para Escuro */
  --color-accent-bio: #2FA268;       /* Verde Institucional IFCE / Biologia */
  --color-accent-bio-light: #48C083;
  --color-accent-ochre: #D67246;     /* Terracota / Ocre Caatinga & Sol */
  --color-accent-ochre-light: #E6895F;
  --color-accent-astro: #4A8FD4;     /* Azul Oceânico / Astronômico */

  /* Bordas e Linhas Editoriais */
  --border-subtle: rgba(242, 240, 234, 0.15);
  --border-strong: rgba(242, 240, 234, 0.42);
  --border-dark-subtle: rgba(244, 242, 237, 0.16);
  --border-dark-strong: rgba(244, 242, 237, 0.38);

  /* Tipografia */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Escala e Espaçamento (Aproveitamento Amplo de Tela e Visual Orgânico) */
  --container-max: 1560px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --shadow-editorial: 0 10px 30px rgba(0, 0, 0, 0.28);
  --focus-ring: 3px solid #E6895F;
}

/* Modo Claro Editorial Científico */
html[data-theme="light"],
html[data-resolved-theme="light"] {
  color-scheme: light;

  --bg-paper: #F7F5F0;
  --bg-paper-tinted: #EFECE4;
  --bg-surface: #FFFFFF;
  --bg-abyss: #0C1622;
  --bg-abyss-elevated: #132234;
  --bg-cosmos: #0F1C2A;

  --text-primary: #141B23;
  --text-secondary: #3E4C59;
  --text-muted: #5C6B79;
  --text-on-dark: #F4F2ED;
  --text-on-dark-muted: #B6C2CF;

  --color-accent-bio: #1E6B45;
  --color-accent-bio-light: #359968;
  --color-accent-ochre: #B85630;
  --color-accent-ochre-light: #DA744C;
  --color-accent-astro: #1B4B78;

  --border-subtle: #D8D3C8;
  --border-strong: #141B23;
  --border-dark-subtle: rgba(244, 242, 237, 0.16);
  --border-dark-strong: rgba(244, 242, 237, 0.38);

  --shadow-editorial: 0 2px 8px rgba(20, 27, 35, 0.05);
  --focus-ring: 3px solid #B85630;
}

/* Fallback CSS puro para Modo Sistema caso o SO esteja em Modo Claro */
@media (prefers-color-scheme: light) {
  html[data-theme="system"]:not([data-resolved-theme="dark"]) {
    color-scheme: light;
    --bg-paper: #F7F5F0;
    --bg-paper-tinted: #EFECE4;
    --bg-surface: #FFFFFF;
    --bg-abyss: #0C1622;
    --bg-abyss-elevated: #132234;
    --bg-cosmos: #0F1C2A;
    --text-primary: #141B23;
    --text-secondary: #3E4C59;
    --text-muted: #5C6B79;
    --color-accent-bio: #1E6B45;
    --color-accent-bio-light: #359968;
    --color-accent-ochre: #B85630;
    --color-accent-ochre-light: #DA744C;
    --color-accent-astro: #1B4B78;
    --border-subtle: #D8D3C8;
    --border-strong: #141B23;
    --shadow-editorial: 0 2px 8px rgba(20, 27, 35, 0.05);
    --focus-ring: 3px solid #B85630;
  }
}

/* Escala de Fonte Controlada pela Barra de Acessibilidade */
html[data-font-scale="90"] { font-size: 92.5%; }
html[data-font-scale="100"] { font-size: 100%; }
html[data-font-scale="110"] { font-size: 108%; }
html[data-font-scale="120"] { font-size: 116%; }

/* Modo de Alto Contraste (Padrão eMAG / WCAG AAA) */
html[data-contrast="high"] {
  --bg-paper: #000000;
  --bg-paper-tinted: #0A0A0A;
  --bg-surface: #000000;
  --bg-abyss: #000000;
  --bg-abyss-elevated: #0A0A0A;
  --bg-cosmos: #000000;

  --text-primary: #FFFFFF;
  --text-secondary: #FFFF00;
  --text-muted: #E0E0E0;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #FFFF00;

  --color-accent-bio: #00FF66;
  --color-accent-bio-light: #00FF66;
  --color-accent-ochre: #FFFF00;
  --color-accent-ochre-light: #FFFF00;
  --color-accent-astro: #00FFFF;

  --border-subtle: #FFFFFF;
  --border-strong: #FFFF00;
  --border-dark-subtle: #FFFFFF;
  --border-dark-strong: #FFFF00;
  --focus-ring: 3px solid #FFFF00;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-paper);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex="0"]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

img,
svg {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container-max), 94vw);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.2vw, 2.25rem);
}

.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;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mono-inline {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* ==========================================================================
   Skip Links (Acessibilidade)
   ========================================================================== */
.skip-links {
  position: relative;
  z-index: 2000;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--bg-abyss);
  color: #FFFFFF;
  padding: 0.65rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-decoration: none;
  border: 2px solid var(--color-accent-ochre-light);
  border-radius: var(--radius-sm);
  z-index: 2001;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ==========================================================================
   Cabeçalho Principal (Linha Única Otimizada) + Botão de Barra Lateral (☰)
   ========================================================================== */
.ifce-sigla {
  background-color: var(--color-accent-bio);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.16rem 0.48rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

html[data-contrast="high"] .ifce-sigla {
  color: #000000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-paper);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-emblem {
  color: var(--text-primary);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.brand-emblem__sep {
  width: 1px;
  height: 34px;
  background-color: var(--border-strong);
  display: inline-block;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo--ifce {
  width: 31px;
  height: auto;
}

.brand-lockup:hover .brand-logo {
  transform: scale(1.04);
}

/* Alternância automática de Logo Oficial: Branca no Modo Escuro (padrão) e Preta no Modo Claro */
.brand-logo--dark {
  display: block !important;
}

.brand-logo--light {
  display: none !important;
}

html[data-resolved-theme="light"]:not([data-contrast="high"]) .brand-logo--dark {
  display: none !important;
}

html[data-resolved-theme="light"]:not([data-contrast="high"]) .brand-logo--light {
  display: block !important;
}

html[data-contrast="high"] .brand-logo--dark {
  display: block !important;
}

html[data-contrast="high"] .brand-logo--light {
  display: none !important;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-kicker {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.2;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-title--sub {
  font-weight: 400;
  font-style: italic;
  color: var(--color-accent-bio);
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.main-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.1rem;
}

.main-nav__link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.main-nav__link:hover {
  color: var(--text-primary);
  border-bottom-color: var(--color-accent-bio);
}

.main-nav__link--cta {
  background-color: var(--text-primary);
  color: var(--bg-paper);
  padding: 0.44rem 0.88rem;
  border-radius: var(--radius-sm);
  border-bottom: none;
  font-weight: 600;
}

.main-nav__link--cta:hover {
  background-color: var(--color-accent-bio);
  color: #FFFFFF;
}

html[data-contrast="high"] .main-nav__link--cta {
  border: 2px solid #FFFF00;
}

/* Botão de 3 Tracinhos (☰) que abre a Barra Lateral de Opções e Acessibilidade */
.drawer-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 40px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.drawer-toggle-btn:hover,
.drawer-toggle-btn[aria-expanded="true"] {
  background-color: var(--bg-paper-tinted);
  border-color: var(--color-accent-bio);
}

.drawer-toggle-btn__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Barra Lateral (Drawer) de Opções, Tema, Acessibilidade e Navegação
   ========================================================================== */
.options-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 9, 15, 0.62);
  backdrop-filter: blur(2px);
  z-index: 1990;
}

.options-drawer-backdrop[hidden] {
  display: none !important;
}

.options-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 92vw);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-left: 1px solid var(--border-strong);
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.45);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s ease;
}

.options-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.options-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.35rem;
  background-color: var(--bg-paper-tinted);
  border-bottom: 1px solid var(--border-subtle);
}

.options-drawer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.options-drawer__heading {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

.options-drawer__sub {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.options-drawer__close {
  width: 34px;
  height: 34px;
  background: var(--bg-paper);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.options-drawer__close:hover {
  border-color: var(--color-accent-ochre);
  color: var(--color-accent-ochre);
}

.options-drawer__body {
  padding: 1.35rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex: 1;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.drawer-section__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

.drawer-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.a11y-btn {
  background-color: var(--bg-paper);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  padding: 0.5rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.a11y-btn:hover {
  border-color: var(--color-accent-bio);
  background-color: var(--bg-paper-tinted);
}

.a11y-btn[aria-pressed="true"],
.theme-btn.is-active {
  background-color: var(--color-accent-bio);
  color: #FFFFFF;
  border-color: var(--color-accent-bio);
}

.a11y-btn--contrast[aria-pressed="true"] {
  background-color: var(--color-accent-ochre);
  color: #FFFFFF;
  border-color: var(--color-accent-ochre);
}

html[data-contrast="high"] .a11y-btn[aria-pressed="true"],
html[data-contrast="high"] .theme-btn.is-active {
  background-color: #FFFF00;
  color: #000000;
  border-color: #FFFF00;
}

.drawer-a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.drawer-font-group {
  display: inline-flex;
  gap: 0.35rem;
}

.drawer-socials {
  display: grid;
  gap: 0.55rem;
}

.drawer-social-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.85rem;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--color-accent-ochre);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.drawer-social-card:hover {
  border-color: var(--color-accent-ochre);
  background-color: var(--bg-paper-tinted);
}

.drawer-social-card .mono-tag {
  color: var(--color-accent-ochre);
  font-weight: 600;
}

.drawer-social-card small {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.drawer-nav-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.drawer-nav-link {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.drawer-nav-link:hover {
  border-color: var(--color-accent-bio);
  color: var(--color-accent-bio);
  background-color: var(--bg-paper-tinted);
}

/* ==========================================================================
   1. Apresentação (Hero Humana, Visual e Natural)
   ========================================================================== */
.hero-editorial {
  padding: 3rem 0 4.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--color-accent-bio);
  margin-bottom: 1rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-bio);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 1.35rem;
  color: var(--text-primary);
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent-ochre);
  font-weight: 400;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

/* Ícone Vetorial Oficial do Instagram */
.ig-icon {
  width: 1.08em;
  height: 1.08em;
  display: inline-block;
  vertical-align: -0.16em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-social-card strong,
.drawer-social-card .mono-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.footer-links a[href*="instagram.com"],
.contact-details a[href*="instagram.com"],
.eneastro-mini-card figcaption a[href*="instagram.com"],
.ig-photo-card__link[href*="instagram.com"],
.ig-caption-link[href*="instagram.com"] {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
}

.ig-photo-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn--primary {
  background-color: var(--color-accent-bio);
  color: #FFFFFF;
  border-color: var(--color-accent-bio);
}

.btn--primary:hover {
  background-color: var(--color-accent-bio-light);
  border-color: var(--color-accent-bio-light);
}

html[data-resolved-theme="light"] .btn--primary {
  background-color: var(--color-accent-bio);
  color: #FFFFFF;
  border-color: var(--color-accent-bio);
}

html[data-resolved-theme="light"] .btn--primary:hover {
  background-color: var(--bg-abyss);
  border-color: var(--bg-abyss);
}

html[data-contrast="high"] .btn--primary {
  background-color: #FFFF00;
  color: #000000;
  border-color: #FFFF00;
}

.btn--secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn--secondary:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-paper-tinted);
}

.btn--ochre {
  background-color: var(--color-accent-ochre);
  color: #FFFFFF;
  border-color: var(--color-accent-ochre);
}

.btn--ochre:hover {
  background-color: var(--color-accent-ochre-light);
}

html[data-contrast="high"] .btn--ochre {
  color: #000000;
}

.btn--outline-light {
  background-color: transparent;
  color: var(--text-on-dark);
  border-color: var(--border-dark-strong);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #FFFFFF;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  gap: 1.5rem;
}

.metric-cell {
  border-left: 3px solid var(--color-accent-bio);
  padding-left: 0.9rem;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0.15rem 0;
}

.metric-note {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Destaque Fotográfico Real do Grupo na Hero */
.hero-photo-showcase {
  width: 100%;
}

.hero-photo-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-editorial);
  overflow: hidden;
  margin: 0;
}

.hero-photo-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-abyss);
}

.hero-photo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-card__badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background-color: rgba(7, 13, 21, 0.85);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hero-photo-card__body {
  padding: 1.35rem 1.5rem;
}

.hero-photo-card__caption {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-photo-card__caption strong {
  color: var(--text-primary);
}

.hero-photo-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-meta-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.hero-photo-card__meta strong {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.35;
}

/* ==========================================================================
   Blocos de Seção Padrão Editorial
   ========================================================================== */
.section-block {
  padding: 5rem 0;
}

.section-block--bordered {
  border-bottom: 1px solid var(--border-subtle);
}

.section-block--tinted {
  background-color: var(--bg-paper-tinted);
  border-bottom: 1px solid var(--border-subtle);
}

.section-block--dark {
  background-color: var(--bg-abyss);
  color: var(--text-on-dark);
}

.section-block--cosmos {
  background-color: var(--bg-cosmos);
  color: var(--text-on-dark);
}

.section-header-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section-block--dark .section-header-grid,
.section-block--cosmos .section-header-grid {
  border-bottom-color: var(--border-dark-subtle);
}

.section-index {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-accent-ochre);
  margin-bottom: 0.45rem;
}

.section-block--dark .section-index,
.section-block--cosmos .section-index {
  color: var(--color-accent-ochre-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

.section-block--dark .section-lead,
.section-block--cosmos .section-lead {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   2. Pilares de Pesquisa
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--color-accent-bio);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
}

.pillar-card:nth-child(2) {
  border-top-color: var(--color-accent-astro);
}

.pillar-card:nth-child(3) {
  border-top-color: var(--color-accent-ochre);
}

.pillar-domain {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-bio);
  margin-bottom: 0.5rem;
}

.pillar-card:nth-child(3) .pillar-domain {
  color: var(--color-accent-ochre);
}

.pillar-card__title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.pillar-card__text {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pillar-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.pillar-card__tags li {
  font-size: 0.78rem;
  font-weight: 500;
  background-color: var(--bg-paper-tinted);
  color: var(--text-primary);
  padding: 0.28rem 0.68rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

/* ==========================================================================
   3. Herança LaTEB & Painel Interativo de Projetos
   ========================================================================== */
.bioinfo-workbench {
  border: 1px solid var(--border-dark-subtle);
  background-color: var(--bg-abyss-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.workbench-header {
  padding: 1.85rem 2.25rem;
  border-bottom: 1px solid var(--border-dark-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.workbench-kicker {
  color: var(--color-accent-ochre-light);
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}

.workbench-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.workbench-subtitle {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}

.workbench-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border-dark-subtle);
  background-color: rgba(0, 0, 0, 0.22);
}

.workbench-tab {
  background: transparent;
  color: var(--text-on-dark-muted);
  border: none;
  border-right: 1px solid var(--border-dark-subtle);
  border-bottom: 3px solid transparent;
  padding: 1.1rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.workbench-tab:last-child {
  border-right: none;
}

.workbench-tab:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark);
}

.workbench-tab.is-active {
  background-color: var(--bg-abyss-elevated);
  color: #FFFFFF;
  border-bottom-color: var(--color-accent-bio-light);
}

.tab-code {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-accent-bio-light);
}

.tab-name {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
}

.workbench-panel {
  padding: 2.25rem;
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.workbench-side-summary {
  background-color: rgba(7, 14, 22, 0.55);
  border: 1px solid var(--border-dark-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.sequence-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--border-dark-subtle);
  padding-top: 1rem;
  margin-top: 1.15rem;
}

.seq-stat__label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.2rem;
}

.seq-stat__val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.workbench-item-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0.45rem 0 0.9rem;
  line-height: 1.25;
}

.workbench-item-desc {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-on-dark-muted);
  margin-bottom: 0;
}

.deliverables-heading {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-accent-ochre-light);
  margin-bottom: 0.65rem;
}

.deliverables-list {
  padding-left: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-on-dark);
}

.deliverables-list li {
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   4. Pelo Nordeste e Brasil (Mapa Geográfico Real + Modal Hover + Páginas)
   ========================================================================== */
.real-map-showcase {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-editorial);
  overflow: hidden;
}

.real-map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background-color: var(--bg-paper-tinted);
  border-bottom: 1px solid var(--border-subtle);
}

.real-map-toolbar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-legend {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot--origin {
  background-color: var(--color-accent-bio);
}

.legend-dot--dest {
  background-color: var(--color-accent-ochre);
}

.real-map-toolbar__controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.map-toolbar-sep {
  width: 1px;
  height: 22px;
  background-color: var(--border-subtle);
  margin: 0 0.2rem;
}

.map-view-btn {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.42rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.map-satellite-btn {
  border-color: var(--color-accent-ochre);
}

.map-satellite-btn.is-active {
  background-color: var(--color-accent-ochre) !important;
  border-color: var(--color-accent-ochre) !important;
  color: #FFFFFF !important;
}

.map-view-btn:hover {
  border-color: var(--border-strong);
}

.map-view-btn.is-active {
  background-color: var(--color-accent-bio);
  color: #FFFFFF;
  border-color: var(--color-accent-bio);
}

html[data-resolved-theme="light"] .map-view-btn.is-active {
  background-color: var(--bg-abyss);
  color: #FFFFFF;
  border-color: var(--bg-abyss);
}

html[data-contrast="high"] .map-view-btn.is-active {
  background-color: #FFFF00;
  color: #000000;
}

/* Palco do Mapa Real + Modal Flutuante */
.real-map-stage {
  position: relative;
  width: 100%;
  height: 580px;
  background-color: #CFE2EE;
  border-bottom: 1px solid var(--border-subtle);
}

.real-brazil-map {
  width: 100%;
  height: 100%;
  z-index: 1;
  font-family: var(--font-sans);
}

html[data-contrast="high"] .real-brazil-map .leaflet-tile-pane {
  filter: grayscale(100%) contrast(150%) invert(90%);
}

/* Marcadores Geográficos Customizados no Mapa Real */
.geo-pin-wrapper {
  background: transparent;
  border: none;
}

.geo-pin {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.geo-pin__pulse {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(184, 86, 48, 0.28);
  animation: geoPulse 2.2s infinite ease-out;
  pointer-events: none;
}

.geo-pin--origin .geo-pin__pulse {
  background-color: rgba(30, 107, 69, 0.32);
}

@keyframes geoPulse {
  0% { transform: scale(0.65); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}

.geo-pin__core {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-accent-ochre);
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(12, 22, 34, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background-color 0.18s ease;
  z-index: 2;
  flex-shrink: 0;
}

.geo-pin__core::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFFFFF;
}

.geo-pin--origin .geo-pin__core {
  background-color: var(--color-accent-bio);
}

.geo-pin:hover .geo-pin__core,
.geo-pin.is-hovered .geo-pin__core {
  transform: scale(1.24);
  background-color: var(--bg-abyss);
}

.geo-pin__tag {
  position: absolute;
  top: 50%;
  left: calc(100% + 7px);
  transform: translateY(-50%);
  background-color: rgba(12, 22, 34, 0.93);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2.5px 7px;
  border-radius: 3px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  transition: background-color 0.15s ease, transform 0.15s ease;
  z-index: 3;
}

.geo-pin--dir-left .geo-pin__tag {
  left: auto;
  right: calc(100% + 7px);
}

.geo-pin--origin .geo-pin__tag {
  background-color: var(--color-accent-bio);
}

.geo-pin:hover .geo-pin__tag,
.geo-pin.is-hovered .geo-pin__tag {
  background-color: var(--color-accent-ochre);
  transform: translateY(-50%) scale(1.03);
}

/* Modal Flutuante de Inspeção Geográfica (Abre no Hover de cada ponto) */
.map-hover-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 395px;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2.2rem);
  overflow-y: auto;
  background-color: var(--bg-surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 14px 32px rgba(12, 22, 34, 0.25);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.map-hover-modal.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.map-hover-modal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.map-hover-modal__badge {
  background-color: var(--bg-abyss);
  color: #FFFFFF;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-size: 0.68rem;
}

html[data-contrast="high"] .map-hover-modal__badge {
  border: 1px solid #FFFF00;
}

.map-hover-modal__close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 26px;
  height: 26px;
  border-radius: 2px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.map-hover-modal__close:hover {
  background-color: var(--bg-paper-tinted);
}

.map-hover-modal__date {
  color: var(--color-accent-ochre);
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.7rem;
}

.map-hover-modal__title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.map-hover-modal__venue {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-bio);
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-subtle);
}

.map-hover-modal__summary {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  line-height: 1.44;
}

.map-hover-modal__highlights-wrap {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--color-accent-bio);
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.75rem;
}

.map-hover-modal__subhead {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  display: block;
  font-size: 0.68rem;
}

.map-hover-modal__list {
  padding-left: 0.95rem;
  font-size: 0.78rem;
  line-height: 1.38;
  color: var(--text-secondary);
}

.map-hover-modal__list li {
  margin-bottom: 0.22rem;
}

.map-hover-modal__list li:last-child {
  margin-bottom: 0;
}

.map-hover-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-subtle);
}

.map-hover-modal__coords {
  color: var(--text-muted);
  font-size: 0.66rem;
}

.map-hover-modal__cta {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
}

/* Barra de Cartões de Acesso Direto abaixo do Mapa */
.map-QuickLinks-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background-color: var(--bg-surface);
}

.map-point-card {
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--border-subtle);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background-color 0.15s ease;
}

.map-point-card:last-child {
  border-right: none;
}

.map-point-card:hover,
.map-point-card.is-active {
  background-color: var(--bg-paper-tinted);
}

.map-point-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-point-card__loc {
  color: var(--color-accent-ochre);
  font-weight: 600;
}

.map-point-card__arrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.15s ease, color 0.15s ease;
}

.map-point-card:hover .map-point-card__arrow {
  transform: translateX(3px);
  color: var(--color-accent-ochre);
}

.map-point-card__title {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.28;
}

.map-point-card__sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Estilos das Páginas Dedicadas aos Eventos (eventos/*.html)
   ========================================================================== */
.breadcrumb-bar {
  background-color: var(--bg-paper-tinted);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-bio);
  text-decoration: none;
}

.breadcrumb-back:hover {
  text-decoration: underline;
}

.breadcrumb-trail {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.event-hero {
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.event-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.event-hero__badge {
  background-color: var(--bg-abyss);
  color: #FFFFFF;
  padding: 0.22rem 0.65rem;
  border-radius: 2px;
}

.event-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 1.15rem;
  max-width: 28ch;
}

.event-hero__lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 72ch;
}

.event-dossier-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.event-article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 2rem 0 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-subtle);
}

.event-article-body h2:first-child {
  margin-top: 0;
}

.event-article-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.event-works-list {
  display: grid;
  gap: 1.15rem;
  margin: 1.25rem 0 2rem;
}

.event-work-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--color-accent-bio);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
}

.event-work-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.event-work-item p {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.event-sidebar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: sticky;
  top: 5.75rem;
}

.venue-mini-map {
  width: 100%;
  height: 250px;
  border-bottom: 1px solid var(--border-subtle);
}

.event-sidebar-card__body {
  padding: 1.35rem;
}

.other-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* ==========================================================================
   4.5 Marco Histórico: I ENEASTRO ("Nosso 1º Evento com o Grupo Atual") & Acervo Instagram
   ========================================================================== */
.eneastro-spotlight {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--color-accent-ochre);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-bottom: 3.5rem;
  align-items: center;
}

.eneastro-spotlight__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.eneastro-badge {
  background-color: var(--bg-paper-tinted);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}

.eneastro-badge--primary {
  background-color: var(--color-accent-ochre);
  color: #FFFFFF;
  border-color: var(--color-accent-ochre);
}

.eneastro-spotlight__title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.eneastro-spotlight__text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.eneastro-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.4rem 0 1.75rem;
}

.eneastro-pillar-item {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--color-accent-bio);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
}

.eneastro-pillar-item__kicker {
  color: var(--color-accent-bio);
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.eneastro-pillar-item h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.eneastro-pillar-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.eneastro-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.eneastro-spotlight__media {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.eneastro-featured-figure {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0;
}

.eneastro-featured-figure__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-abyss);
}

.eneastro-featured-figure__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.eneastro-featured-figure:hover .eneastro-featured-figure__img-wrap img {
  transform: scale(1.02);
}

.ig-source-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(7, 13, 21, 0.86);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
  font-size: 0.66rem;
}

.eneastro-featured-figure__caption {
  padding: 1rem 1.15rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.eneastro-featured-figure__caption strong {
  color: var(--text-primary);
}

.ig-caption-link {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-ochre);
}

.eneastro-mini-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.eneastro-mini-card {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.eneastro-mini-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-abyss);
}

.eneastro-mini-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background-color: var(--bg-abyss);
}

.eneastro-mini-card figcaption {
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
}

.eneastro-mini-card figcaption .mono-tag {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.eneastro-mini-card figcaption a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}

.eneastro-mini-card figcaption a:hover {
  color: var(--color-accent-ochre);
  text-decoration: underline;
}

/* Galeria Fotográfica Indexada Direto do Instagram */
.ig-feed-block {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.ig-feed-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ig-feed-kicker {
  color: var(--color-accent-ochre);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.ig-feed-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.ig-feed-subtitle {
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 68ch;
  margin: 0;
}

.ig-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ig-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-article-body .ig-photo-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.ig-photo-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ig-photo-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.ig-photo-card[hidden] {
  display: none !important;
}

.ig-photo-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-abyss);
}

.ig-photo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ig-photo-card:hover .ig-photo-card__media img {
  transform: scale(1.03);
}

.ig-photo-card__tag {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background-color: rgba(7, 13, 21, 0.85);
  color: #FFFFFF;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  z-index: 3;
}

/* Controles de Carrossel Multi-Imagens das Publicações do Instagram */
.ig-carousel {
  position: relative;
  user-select: none;
}

.ig-carousel__counter {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background-color: rgba(7, 13, 21, 0.86);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  z-index: 4;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.ig-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(7, 13, 21, 0.82);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  padding: 0 0 2px 0;
  transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  backdrop-filter: blur(4px);
}

.ig-carousel__btn:hover,
.ig-carousel__btn:focus-visible {
  background-color: var(--color-accent-ochre);
  border-color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

.ig-carousel__btn--prev {
  left: 0.55rem;
}

.ig-carousel__btn--next {
  right: 0.55rem;
}

.ig-carousel__dots {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(7, 13, 21, 0.72);
  padding: 4px 7px;
  border-radius: 999px;
  z-index: 4;
  max-width: 48%;
  overflow: hidden;
}

.ig-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.42);
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.ig-carousel__dot.is-active {
  background-color: #FFFFFF;
  transform: scale(1.25);
}

.ig-photo-card__body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ig-photo-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.ig-photo-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.26;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.ig-photo-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.ig-photo-card__link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-accent-ochre);
  text-decoration: none;
}

.ig-photo-card__link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   5. Catálogo de Publicações e Trabalhos
   ========================================================================== */
.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.catalog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.05rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.filter-pill.is-active {
  background-color: var(--color-accent-bio);
  color: #FFFFFF;
  border-color: var(--color-accent-bio);
}

html[data-resolved-theme="light"] .filter-pill.is-active {
  background-color: var(--bg-abyss);
  color: #FFFFFF;
  border-color: var(--bg-abyss);
}

html[data-contrast="high"] .filter-pill.is-active {
  background-color: #FFFF00;
  color: #000000;
}

.catalog-search-wrap {
  flex: 1;
  min-width: 260px;
  max-width: 380px;
}

.catalog-search-input {
  width: 100%;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pub-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.65rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pub-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pub-card__cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent-bio);
  text-transform: uppercase;
}

.pub-card__venue {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pub-card__title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.pub-card__abstract {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.pub-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pub-card__location {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-accent-ochre);
  font-weight: 600;
}

.publications-empty {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   6. Clube de Astronomia (@cav.ifa)
   ========================================================================== */
.cav-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.cav-lead {
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
  margin: 1.1rem 0 2rem;
}

.cav-highlights {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.cav-feature {
  border-left: 2px solid var(--color-accent-ochre-light);
  padding-left: 1.15rem;
}

.cav-feature__num {
  color: var(--color-accent-ochre-light);
  display: block;
  margin-bottom: 0.2rem;
}

.cav-feature__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.cav-feature__desc {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.cav-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cav-logbook {
  background-color: var(--bg-abyss-elevated);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
}

.logbook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-dark-subtle);
}

.logbook-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-accent-bio-light);
}

.logbook-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.logbook-entry {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-dark-subtle);
}

.logbook-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.logbook-entry__tag {
  color: var(--color-accent-ochre-light);
  display: block;
  margin-bottom: 0.25rem;
}

.logbook-entry__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.logbook-entry__text {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.logbook-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.logbook-handle {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #FFFFFF;
  font-weight: 600;
}

/* ==========================================================================
   7. Institucional, Equipe e Contato
   ========================================================================== */
.institutional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.inst-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  border-radius: var(--radius-sm);
}

.inst-card--contact {
  border-color: var(--border-strong);
  background-color: var(--bg-paper-tinted);
}

.inst-card__kicker {
  color: var(--color-accent-bio);
  display: block;
  margin-bottom: 0.35rem;
}

.inst-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.inst-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.faculty-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.faculty-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.faculty-list strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.faculty-list span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-details {
  display: grid;
  gap: 0.85rem;
}

.contact-details dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-details dd {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Rodapé Institucional
   ========================================================================== */
.site-footer {
  background-color: var(--bg-abyss);
  color: var(--text-on-dark);
  padding: 4rem 0 2.5rem;
  border-top: 3px solid var(--color-accent-bio);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark-subtle);
}

.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.footer-ifce-img {
  width: 42px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-sep {
  width: 1px;
  height: 44px;
  background-color: var(--border-dark-strong);
  display: inline-block;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 52px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-inst-tag {
  color: var(--color-accent-bio-light);
  margin-bottom: 0.35rem;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  max-width: 50ch;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

.back-to-top {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-on-dark);
  text-decoration: none;
  border: 1px solid var(--border-dark-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
}

.back-to-top:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Widget Oficial VLibras (Gov.br) — Isolamento de CSS e Responsividade
   ========================================================================== */
div[vw] {
  z-index: 9500 !important;
}

div[vw] img,
div[vw] svg {
  max-width: none !important;
  display: inline-block !important;
}

div[vw-access-button] .access-button {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

/* ==========================================================================
   Responsividade Multi-Dispositivo (Notebooks, Tablets e Smartphones)
   ========================================================================== */

/* Notebooks compactos ou quando o usuário amplia a fonte (A+ / A++) */
@media (max-width: 1240px) {
  .main-nav {
    display: none;
  }
}

@media (max-width: 1400px) {
  html[data-font-scale="110"] .main-nav,
  html[data-font-scale="120"] .main-nav {
    display: none;
  }
}

/* Tablets em Paisagem e Telas Médias (até 1024px) */
@media (max-width: 1024px) {
  .hero-grid,
  .section-header-grid,
  .workbench-header,
  .workbench-grid,
  .eneastro-spotlight,
  .event-dossier-layout,
  .cav-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pillars-grid,
  .heritage-timeline,
  .institutional-grid,
  .other-events-grid,
  .ig-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-QuickLinks-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-point-card {
    border-bottom: 1px solid var(--border-subtle);
  }

  .publications-grid {
    grid-template-columns: 1fr;
  }

  .event-sidebar-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablets em Retrato e Celulares Grandes (até 820px) */
@media (max-width: 820px) {
  .section-block {
    padding: 3.5rem 0;
  }

  .hero-editorial {
    padding: 1.5rem 0 3rem;
  }

  .editorial-meta-strip {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 2rem;
  }

  .meta-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 0;
    padding-bottom: 0.5rem;
  }

  .meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .pillars-grid,
  .heritage-timeline,
  .institutional-grid,
  .other-events-grid,
  .hero-metrics,
  .hero-photo-card__meta,
  .workbench-tabs,
  .map-QuickLinks-bar,
  .ig-photo-grid,
  .event-article-body .ig-photo-grid,
  .eneastro-pillars-grid,
  .eneastro-mini-pair,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .workbench-header,
  .workbench-panel,
  .eneastro-spotlight {
    padding: 1.4rem;
  }

  .workbench-tab {
    border-right: none;
    border-bottom: 1px solid var(--border-dark-subtle);
  }

  .real-map-stage {
    height: 450px;
  }

  .map-hover-modal {
    top: auto;
    bottom: 0.65rem;
    right: 0.65rem;
    left: 0.65rem;
    width: auto;
    max-width: none;
    max-height: 62%;
  }

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

/* Smartphones (até 560px) */
@media (max-width: 560px) {
  .container {
    padding: 0 1rem;
  }

  .site-header__inner {
    min-height: 3.9rem;
    gap: 0.5rem;
  }

  .brand-lockup {
    gap: 0.5rem;
    min-width: 0;
  }

  .brand-emblem {
    gap: 0.35rem;
  }

  .brand-logo--ifce {
    width: 24px;
  }

  .brand-logo {
    width: 31px;
  }

  .brand-emblem__sep {
    height: 25px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-kicker {
    font-size: 0.53rem;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-title {
    font-size: clamp(0.94rem, 4.2vw, 1.14rem);
  }

  .drawer-toggle-btn {
    width: 38px;
    height: 36px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.6vw, 2.35rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .eneastro-spotlight__actions,
  .cav-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .eneastro-spotlight__actions .btn,
  .cav-cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .specimen-card__header,
  .specimen-brand-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .sequence-metrics {
    grid-template-columns: 1fr;
  }

  .real-map-toolbar {
    padding: 0.75rem 0.9rem;
  }

  .real-map-toolbar__controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .map-toolbar-sep {
    display: none;
  }

  .map-view-btn {
    text-align: center;
    justify-content: center;
  }

  .real-map-stage {
    height: 390px;
  }

  .map-hover-modal {
    padding: 0.9rem 1rem;
    max-height: 66%;
  }

  .pillar-card,
  .pub-card,
  .inst-card,
  .cav-logbook,
  .eneastro-spotlight {
    padding: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
