/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }

/* ===== DESIGN TOKENS ===== */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --green: #059669;
  --orange: #d97706;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.15);
  --radius: .75rem;
  --radius-lg: 1.25rem;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: .6rem 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.logo-initials {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
  letter-spacing: -.5px;
}
.logo-text { font-weight: 700; font-size: 1rem; color: #fff; transition: color .2s; }
.navbar.scrolled .logo-text { color: var(--gray-900); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--gray-900); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1e40af 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 1.5rem 6rem;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  top: -100px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  bottom: -50px; left: -50px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: 40%; left: 30%;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  width: 100%;
}
.hero-avatar {
  flex-shrink: 0;
  position: relative;
  width: 200px; height: 200px;
}
.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% 200%;
  animation: spin-gradient 4s linear infinite;
}
@keyframes spin-gradient { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.avatar-inner {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.avatar-inner svg {
  width: 70%; height: 70%;
  opacity: .9;
}
.hero-pretitle {
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #93c5fd;
  margin-bottom: .5rem;
}
.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.hero-name span { color: #93c5fd; }
.hero-subtitle {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.tag {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  padding: .3rem .85rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.15);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,99,235,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,.5);
}
.btn-outline {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; padding: .75rem 1.75rem; font-size: .95rem; }
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  animation: bounce 2s infinite;
}
.scroll-down svg { width: 28px; height: 28px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  background: var(--blue-light);
  padding: .3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}
.section-header.light .section-label { background: rgba(255,255,255,.15); color: #93c5fd; }
.section-header.light .section-title { color: #fff; }

/* ===== SOBRE ===== */
.sobre { background: var(--gray-50); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.sobre-text .lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.sobre-text p { color: var(--gray-500); margin-bottom: 1rem; }
.sobre-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.badge-item:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.badge-item svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.info-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--blue-light);
}
.info-list { display: flex; flex-direction: column; gap: .85rem; }
.info-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray-600);
}
.info-list li svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.info-list a { color: var(--blue); }
.info-list a:hover { color: var(--blue-dark); text-decoration: underline; }
.idiomas { display: flex; flex-direction: column; gap: 1rem; }
.idioma { display: flex; align-items: center; gap: .75rem; }
.idioma-nome { font-size: .85rem; font-weight: 600; color: var(--gray-700); width: 80px; flex-shrink: 0; }
.idioma-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-100);
  border-radius: 50px;
  overflow: hidden;
}
.idioma-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--indigo));
  border-radius: 50px;
  transition: width 1s ease;
}
.idioma-nivel { font-size: .75rem; color: var(--gray-500); width: 90px; text-align: right; flex-shrink: 0; }

/* ===== FORMAÇÃO / TIMELINE ===== */
.formacao { background: #fff; }
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--indigo), var(--purple));
}
.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.timeline-icon svg { width: 22px; height: 22px; }
.timeline-icon.grad { background: linear-gradient(135deg, var(--blue), var(--indigo)); color: #fff; }
.timeline-icon.mestrado { background: linear-gradient(135deg, var(--indigo), var(--purple)); color: #fff; }
.timeline-icon.direito { background: linear-gradient(135deg, var(--green), #0d9488); color: #fff; }
.timeline-content {
  flex: 1;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}
.timeline-content:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.timeline-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}
.timeline-year { font-size: .85rem; font-weight: 700; color: var(--gray-500); }
.timeline-type {
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.especializ { background: #fef9c3; color: #854d0e; }
.grad-badge { background: var(--blue-light); color: var(--blue-dark); }
.mestrado-badge { background: #ede9fe; color: #5b21b6; }
.direito-badge { background: #d1fae5; color: #065f46; }
.timeline-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: .25rem; }
.timeline-inst { font-size: .9rem; color: var(--gray-500); margin-bottom: .5rem; }
.timeline-tcc { font-size: .85rem; color: var(--gray-600); }
.timeline-orient { font-size: .82rem; color: var(--gray-400); margin-top: .25rem; }

/* ===== ATUAÇÃO ===== */
.atuacao { background: var(--gray-50); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.exp-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gray-200);
  transition: background .3s;
}
.exp-card:hover::before { background: linear-gradient(90deg, var(--blue), var(--indigo)); }
.exp-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.exp-card.featured::before { background: linear-gradient(90deg, var(--blue), var(--indigo)); }
.exp-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.exp-icon svg { width: 22px; height: 22px; color: var(--blue); }
.exp-period { font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .35rem; }
.exp-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: .35rem; }
.exp-org { font-size: .9rem; color: var(--gray-500); margin-bottom: .75rem; font-weight: 500; }
.exp-content p { font-size: .9rem; color: var(--gray-600); line-height: 1.6; }
.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}
.exp-tags span {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 50px;
}

/* ===== PESQUISA ===== */
.pesquisa {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  padding: 6rem 0;
}
.pesquisa-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.pesquisa-main { display: flex; flex-direction: column; gap: 1.5rem; }
.pesquisa-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: var(--transition);
}
.pesquisa-card.primary {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}
.pesquisa-card.secondary {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.pesquisa-card:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.pesquisa-icon {
  width: 52px; height: 52px;
  background: rgba(59,130,246,.3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.pesquisa-icon svg { width: 26px; height: 26px; color: #93c5fd; }
.pesquisa-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.pesquisa-card p { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1rem; line-height: 1.7; }
.pesquisa-topics { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.pesquisa-topics li {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
}
.pesquisa-topics li::before {
  content: '▸';
  color: #60a5fa;
  font-size: .7rem;
}
.pesquisa-projetos {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.pesquisa-projetos h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.projeto-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.projeto-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.projeto-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .35rem;
}
.projeto-dot.blue { background: #60a5fa; box-shadow: 0 0 10px rgba(96,165,250,.5); }
.projeto-dot.green { background: #34d399; box-shadow: 0 0 10px rgba(52,211,153,.5); }
.projeto-dot.purple { background: #a78bfa; box-shadow: 0 0 10px rgba(167,139,250,.5); }
.projeto-dot.orange { background: #fbbf24; box-shadow: 0 0 10px rgba(251,191,36,.5); }
.projeto-info h4 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: .4rem; line-height: 1.4; }
.projeto-info p { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: .6rem; line-height: 1.5; }
.projeto-status {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ativo { background: rgba(52,211,153,.15); color: #34d399; border: 1px solid rgba(52,211,153,.3); }
.patente { background: rgba(167,139,250,.15); color: #a78bfa; border: 1px solid rgba(167,139,250,.3); }
.concluido { background: rgba(251,191,36,.15); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }

/* ===== PUBLICAÇÕES ===== */
.publicacoes { background: #fff; }
.pub-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: .5rem;
}
.pub-tab {
  background: none;
  border: none;
  padding: .6rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.pub-tab::after {
  content: '';
  position: absolute;
  bottom: -0.6rem; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  opacity: 0;
  transition: opacity .2s;
}
.pub-tab.active { color: var(--blue); background: var(--blue-light); }
.pub-tab.active::after { opacity: 1; }
.pub-tab:hover { color: var(--blue); }
.pub-content { display: none; }
.pub-content.active { display: block; }
.livros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}
.livro-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: var(--transition);
}
.livro-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.livro-ano {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  min-width: 52px;
  text-align: center;
  font-family: 'Playfair Display', serif;
}
.livro-info { flex: 1; }
.livro-info h4 { font-size: .9rem; font-weight: 600; color: var(--gray-900); margin-bottom: .2rem; line-height: 1.4; }
.livro-info p { font-size: .78rem; color: var(--gray-500); }
.livro-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}
.livro-link:hover { color: var(--blue-dark); }
.artigos-list { display: flex; flex-direction: column; gap: 0; }
.artigo-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.artigo-item:last-child { border-bottom: none; }
.artigo-year {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue);
  font-family: 'Playfair Display', serif;
  min-width: 60px;
}
.artigo-content h4 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .35rem; }
.artigo-content p { font-size: .88rem; color: var(--gray-500); margin-bottom: .25rem; }
.artigo-journal { color: var(--gray-400) !important; font-style: italic; }
.artigo-link {
  display: inline-block;
  margin-top: .5rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
}
.artigo-link:hover { color: var(--blue-dark); }
.outros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.outro-card {
  display: flex;
  gap: 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.outro-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.outro-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.patente-card .outro-icon { background: #ede9fe; color: #7c3aed; }
.preprint-card .outro-icon { background: var(--blue-light); color: var(--blue); }
.outro-icon svg { width: 22px; height: 22px; }
.outro-tipo {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue);
  margin-bottom: .5rem;
}
.outro-content h4 { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; line-height: 1.4; }
.outro-content p { font-size: .85rem; color: var(--gray-500); margin-bottom: .25rem; }
.revisor-card .outro-icon { background: #ecfdf5; color: #059669; }
.revisao-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  color: #92400e;
  font-size: .88rem;
}
.revisao-banner svg { width: 20px; height: 20px; flex-shrink: 0; color: #d97706; }
.revisao-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #fde68a;
  color: #92400e;
  border-radius: 999px;
  padding: .2rem .75rem;
  margin-bottom: .45rem;
}

/* ===== CONTATO ===== */
.contato { background: var(--gray-50); }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contato-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.contato-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contato-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contato-icon svg { width: 20px; height: 20px; color: var(--blue); }
.contato-label { font-size: .8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; }
.contato-item a, .contato-item span { font-size: .95rem; color: var(--gray-700); }
.contato-item a:hover { color: var(--blue); }
.contato-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}
.social-link svg { width: 16px; height: 16px; }
.social-link.lattes { background: #0a2d6b; color: #fff; }
.social-link.lattes:hover { background: #1e40af; }
.social-link.orcid { background: #a6ce39; color: #fff; }
.social-link.orcid:hover { background: #88a82f; }
.social-link.github { background: #24292e; color: #fff; }
.social-link.github:hover { background: #0d1117; }
.social-link.website { background: var(--blue); color: #fff; }
.social-link.website:hover { background: var(--blue-dark); }
.contato-form {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .78rem; color: var(--gray-400); margin-top: .75rem; text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.footer-brand .logo-initials { flex-shrink: 0; }
.footer-name { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .25rem; }
.footer-sub { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-links h4 { font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.back-to-top svg { width: 20px; height: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .sobre-grid,
  .pesquisa-grid,
  .contato-grid { grid-template-columns: 1fr; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-tags { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; color: #fff !important; }
  .nav-toggle { display: flex; z-index: 1001; }
  .hero { padding: 6rem 1.5rem 4rem; }
  .hero-avatar { width: 140px; height: 140px; }
  .hero-stats { flex-wrap: wrap; justify-content: space-around; gap: 1.5rem; }
  .section { padding: 4rem 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .livros-grid { grid-template-columns: 1fr; }
  .outros-grid { grid-template-columns: 1fr; }
  .sobre-badges { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contato-form { padding: 1.5rem; }
  .pub-tabs { overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 480px) {
  .timeline::before { left: 20px; }
  .timeline-icon { width: 40px; height: 40px; }
  .timeline-item { gap: 1rem; }
}
