/* =========================================
   VARIÁVEIS GLOBAIS
   ========================================= */
:root {
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #a0a0a0;
  --accent: #EAB308;
  --bg-overlay: rgba(10, 10, 15, 0.75);
  --bg-main: #0a0a0f;
  --border-subtle: rgba(255, 255, 255, 0.1);
}

/* =========================================
   RESETS E BASE
   ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* =========================================
   COMPONENTES COMPARTILHADOS (Botões e Footer)
   ========================================= */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 4px;
  text-align: center;
}

.btn.primary {
  background-color: var(--accent);
  color: #1a1a1a;
  border: 2px solid var(--accent);
}

.btn.primary:hover {
  background-color: transparent;
  color: var(--accent);
}

.btn.secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn.secondary:hover {
  border-color: var(--text-primary);
  background-color: rgba(255,255,255,0.05);
}

.footer {
  padding: 2rem 8%;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  background-color: transparent;
}

/* =========================================
   PÁGINA INICIAL (INDEX)
   ========================================= */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/home.jpg');
  background-size: cover;
  background-position: center top;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--bg-overlay) 40%, rgba(10,10,15,0.4) 100%);
  z-index: -1;
}

.main-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 8%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.content-area {
  text-align: left;
}

.kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

h1.name {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2.role {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.specs-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.specs-list li {
  display: flex;
  align-items: center;
}

.specs-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  margin-right: 0.75rem;
  border-radius: 50%;
}

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


.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap; /* Permite que os botões pulem de linha se faltar espaço */
}

/* =========================================
   PÁGINA SOBRE (ABOUT)
   ========================================= */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 6rem 8%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.about-container {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 5rem;
  align-items: center;
}

.about-photo img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  filter: grayscale(15%) contrast(110%);
  display: block;
  margin: 0 auto;
}

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

.about-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 2.5rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

.about-text strong {
  font-weight: 600;
  color: var(--text-primary);
}

.about-actions {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
}

/* =========================================
   RESPONSIVIDADE (MOBILE E TABLETS)
   ========================================= */
@media (max-width: 960px) {
  /* Index */
  .main-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
    align-items: flex-start;
  }
  .content-area { text-align: center; }
  .specs-list { justify-content: center; }
  .cta-row { justify-content: center; flex-direction: column; }
  .overlay { background: rgba(10, 10, 15, 0.85); }
  h1.name { font-size: 3rem; }
  
  /* About */
  .page { padding: 4rem 5%; }
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-title { font-size: 2.2rem; }
  .about-text p { font-size: 1rem; text-align: left; }
  .about-actions { justify-content: center; flex-direction: column; }
  
  /* Footer */
  .footer { flex-direction: column; gap: 1rem; text-align: center; }
}