/* ==========================================
   VARIÁVEIS — DARK MODE (padrão)
   ========================================== */

:root {
  --bg-primary: #0a0a0a;
  --bg-surface: #111111;
  --bg-card: #1a1a1a;
  --bg-modal: #141414;
  --border: #2a2a2a;
  --border-light: #333333;

  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.15);

  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-muted: #555555;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.5);
  --shadow-modal: 0 24px 80px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.12);

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;

  --header-height: 60px;
  --max-width: 1100px;

  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================
   RESET E BASE
   ========================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

/* ==========================================
   HEADER
   ========================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 12px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.header-logo .logo-icon {
  font-size: 22px;
  line-height: 1;
}

.header-logo .logo-text {
  background: linear-gradient(135deg, #60a5fa, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover { color: var(--text-primary); background: var(--border); }
.nav-link.active { color: var(--accent); }

/* ==========================================
   MAIN LAYOUT
   ========================================== */

.main-content {
  padding-top: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================
   ANIMAÇÕES
   ========================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   PÁGINA SOBRE
   ========================================== */

.sobre-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.sobre-hero {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInUp 0.5s ease both;
}

.sobre-hero .globe {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
  animation: fadeInUp 0.4s ease both;
}

.sobre-hero h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text-primary) 0%, #60a5fa 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sobre-hero p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.sobre-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 14px;
  animation: fadeInUp 0.5s ease both;
  position: relative;
  overflow: hidden;
}

.sobre-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #818cf8, #c084fc);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sobre-card:hover::before {
  opacity: 1;
}

.sobre-card h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sobre-card p,
.sobre-card li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.sobre-card ul { padding-left: 20px; }
.sobre-card li::marker { color: var(--accent); }

/* Grid de integrantes */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.team-member {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.team-member:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.team-member .member-avatar {
  font-size: 28px;
  margin-bottom: 6px;
  display: block;
}

.team-member .member-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.sobre-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 22px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.sobre-back:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 12px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.site-footer a { color: var(--accent); }

/* ==========================================
   SCROLLBAR
   ========================================== */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ==========================================
   UTILITÁRIOS
   ========================================== */

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

@media (max-width: 500px) {
  .nav-link span { display: none; }
  .header-logo .logo-text { display: none; }
}
