:root {
  --gold-color: #d4af37;
  --gold-hover: #f3cf58;
  --bg-darker: #0a0a0a;
  --bg-card: #141414;
  --text-light: #f5f5f5;
  --text-grey: #a0a0a0;
  --smooth-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   2. Cabeçalho (Header) - OTIMIZADO MOBILE-FIRST
   ========================================================================== */
.main-header {
  background: rgba(10, 10, 10, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 15px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--gold-color), #ffffff);
 -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-align: center;
}
.main-header nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.nav-link {
  color: var(--text-grey);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: var(--smooth-transition);
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--gold-color);
}

@media (min-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
  }
  .logo { font-size: 1.6rem; }
  .nav-link { font-size: 0.9rem; }
}

/* ==========================================================================
   3. Elementos da Página de Trajetória e Controle Único da Imagem
   ========================================================================== */
.container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

/* REGRA ÚNICA E DEFINITIVA PARA REDUZIR A IMAGEM */
.container img, .img-trajetoria {
  width: 100% !important;
  max-width: 280px !important; /* Trava o tamanho dela bem menor no monitor */
  height: auto !important;
  display: block !important;
  margin: 15px auto 25px auto !important;
  border-radius: 8px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Alinhamento dos textos soltos */
.container > h2 {
  text-align: center;
  border-left: none;
  padding-left: 0;
  font-size: 1.8rem;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.container > p {
  text-align: center;
  color: var(--gold-color);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Caixas de Conteúdo (Cards de Biografia) */
.content-section {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 25px;
  width: 100%; 
}

.content-section h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-left: 4px solid var(--gold-color);
  padding-left: 12px;
}

.bio-text {
  font-size: 1rem;
  color: var(--text-grey);
  margin-bottom: 15px;
  text-align: justify;
}

/* ==========================================================================
   4. Rodapé (Footer)
   ========================================================================== */
.main-footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-grey);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  width: 100%;
}
.img-trajetoria {
  width: 100% !important;
  max-width: 400px !important; /* <--- O !important força o navegador a aplicar este tamanho */
  height: auto !important;
  display: block;
  margin: 20px auto 30px auto;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.logo-dourada {
    background: linear-gradient(to right, #ffe599, #f1c232); /* Seu fundo dourado */
    color: #000000; /* Define a cor do texto como preto para dar leitura */
    font-weight: bold;
    font-size: 24px;
}