/* ==========================================================================
   NUVARELLIA — GLOBAL COMPOUNDING INTELLIGENCE & REGULATORY SCIENCE
   Design System de Elite: Zaira Magazine Editorial, 3D Jump-Out & LiveMotion
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;

  /* Identidade Oficial Nuvarellia */
  --color-primary: #071936;         /* Navy Profundo / Autoridade Máxima */
  --color-primary-light: #0d2856;   
  --color-royal: #0052CC;           /* Azul Royal / Ações e Links */
  --color-royal-hover: #003e99;     
  --color-accent: #00B48A;          /* Verde Esmeralda / Aprovação e Evidência */
  --color-accent-teal: #00A3C4;     /* Turquesa / Gradientes */
  --color-accent-light: #e6f8f4;
  --color-accent-border: #99e5d4;

  /* Estilo Zaira Badges de Alta Intensidade */
  --badge-alert-red: #FF4D4F;       /* Alertas Regulatórios / Ativos Suspensos / Trending */
  --badge-alert-bg: rgba(255, 77, 79, 0.12);
  --badge-royal-bg: rgba(0, 82, 204, 0.12);
  --badge-emerald-bg: rgba(0, 180, 138, 0.12);
  --badge-purple-bg: rgba(124, 58, 237, 0.12);

  /* Superfícies */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-dark: #071936;
  --bg-dark-secondary: #051329;
  --bg-dark-card: #0b2247;

  /* Tipografia */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-inverse: #F8FAFC;
  --text-inverse-muted: #94A3B8;

  /* Bordas e Sombras */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-focus: #0052CC;

  --shadow-xs: 0 1px 2px rgba(7, 25, 54, 0.04);
  --shadow-sm: 0 2px 4px rgba(7, 25, 54, 0.05);
  --shadow-md: 0 6px 12px -2px rgba(7, 25, 54, 0.07), 0 3px 6px -2px rgba(7, 25, 54, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(7, 25, 54, 0.09), 0 6px 12px -4px rgba(7, 25, 54, 0.04);
  --shadow-xl: 0 24px 38px -6px rgba(7, 25, 54, 0.12), 0 10px 18px -6px rgba(7, 25, 54, 0.05);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --max-w-container: 1260px;
  --max-w-reading: 860px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Micro-Animações */
@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 180, 138, 0.7); }
  50% { transform: scale(1.15); opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 180, 138, 0); }
}

@keyframes springJump {
  0% { transform: scale(0.65) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes tickerFade {
  0% { opacity: 0; transform: translateY(6px); }
  15% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* Barra de Progresso de Leitura */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-teal), var(--color-royal));
  background-size: 200% 100%;
  width: 0%;
  z-index: 99999;
  transition: width 0.12s ease-out;
}

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

/* ==========================================================================
   TOP BAR DINÂMICA (ESTILO ZAIRA: TRENDING TICKER + RELÓGIO & GEOLOCALIZAÇÃO)
   ========================================================================== */
.top-bar {
  background-color: var(--bg-dark-secondary);
  color: var(--text-inverse-muted);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  padding-top: 4px;
  padding-bottom: 4px;
  gap: 16px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  max-width: 55%;
}
.trending-pill-badge {
  background: var(--badge-alert-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.ticker-wrapper {
  position: relative;
  height: 22px;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-item {
  display: none;
  font-size: 0.8rem;
  color: #E2E8F0;
  font-weight: 500;
}
.ticker-item.is-visible {
  display: inline-block;
  animation: tickerFade 4.5s ease infinite;
}
.ticker-item a {
  color: #F8FAFC;
}
.ticker-item a:hover {
  color: #5EEAD4;
  text-decoration: underline;
}

/* Widget de Localização e Relógio em Tempo Real */
.live-clock-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #CBD5E1;
  white-space: nowrap;
  flex-shrink: 0;
}
.live-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  animation: livePulse 2s infinite ease-in-out;
}
.live-clock-widget .sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
}
.live-clock-widget strong {
  color: #FFFFFF;
}
.live-clock-widget .clock-digits {
  font-family: var(--font-mono);
  color: #5EEAD4;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   HEADER PRINCIPAL
   ========================================================================== */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
}
.brand-logo img {
  height: 48px;
  width: auto;
  transition: filter 0.3s ease;
}
.brand-logo:hover img {
  filter: drop-shadow(0 2px 8px rgba(0, 82, 204, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 4px;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--color-royal);
}
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-royal));
  border-radius: 2px;
}

.header-search {
  position: relative;
}
.header-search input {
  padding: 8px 16px 8px 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-page);
  font-size: 0.85rem;
  width: 190px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background 0.2s ease;
}
.header-search input:focus {
  outline: none;
  width: 260px;
  border-color: var(--color-royal);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}
.header-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: var(--text-muted);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary {
  background-color: var(--color-royal);
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: var(--color-royal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 82, 204, 0.25);
}
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #009b76 100%);
  color: #FFFFFF;
}
.btn-accent:hover {
  background: linear-gradient(135deg, #009b76 0%, #008767 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 180, 138, 0.3);
}
.btn-outline {
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--text-primary);
}
.btn-outline:hover {
  background-color: #F1F5F9;
  border-color: var(--color-royal);
  color: var(--color-royal);
}

/* ==========================================================================
   HERO MAGAZINE 4-COLUMN GRID (ESTILO ZAIRA)
   ========================================================================== */
.zaira-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 32px 0 45px;
}
.zaira-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  position: relative;
}
.zaira-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 82, 204, 0.35);
}
.zaira-card-media {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  background-color: var(--color-primary);
}
.zaira-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.zaira-card:hover .zaira-card-media img {
  transform: scale(1.06);
}
.zaira-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.badge-red { background: #FF4D4F; color: #FFFFFF; }
.badge-blue { background: #0052CC; color: #FFFFFF; }
.badge-emerald { background: #00B48A; color: #FFFFFF; }
.badge-purple { background: #7C3AED; color: #FFFFFF; }

.zaira-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.zaira-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.zaira-card-title a:hover {
  color: var(--color-royal);
}
.zaira-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

/* ==========================================================================
   PÍLULAS VISUAIS DE CATEGORIAS ("EXCITING CATEGORIES / ESPECIALIDADES")
   ========================================================================== */
.zaira-categories-strip {
  margin: 40px 0 50px;
}
.zaira-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 12px;
}
.zaira-section-heading h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}
.zaira-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.zaira-pill-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.zaira-pill-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-royal);
  box-shadow: 0 8px 20px rgba(7, 25, 54, 0.08);
  background: #F8FAFC;
}
.zaira-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.zaira-pill-card:hover .zaira-pill-icon {
  transform: scale(1.08);
}
.zaira-pill-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .zaira-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .zaira-pills-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TODAY'S SPOTLIGHT & TOP STORIES (LAYOUT COM SIDEBAR)
   ========================================================================== */
.zaira-spotlight-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 34px;
  margin: 45px 0 60px;
}
.spotlight-lead-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.spotlight-lead-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.spotlight-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background-color: var(--color-primary);
}
.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.spotlight-lead-card:hover .spotlight-media img {
  transform: scale(1.04);
}
.spotlight-body {
  padding: 28px;
}
.spotlight-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 10px 0 12px;
}
.spotlight-summary {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Sidebar "Top Stories" */
.zaira-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.top-stories-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}
.top-stories-box h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-story-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.top-story-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.top-story-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-royal);
  line-height: 1;
  width: 24px;
  flex-shrink: 0;
}
.top-story-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-primary);
}
.top-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-story-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}
.top-story-title:hover {
  color: var(--color-royal);
}

/* Daily Newsletter Card (Estilo Zaira Dark Navy) */
.zaira-newsletter-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d2856 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.zaira-newsletter-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.zaira-newsletter-card p {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 16px;
}
.zaira-newsletter-card input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 0.9rem;
  margin-bottom: 10px;
  outline: none;
}
.zaira-newsletter-card input[type="email"]:focus {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--color-royal);
}
.zaira-newsletter-card button {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--color-royal);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.zaira-newsletter-card button:hover {
  background: var(--color-accent);
}

/* ==========================================================================
   BANNER HORIZONTAL NATIVO (ADSENSE & B2B SPONSOR ZERO CLS)
   ========================================================================== */
.zaira-native-banner {
  margin: 40px auto;
  max-width: 980px;
  min-height: 90px;
  background: #F1F5F9;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.zaira-native-banner .banner-tag {
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 0.65rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   DESIGN INTERNO DE ARTIGO (REVISTA CIENTÍFICA / DROP CAP / CHECKLISTS)
   ========================================================================== */
.article-reading-container {
  max-width: var(--max-w-reading);
  margin: 30px auto 70px;
  padding: 0 20px;
}
.article-headline {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary);
  margin: 12px 0 18px;
  letter-spacing: -0.02em;
}
.article-deck {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Drop Cap (Capitular Gigante Estilizada Estilo Revista Zaira) */
.article-prose p:first-of-type::first-letter,
.drop-cap::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-royal);
  margin: 6px 14px 4px 0;
  text-transform: uppercase;
}

/* Blockquote de Revista */
.article-prose blockquote {
  border-left: 4px solid var(--color-royal);
  padding: 20px 28px;
  background-color: #F0F7FF;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 35px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #1E3A8A;
  position: relative;
}
.article-prose blockquote::before {
  content: '“';
  font-size: 3.5rem;
  line-height: 1;
  position: absolute;
  top: 6px;
  left: 8px;
  color: rgba(0, 82, 204, 0.15);
  font-family: Georgia, serif;
}

/* Checklists Estilo Revista */
.checklist-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 30px 0;
  box-shadow: var(--shadow-xs);
}
.checklist-box h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.checklist-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist-box li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.checklist-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 800;
}

/* ==========================================================================
   SISTEMA 3D JUMP-OUT LIGHTBOX (IMAGENS QUE SALTAM NA TELA)
   ========================================================================== */
.jumpout-trigger {
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.jumpout-trigger:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 28px rgba(7, 25, 54, 0.18);
}

.jumpout-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 25, 54, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  padding: 24px;
}
.jumpout-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.jumpout-modal-container {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: scale(0.65) translateY(40px);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.jumpout-modal-backdrop.is-active .jumpout-modal-container {
  transform: scale(1) translateY(0);
}

.jumpout-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 25, 54, 0.7);
  color: #FFFFFF;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.jumpout-close-btn:hover {
  background: var(--color-royal);
}

.jumpout-image-wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #051329;
  max-height: 70vh;
}
.jumpout-modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
}

.jumpout-modal-footer {
  padding: 18px 24px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.jumpout-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-royal);
  letter-spacing: 0.08em;
}
.jumpout-modal-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2px;
}
.jumpout-modal-stamp {
  font-size: 0.78rem;
  color: #64748B;
  text-align: right;
  line-height: 1.4;
  white-space: nowrap;
}

/* ==========================================================================
   RODAPÉ GLOBAL
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #94A3B8;
  padding: 65px 0 32px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 360px;
  color: #CBD5E1;
}
.footer-col h4 {
  color: #F8FAFC;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #FFFFFF;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

/* Responsividade Mobile */
@media (max-width: 1080px) {
  .zaira-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .zaira-pills-grid { grid-template-columns: repeat(3, 1fr); }
  .zaira-spotlight-layout { grid-template-columns: 1fr; }
  .top-bar-left { max-width: 40%; }
}

@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  .top-bar-left { max-width: 100%; }
  .live-clock-widget { font-size: 0.72rem; flex-wrap: wrap; }
  .jurisdiction-tag, .jurisdiction-sep { display: none; }
  .zaira-hero-grid { grid-template-columns: 1fr; }
  .zaira-pills-grid { grid-template-columns: repeat(2, 1fr); }
  .header-main { height: 68px; }
  .nav-menu { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .jumpout-modal-footer { flex-direction: column; align-items: flex-start; }
  .jumpout-modal-stamp { text-align: left; }
}

/* ==========================================================================
   CARROSSEL HERO DINÂMICO (5 SLIDES / 7000ms AUTOPLAY)
   ========================================================================== */
.nv-hero-carousel-section {
  margin: 18px 0 28px;
}

.nv-hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px -10px rgba(7, 25, 54, 0.28);
  min-height: 420px;
  background: var(--bg-dark);
}

.nv-carousel-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-royal) 0%, var(--color-accent) 100%);
  z-index: 10;
  transition: width 0.1s linear;
}

.nv-carousel-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
}

.nv-carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #FFFFFF;
}

.nv-slide-overlay-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}

.nv-slide-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.nv-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.nv-slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 16px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.nv-slide-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  line-height: 1.6;
  color: #E2E8F0;
  margin: 0 0 28px;
  max-width: 780px;
}

.nv-slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-nv-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--color-accent);
  color: #040D1E;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 180, 138, 0.35);
  transition: all 0.2s ease;
}

.btn-nv-primary:hover {
  background: #00d9a6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 138, 0.45);
}

.btn-nv-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-nv-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
}

/* Setas de Navegação */
.nv-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 25, 54, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.nv-carousel-arrow:hover {
  background: var(--color-royal);
  border-color: var(--color-royal);
  transform: translateY(-50%) scale(1.08);
}

.nv-carousel-prev { left: 18px; }
.nv-carousel-next { right: 18px; }

/* Controles de Pontos (Dots) */
.nv-carousel-controls {
  position: absolute;
  bottom: 22px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 8;
}

.nv-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nv-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nv-dot.active {
  width: 32px;
  background: var(--color-accent);
}

.nv-carousel-counter {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

/* ==========================================================================
   OTIMIZAÇÃO DE UI/UX: CAPAS COMPACTAS E IMAGENS INTERNAS DOS ARTIGOS
   ========================================================================== */
/* Capa do Artigo Compacta (Proibido Banners Gigantes) */
.article-featured-image {
  max-width: 820px;
  margin: 20px auto 30px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px -6px rgba(7, 25, 54, 0.12);
  background: #040D1E;
}

.article-featured-image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-featured-image:hover img {
  transform: scale(1.015);
}

/* Imagens Internas dos Artigos (Formato Revista Científica 600px - 700px) */
.article-prose img {
  max-width: min(650px, 100%);
  max-height: 480px;
  width: auto;
  height: auto;
  margin: 32px auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px -2px rgba(7, 25, 54, 0.08);
  cursor: zoom-in;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.article-prose img:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 10px 28px -4px rgba(0, 82, 204, 0.25);
  border-color: var(--color-royal);
}

.article-prose figure {
  max-width: 680px;
  margin: 34px auto;
  text-align: center;
}

.article-prose figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

@media (max-width: 768px) {
  .nv-carousel-slide { padding: 40px 24px; min-height: 380px; }
  .nv-carousel-arrow { display: none; }
  .nv-carousel-controls { right: 20px; bottom: 16px; }
  .article-featured-image img { max-height: 240px; }
  .article-prose img { max-width: 100%; margin: 20px auto; }
}

/* ==========================================================================
   ACERVO CIENTÍFICO: GRID RESPONSIVO & DESIGN SYSTEM DE CARDS (P0 UX FIX)
   Prevenção contra 'Capa Gigante' e alinhamento editorial de alta autoridade
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 28px 0 50px;
  width: 100%;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  height: 100%;
  position: relative;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-royal);
}

.article-card .card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  overflow: hidden;
  background: #071936;
  display: block;
}

.article-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.article-card:hover .card-media img {
  transform: scale(1.05);
}

.article-card .card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card .card-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.article-card .kicker {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-royal);
  margin-bottom: 0;
}

.jurisdiction-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
  text-transform: uppercase;
  white-space: nowrap;
}

.jurisdiction-badge.jurisdiction-br {
  background: rgba(0, 180, 138, 0.12);
  color: #007A5C;
  border-color: rgba(0, 180, 138, 0.35);
}

.jurisdiction-badge.jurisdiction-us {
  background: rgba(0, 82, 204, 0.12);
  color: #0052CC;
  border-color: rgba(0, 82, 204, 0.35);
}

.jurisdiction-badge.jurisdiction-latam {
  background: rgba(124, 58, 237, 0.12);
  color: #6D28D9;
  border-color: rgba(124, 58, 237, 0.35);
}

.jurisdiction-badge.jurisdiction-global {
  background: rgba(2, 132, 199, 0.12);
  color: #0369A1;
  border-color: rgba(2, 132, 199, 0.35);
}

.article-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
  margin: 0 0 10px;
}

.article-card .card-title a {
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .card-title a:hover {
  color: var(--color-royal);
}

.article-card .card-summary {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .meta-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

/* Responsividade Adaptativa do Acervo Científico */
@media (max-width: 1080px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
  }
}

@media (max-width: 680px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article-card .card-media {
    max-height: 200px;
  }
  .article-card .card-body {
    padding: 16px 18px 18px;
  }
  .article-card .card-title {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   HOMEPAGE 4.0 — BYOTŌNE INSPIRED SCIENTIFIC DESIGN SYSTEM
   Dark Slate Canvas (#071936), Luminous Emerald (#00B48A), High Legibility
   ========================================================================== */

.byotone-home-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* 1. HERO SECTION */
.byotone-hero {
  background: radial-gradient(circle at 50% 15%, #0d2752 0%, #071936 60%, #040d1e 100%);
  color: #FFFFFF;
  padding: 56px 0 36px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.byotone-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(0, 180, 138, 0.07) 1px, transparent 1px),
    radial-gradient(rgba(0, 82, 204, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  opacity: 0.8;
}

.byotone-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.byotone-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 180, 138, 0.12);
  border: 1px solid rgba(0, 180, 138, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34D399;
  margin-bottom: 22px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00B48A;
  box-shadow: 0 0 10px #00B48A;
  animation: pulseByotone 2s infinite ease-in-out;
}

@keyframes pulseByotone {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.byotone-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.byotone-hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: #CBD5E1;
  max-width: 780px;
  margin: 0 0 32px;
}

.byotone-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}

.btn-byotone-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #00B48A;
  color: #040D1E;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 180, 138, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-byotone-primary:hover {
  background: #00d9a6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 138, 0.5);
  color: #040D1E;
}

.btn-byotone-secondary {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-byotone-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.byotone-metrics-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 32px;
  background: rgba(7, 25, 54, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #34D399;
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

/* 2. SPOTLIGHTS SECTION */
.byotone-spotlights-section {
  padding: 60px 0;
  background: #F8FAFC;
}

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

.byotone-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-royal);
  margin-bottom: 6px;
}

.byotone-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.byotone-section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 6px 0 0;
  max-width: 600px;
}

.byotone-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-royal);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.byotone-view-all-link:hover {
  color: #003399;
  transform: translateX(3px);
}

.byotone-spotlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.byotone-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(7, 25, 54, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.byotone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(7, 25, 54, 0.12);
  border-color: var(--color-royal);
}

.byotone-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 180px;
  overflow: hidden;
  background: #071936;
  display: block;
}

.byotone-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.byotone-card:hover .byotone-card-media img {
  transform: scale(1.06);
}

.byotone-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.badge-navy { background: rgba(7, 25, 54, 0.85); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.2); }
.badge-teal { background: rgba(0, 180, 138, 0.9); color: #040D1E; border: 1px solid rgba(0,0,0,0.1); }
.badge-emerald { background: rgba(16, 185, 129, 0.9); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.2); }
.badge-blue { background: rgba(0, 82, 204, 0.88); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.2); }

.byotone-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.byotone-card-kicker {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-royal);
  margin-bottom: 6px;
}

.byotone-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
  margin: 0 0 10px;
}

.byotone-card-title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.byotone-card-title a:hover {
  color: var(--color-royal);
}

.byotone-card-summary {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.byotone-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: auto;
}

.card-read-link {
  font-weight: 700;
  color: var(--color-royal);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.card-read-link:hover {
  transform: translateX(2px);
}

/* 3. CATEGORIES SECTION */
.byotone-categories-section {
  padding: 60px 0;
  background: #FFFFFF;
}

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

.byotone-cat-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.byotone-cat-card:hover {
  background: #FFFFFF;
  border-color: var(--color-royal);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 82, 204, 0.08);
}

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

.cat-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.cat-count-pill {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  background: #EDF2F7;
  color: #4A5568;
  border-radius: var(--radius-full);
}

.cat-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 6px;
}

.cat-card-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-card-arrow {
  margin-top: auto;
  font-size: 1.1rem;
  color: var(--color-royal);
  font-weight: 700;
  align-self: flex-start;
  transition: transform 0.2s ease;
}

.byotone-cat-card:hover .cat-card-arrow {
  transform: translateX(4px);
}

/* 4. METHODOLOGY SECTION */
.byotone-methodology-section {
  padding: 60px 0;
  background: #071936;
  color: #FFFFFF;
}

.byotone-methodology-card {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.methodology-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  color: #34D399;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.methodology-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.methodology-text {
  font-size: 1rem;
  line-height: 1.65;
  color: #CBD5E1;
  max-width: 760px;
  margin: 0 auto 36px;
}

.methodology-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.method-pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.method-pillar strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #34D399;
}

.method-pillar span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #94A3B8;
}

.btn-byotone-outline {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

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

/* 5. NEWSLETTER BOX */
.byotone-newsletter-section {
  padding: 50px 0;
  background: #F1F5F9;
}

.byotone-newsletter-box {
  background: #040D1E;
  color: #FFFFFF;
  padding: 48px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(7, 25, 54, 0.2);
}

.newsletter-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  margin: 6px 0 10px;
  color: #FFFFFF;
}

.newsletter-subheading {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94A3B8;
  margin: 0;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  border-color: #00B48A;
}

.newsletter-submit-btn {
  padding: 12px 22px;
  background: #00B48A;
  color: #040D1E;
  font-family: var(--font-heading);
  font-weight: 800;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.newsletter-submit-btn:hover {
  background: #00d9a6;
}

.newsletter-legal-text {
  font-size: 0.72rem;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

/* RESPONSIVIDADE BYOTŌNE */
@media (max-width: 1080px) {
  .byotone-spotlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .byotone-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .byotone-newsletter-box {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
  }
  .methodology-pillars-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .byotone-hero {
    padding: 48px 0 40px;
  }
  .byotone-metrics-strip {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
    width: 100%;
  }
  .metric-divider {
    width: 40px;
    height: 1px;
  }
  .byotone-spotlights-grid {
    grid-template-columns: 1fr;
  }
  .byotone-categories-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
  .newsletter-submit-btn {
    width: 100%;
  }
}



/* ==========================================================================
   NUVARELLIA — EXTENSÃO 3D LIVE MOTION & RESPONSIVIDADE ULTRA-MODERNA
   ========================================================================== */

/* 1. Canvas Fundo 3D Matrix / Partículas Bio-Científicas */
#nv-canvas-3d-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
}

/* 2. Efeitos 3D Jump-Out & Hover Avançados */
.jumpout-trigger {
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.jumpout-trigger:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 82, 204, 0.22);
}

/* Modal 3D Lightbox */
.jumpout-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 13, 30, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.jumpout-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.jumpout-modal-container {
  background: #0B2247;
  border: 1px solid rgba(0, 180, 138, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 180, 138, 0.15);
  border-radius: var(--radius-xl);
  max-width: 92vw;
  max-height: 90vh;
  width: 920px;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(0.7) translateY(40px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.jumpout-modal-backdrop.is-active .jumpout-modal-container {
  transform: scale(1) translateY(0);
}

.jumpout-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.jumpout-close-btn:hover {
  background: #FF4D4F;
  transform: rotate(90deg);
}

.jumpout-image-wrapper {
  padding: 30px;
  background: #040D1E;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  max-height: 65vh;
}

.jumpout-modal-image {
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.jumpout-modal-footer {
  padding: 20px 28px;
  background: #071936;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jumpout-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #00B48A;
  background: rgba(0, 180, 138, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.jumpout-modal-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

.jumpout-modal-stamp {
  font-size: 0.8rem;
  color: #94A3B8;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 4px;
}

/* 3. Hamburger Mobile Menu & Drawer */
.mobile-nav-toggle {
  display: none;
  background: rgba(0, 82, 204, 0.12);
  border: 1px solid rgba(0, 82, 204, 0.25);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(0, 82, 204, 0.25);
}

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

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 13, 30, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  background: #071936;
  color: #FFFFFF;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer-backdrop.is-active .mobile-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-search {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-search form {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.drawer-search input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
}

.drawer-search button {
  background: transparent;
  border: none;
  padding: 0 14px;
  cursor: pointer;
}

.drawer-nav {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.drawer-link {
  padding: 12px 24px;
  color: #CBD5E1;
  font-size: 0.98rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
  color: #FFFFFF;
  background: rgba(0, 82, 204, 0.2);
  border-left-color: #00B48A;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-lang-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.drawer-lang-badge {
  text-align: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-lang-badge.active {
  background: #00B48A;
  color: #040D1E;
  border-color: #00B48A;
}

/* 4. Mobile Bottom Dock HUD (Barra inferior flutuante para smartphones) */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(7, 25, 54, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 9998;
  padding: 8px 12px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.4);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #94A3B8;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.dock-item.active, .dock-item:hover {
  color: #00B48A;
}

.dock-icon {
  width: 22px;
  height: 22px;
}

.dock-label {
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* Responsividade Adaptativa Celular & Tablet */
@media (max-width: 960px) {
  .nav-menu {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .mobile-bottom-dock {
    display: flex !important;
  }
  body {
    padding-bottom: 64px; /* Espaço para a dock bar não cobrir conteúdo */
  }
}
