/* Portfolio Professional CSS Stylesheet
   Design System Premium, Dark/Light Theme, Glassmorphism, Micro-animations, Mobile Friendly
   Hugo Oliveira - 2026 */

/* --- VARIÁVEIS DO SISTEMA DE DESIGN --- */
:root {
  /* Tema Escuro (Default) - Tons de Azul Corporativo Sólido baseados em #3159a6 */
  --bg-body: #0c101d; /* Fundo azul-escuro corporativo de alto padrão */
  --bg-surface: rgba(49, 89, 166, 0.12); /* Glassmorphism sutil sobre tom #3159a6 */
  --bg-surface-hover: rgba(49, 89, 166, 0.22);
  --bg-modal: #10162b;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-active: rgba(255, 255, 255, 0.22);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1; /* Mais claro para melhor legibilidade no escuro */
  --text-muted: #94a3b8;
  --text-light: #f8fafc;
  
  /* Cores de Destaque */
  --color-primary: #3159a6; /* O Azul Corporativo Elegante da capa das propostas do Hugo */
  --color-primary-rgb: 49, 89, 166;
  --color-secondary: #00CCFF; /* Azul Claro/Ciano Sólido (Liciteiro.com) */
  --color-secondary-rgb: 0, 204, 255;
  --color-success: #10b981; /* Emerald */
  --color-info: #00CCFF; /* Azul Claro */
  --color-warning: #f59e0b; /* Amber */
  --color-danger: #ef4444; /* Rose Red */
  
  /* Gradientes */
  --grad-primary: linear-gradient(135deg, #3159a6 0%, #1b3566 100%);
  --grad-secondary: linear-gradient(135deg, #00CCFF 0%, #0088cc 100%);
  --grad-hybrid: linear-gradient(135deg, #3159a6 0%, #00CCFF 100%);
  --grad-card-glow: radial-gradient(circle at top right, rgba(49, 89, 166, 0.18) 0%, transparent 60%);
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(49, 89, 166, 0.25);
  
  /* Fontes & Bordas */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Overwrite das variáveis para Tema Claro */
body.light-theme {
  --bg-body: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.7);
  --bg-surface-hover: rgba(255, 255, 255, 0.9);
  --bg-modal: #ffffff;
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glass-active: rgba(15, 23, 42, 0.2);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --grad-card-glow: radial-gradient(circle at top right, rgba(0, 51, 153, 0.05) 0%, transparent 60%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: var(--border-glass-active);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-body);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --- CLASSES AUXILIARES E LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.text-gradient {
  background: var(--grad-hybrid);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

/* --- BOTÕES PREMIUM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-primary-gradient {
  background: var(--grad-primary);
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
}
.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--color-primary-rgb), 0.5), var(--shadow-glow);
}
.btn-primary-gradient:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--border-glass-active);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-body);
  transform: translateY(-2px);
}

.btn-secondary-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-glass-active);
}
.btn-secondary-outline:hover {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.05);
  transform: translateY(-2px);
}

/* --- BARRA DE NAVEGAÇÃO --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  background: rgba(10, 13, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}
body.light-theme .navbar {
  background: rgba(248, 250, 252, 0.8);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.nav-logo .logo-icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}
.nav-logo .logo-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.nav-logo .logo-text span {
  color: var(--color-secondary);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  gap: 32px;
}
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition-smooth);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Tema Toggle Botão */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.theme-toggle-btn:hover {
  transform: scale(1.1);
  border-color: var(--color-primary);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

body.light-theme .sun-icon { display: block; }
body.light-theme .moon-icon { display: none; }

/* Menu Mobile Hamburguer */
.menu-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* Drawer Menu Mobile */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--bg-modal);
  z-index: 200;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: var(--transition-smooth);
  border-left: 1px solid var(--border-glass);
}
.mobile-menu-drawer.active {
  right: 0;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-weight: 700;
}
.drawer-logo .logo-icon { color: var(--color-primary); }
.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.drawer-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.1rem;
}
.drawer-link.highlight {
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  overflow: hidden;
}

/* Decorative Glow Orbs */
.section-overlay-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  transition: var(--transition-smooth);
}
body.light-theme .glow-orb {
  opacity: 0.12;
  filter: blur(100px);
}
.glow-orb.orange {
  top: -100px;
  right: 5%;
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
}
.glow-orb.indigo {
  bottom: -100px;
  left: 5%;
  width: 450px;
  height: 450px;
  background: var(--color-primary);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge-senior {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  border-radius: 50px;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-headings);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

/* Perfil Card (Direita do Hero) */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-avatar-card {
  width: 100%;
  max-width: 380px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.profile-avatar-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-lg);
}

.avatar-glow-ring {
  position: absolute;
  top: 25px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--grad-hybrid);
  opacity: 0.3;
  filter: blur(10px);
}

.avatar-image-container {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg-body);
  z-index: 2;
  margin-bottom: 24px;
  background: var(--bg-body);
}
.avatar-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card-details h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.profile-role {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-education {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  align-items: flex-start;
  text-align: left;
  background: rgba(var(--color-primary-rgb), 0.04);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  width: 100%;
}
.edu-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--text-primary);
  font-weight: 500;
}
.edu-item i,
.edu-item svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  stroke-width: 2.2px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  color: var(--color-primary);
}

.profile-metadata {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
  width: 100%;
  margin-bottom: 20px;
}
.meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.meta-item i {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
}

.profile-socials {
  display: flex;
  gap: 16px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.social-link:hover {
  background: var(--color-primary);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* --- SEÇÃO DE ESTATÍSTICAS (KPIS) --- */
.stats-section {
  padding: 60px 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.stat-icon.purple { background: rgba(var(--color-primary-rgb), 0.1); color: var(--color-primary); }
.stat-icon.orange { background: rgba(var(--color-secondary-rgb), 0.1); color: var(--color-secondary); }
.stat-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--color-success); }
.stat-icon.blue { background: rgba(6, 182, 212, 0.1); color: var(--color-info); }

.stat-count {
  font-family: var(--font-headings);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- SEÇÃO HEADERS PADRÃO --- */
.section-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 5;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* --- SEÇÃO EXPERTISE (PILARES) --- */
.expertise-section {
  padding: 100px 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.expertise-card {
  padding: 40px;
  transition: var(--transition-smooth);
}
.expertise-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface-hover);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon.red { background: rgba(239, 68, 68, 0.1); color: var(--color-danger); }
.card-icon.blue { background: rgba(var(--color-primary-rgb), 0.1); color: var(--color-primary); }
.card-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--color-success); }
.card-icon.purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

.expertise-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.expertise-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
}

.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}
.card-bullets li i {
  width: 16px;
  height: 16px;
  color: var(--color-success);
}

/* --- SEÇÃO DE CREDENCIAIS (CREDENTIAL HUB) --- */
.credentials-section {
  padding: 100px 0;
}

.credentials-control-panel {
  padding: 24px;
  margin-bottom: 40px;
}

.control-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.search-box {
  flex: 1;
  position: relative;
  max-width: 600px;
}
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 20px;
  height: 20px;
}
.search-box input {
  width: 100%;
  height: 52px;
  background: var(--bg-body);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0 50px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.search-box input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.15);
}

.clear-search-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}
.clear-search-btn:hover {
  color: var(--text-primary);
}

.stats-badge-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--border-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.stats-badge-compact i {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* Categorias de Filtro */
.filter-categories-container {
  overflow-x: auto;
  padding-bottom: 4px;
}
.filter-categories-container::-webkit-scrollbar {
  height: 6px;
}
.filter-categories-container::-webkit-scrollbar-thumb {
  background: var(--border-glass);
}

.filter-scroll-wrapper {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}
.filter-btn:hover {
  background: rgba(var(--color-primary-rgb), 0.05);
  border-color: var(--color-primary);
  color: var(--text-primary);
}
.filter-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.2);
}

/* Grid de Cursos */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.course-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-card-glow);
  pointer-events: none;
}
.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-md);
  background: var(--bg-surface-hover);
}

.course-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.course-card h4 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 48px;
}

.course-institution {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-institution i {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.course-card-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-card-footer i {
  width: 14px;
  height: 14px;
}

.load-more-container {
  margin-top: 40px;
}

/* --- SEÇÃO HABILIDADES --- */
.skills-section {
  padding: 100px 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.skills-column {
  padding: 40px;
}

.skills-column h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.skills-column h3 i {
  color: var(--color-primary);
}

/* Estilos das Habilidades como Tags (Opção 2) */
.skills-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  cursor: default;
}

.skill-tag-pill i {
  width: 14px;
  height: 14px;
  color: var(--color-secondary);
}

.skill-tag-pill:hover {
  background: var(--bg-surface-hover);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.15);
}

/* --- SEÇÃO DO APP ASSISTENTE --- */
.cta-app-section {
  padding: 60px 0;
}

.cta-app-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 50px;
  align-items: center;
}

.app-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-glow);
}

.cta-app-box h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta-app-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* App Mockup Rendering */
.cta-visual {
  display: flex;
  justify-content: center;
}

.app-mockup {
  width: 100%;
  max-width: 380px;
  height: 250px;
  background: #0b0d12;
  border: 1px solid var(--border-glass-active);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mockup-header {
  height: 34px;
  background: #12161f;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}
.mockup-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.mockup-header .dot:first-child { background: var(--color-danger); }
.mockup-header .mockup-title {
  margin-left: 10px;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.mockup-body {
  flex: 1;
  display: grid;
  grid-template-columns: 60px 1fr;
}
.mockup-sidebar {
  background: #0e111a;
  border-right: 1px solid rgba(255,255,255,0.03);
}
.mockup-content-area {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup-content-area .line {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}
.mockup-content-area .line.long { width: 90%; }
.mockup-content-area .line.medium { width: 70%; }
.mockup-content-area .line.short { width: 40%; }

.card-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.small-card {
  flex: 1;
  height: 48px;
  background: rgba(var(--color-primary-rgb), 0.05);
  border: 1px dashed rgba(var(--color-primary-rgb), 0.2);
  border-radius: 6px;
}

/* --- SEÇÃO CONTATO --- */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-panel {
  padding: 40px;
}

.contact-info-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-details span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}
.info-details strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.info-details strong a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.info-details strong a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.contact-form-panel {
  padding: 40px;
}

.contact-form-panel .form-group {
  margin-bottom: 20px;
}

.contact-form-panel label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-form-panel input,
.contact-form-panel textarea {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(var(--color-primary-rgb), 0.1);
}

/* --- FOOTER --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
  background: rgba(10, 13, 20, 0.95);
}
body.light-theme .footer {
  background: #f1f5f9;
}

.footer-content {
  color: var(--text-secondary);
}

.footer-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- MODAL DE DETALHES --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 13, 20, 0.8);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 10;
  background: var(--bg-modal);
  border: 1px solid var(--border-glass-active);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.modal-close:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.modal-header-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.modal-content h3 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: var(--radius-sm);
}
.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.modal-meta-item i {
  color: var(--color-primary);
}

.modal-syllabus-section {
  margin-bottom: 30px;
}
.modal-syllabus-section h5 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.modal-syllabus-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  background: var(--bg-body);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

.modal-obs-section {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-glass);
  padding-top: 16px;
}

/* --- SEÇÃO LICITEIRO.COM --- */
.liciteiro-section {
  position: relative;
  padding: 100px 0;
  background: var(--bg-body);
  overflow: hidden;
}

.liciteiro-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 204, 255, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.liciteiro-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.liciteiro-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.liciteiro-logo-card {
  position: relative;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.liciteiro-logo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card-glow);
  z-index: 1;
  pointer-events: none;
}

.liciteiro-logo-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-md), 0 0 30px rgba(0, 51, 153, 0.15);
}

/* Floating Brand Logo Container */
.liciteiro-logo-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.liciteiro-logo-img {
  width: 100%;
  height: auto;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.liciteiro-logo-img:hover {
  transform: scale(1.02);
}

.liciteiro-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 51, 153, 0.1);
  border: 1px solid rgba(0, 51, 153, 0.2);
  border-radius: 50px;
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 12px;
}

.liciteiro-badge i {
  color: var(--color-secondary);
}

.liciteiro-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.liciteiro-subtitle-strong {
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-weight: 600;
  line-height: 1.5;
}

.liciteiro-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.liciteiro-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.liciteiro-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.liciteiro-feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 51, 153, 0.1);
  border: 1px solid rgba(0, 51, 153, 0.2);
  color: var(--color-primary);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

body.light-theme .liciteiro-feature-icon {
  background: rgba(0, 51, 153, 0.05);
  color: var(--color-primary);
}

.liciteiro-feature-item:hover .liciteiro-feature-icon {
  background: var(--grad-primary);
  color: var(--text-light);
  transform: scale(1.05);
}

.liciteiro-feature-text h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.liciteiro-feature-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- RESPONSIVIDADE (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
  .liciteiro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .liciteiro-content {
    align-items: center;
  }
  .liciteiro-feature-item {
    text-align: left;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-description {
    margin: 0 auto 40px auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .cta-app-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px;
  }
  .app-icon-badge {
    margin: 0 auto 24px auto;
  }
  .app-mockup {
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .menu-mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .control-row-top {
    flex-direction: column;
    align-items: stretch;
  }
  .stats-badge-compact {
    align-self: flex-start;
  }
}
