:root {
  /* Paleta de Cores - Dark Mode Profissional */
  --bg-primary: #121212;        /* Preto Fosco - Base sólida */
  --bg-secondary: #1E1E1E;      /* Cinza Elevado - Cards/Seções */
  --accent-primary: #D2B48C;    /* Bege Areia - CTA/Botões */
  --accent-hover: #C19A6B;      /* Bege Claro - Hover/Links */
  --text-primary: #FFFFFF;      /* Branco Puro - Títulos principais */
  --text-body: #BDBDBD;         /* Cinza Claro - Corpo de texto */
  --text-secondary: #9E9E9E;    /* Cinza Médio - Textos secundários (WCAG compliant) */
  --icon-color: #F5F5F5;        /* Off-White - Ícones */
  --card-bg: #1E1E1E;           /* Cinza Elevado */
  --border-color: #2C2C2C;      /* Grafite - Bordas */
  --shadow-color: rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  overflow: hidden;
}

#text {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* Section */
.intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Background */
#background-duarte {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  z-index: -1;
}

/* Profile Card */
.profile-card {
  background: var(--card-bg);
  width: 90%;
  max-width: 440px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px var(--shadow-color);
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.profile-card header {
  padding: 40px 20px 20px;
}

.profile-card header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 0 4px var(--border-color);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.profile-card header img:hover {
  box-shadow: 0 0 0 8px var(--border-color);
  transform: scale(1.05);
}

.profile-card h1 {
  font-size: clamp(24px, 5vw, 32px);
  color: var(--text-primary);
  margin: 20px 0 5px;
  font-weight: 600;
}

.profile-card h2 {
  font-size: clamp(14px, 3vw, 18px);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 10px;
}

.profile-bio {
  padding: 20px;
  color: var(--text-body);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-bio p {
  font-size: clamp(14px, 3vw, 16px);
  line-height: 1.6;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 20px 40px;
}

.social-links a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-radius: 50%;
  text-decoration: none;
  font-size: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px);
  background: var(--accent-hover);
  color: var(--icon-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .profile-card {
    width: 95%;
    margin: 20px;
  }
  
  .profile-card header {
    padding: 30px 15px 15px;
  }
  
  .profile-card header img {
    width: 100px;
    height: 100px;
  }
  
  .social-links a {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typed.js Cursor Animation */
.typed-cursor {
  opacity: 1;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
