/* ============================================================
   STYLE.CSS — Site Pessoal Gustavo Luiz
   Tema: Dark, moderno, minimalista — inspirado em Linear/Vercel
   ============================================================ */

/* ============================================================
   1. VARIÁVEIS CSS (tokens de design)
   ============================================================ */
:root {
  /* Cores */
  --bg-primary:    #0A0A0A;   /* Fundo principal — preto quase puro */
  --bg-secondary:  #111111;   /* Fundo de cards */
  --bg-tertiary:   #1A1A1A;   /* Fundo alternativo de seções */

  --accent:        #6366F1;   /* Roxo índigo — cor de destaque */
  --accent-hover:  #818CF8;   /* Destaque mais claro no hover */
  --accent-glow:   rgba(99, 102, 241, 0.20);  /* Brilho suave */

  --text-primary:  #F5F5F5;   /* Texto principal */
  --text-secondary:#A3A3A3;   /* Texto secundário */
  --text-muted:    #525252;   /* Texto desabilitado */

  --border:        #2A2A2A;   /* Bordas sutis */
  --border-hover:  #3F3F3F;   /* Borda no hover */

  /* Gradientes */
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -20%,
                    rgba(99, 102, 241, 0.18) 0%,
                    rgba(10, 10, 10, 0) 70%);
  --gradient-accent: linear-gradient(135deg, #6366F1 0%, #818CF8 50%, #A5B4FC 100%);
  --gradient-card:   linear-gradient(135deg,
                      rgba(255,255,255,0.04) 0%,
                      rgba(255,255,255,0.01) 100%);

  /* Tipografia */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Espaçamentos */
  --section-padding: 100px 0;
  --container-max:   1100px;
  --container-pad:   0 24px;

  /* Bordas */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Sombras */
  --shadow-card:  0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px var(--border-hover);
  --shadow-glow:  0 0 30px var(--accent-glow);

  /* Transições */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   2. RESET E BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Links base */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Listas */
ul, ol {
  list-style: none;
}

/* Imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   3. UTILITÁRIOS
   ============================================================ */

/* Container centralizado */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

/* Seção padrão */
.section {
  padding: var(--section-padding);
}

/* Seção com fundo alternativo */
.section-alt {
  background-color: var(--bg-tertiary);
}

/* Cor de destaque (accent) */
.accent {
  color: var(--accent);
}

/* Gradiente de texto accent */
.accent-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass card — efeito glassmorphism leve */
.glass-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ============================================================
   4. TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* Cabeçalho de seção */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(99, 102, 241, 0.10);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================================
   5. BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

/* Botão primário — fundo accent */
.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

/* Botão secundário — borda */
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99, 102, 241, 0.06);
}

/* Botão ghost — minimal */
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.30);
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.10);
}

/* Botão pequeno */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Botão full width */
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   6. NAVEGAÇÃO
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: var(--transition-slow);
}

/* Navbar com scroll — fundo escuro */
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Links de navegação */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

/* CTA da navbar */
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 0 16px var(--accent-glow) !important;
}

/* Botão hamburguer — mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Gradiente de fundo do hero */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

/* Partículas decorativas */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particleFade 4s ease-in-out infinite;
}

@keyframes particleFade {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50%       { opacity: 0.6; transform: translateY(-20px); }
}

/* Conteúdo do hero */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
}

/* Badge de status */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.4); }
  50%       { box-shadow: 0 0 12px rgba(34, 197, 94, 0.8); }
}

/* Título principal */
.hero-title {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* Headline */
.hero-headline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* Subtítulo */
.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* CTAs do hero */
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Redes sociais do hero */
.hero-social {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.social-link:hover {
  background: rgba(99, 102, 241, 0.10);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg) translateY(-2px);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(5px); opacity: 0.9; }
}

/* ============================================================
   8. SEÇÃO SOBRE MIM
   ============================================================ */
.sobre-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

/* Foto */
.foto-container {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  margin-bottom: 16px;
}

.foto-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.foto-placeholder i {
  font-size: 3rem;
  opacity: 0.3;
}

/* Card de info rápida */
.sobre-info-card {
  padding: 16px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Texto sobre */
.sobre-lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.sobre-texto p {
  margin-bottom: 16px;
}

/* Métricas de destaque */
.sobre-metricas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.metrica-item {
  text-align: center;
  padding: 20px 12px;
}

.metrica-valor {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.metrica-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   9. SEÇÃO IA
   ============================================================ */
.ia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.ia-grid > * {
  min-height: 0;
}

.ia-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease;
}

.ia-card-link:hover .ia-card {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.ia-card-link:hover {
  transform: translateY(-4px);
}

.ia-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  width: 100%;
}

.ia-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Ícone do card IA */
.ia-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ia-icon-muted {
  background: rgba(255,255,255,0.03);
  border-color: var(--border);
  color: var(--text-muted);
}

/* Tags de status */
.ia-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #22C55E;
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}

.ia-tag-em-andamento {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.10);
  border-color: rgba(245, 158, 11, 0.25);
}

.ia-tag-breve {
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
}

.ia-card-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.ia-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

/* Resultados — antes e depois */
.ia-resultados {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-sm);
}

.resultado-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.resultado-antes {
  color: var(--text-muted);
  text-decoration: line-through;
}

.resultado-depois {
  font-size: 1.1rem;
}

.resultado-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Footer do card IA */
.ia-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

/* Placeholder de card */
.ia-card-placeholder {
  opacity: 0.6;
  cursor: default;
}

.ia-card-placeholder:hover {
  transform: none;
}

/* Tags de tecnologia */
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
}

/* ============================================================
   10. TIMELINE DE EXPERIÊNCIA
   ============================================================ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Linha vertical da timeline */
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--accent) 0%,
    var(--border) 40%,
    transparent 100%);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Marcador da timeline */
.timeline-marker {
  position: absolute;
  left: 12px;
  top: 24px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: 1;
}

.timeline-item:not(:first-child) .timeline-marker {
  border-color: var(--border-hover);
  box-shadow: none;
}

/* Conteúdo do card de timeline */
.timeline-content {
  padding: 28px;
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.timeline-empresa {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.empresa-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.10);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1rem;
}

.timeline-cargo {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.timeline-empresa-nome {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.timeline-periodo {
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(99, 102, 241, 0.10);
  border: 1px solid rgba(99, 102, 241, 0.20);
  border-radius: 100px;
  padding: 3px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

/* Bullets da timeline */
.timeline-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.timeline-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.timeline-bullets li i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.75rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ============================================================
   11. FORMAÇÃO E CERTIFICAÇÕES
   ============================================================ */
.formacao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.formacao-col-titulo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

/* Lista de formação */
.formacao-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.formacao-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
}

.formacao-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.10);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.formacao-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.formacao-inst {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Cards de certificações */
.cert-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.cert-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.10);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1rem;
}

.cert-logo-muted {
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
}

.cert-info {
  flex: 1;
}

.cert-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cert-ano {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(99, 102, 241, 0.10);
  border: 1px solid rgba(99, 102, 241, 0.20);
  border-radius: 100px;
  padding: 2px 10px;
  flex-shrink: 0;
}

.cert-card-placeholder {
  opacity: 0.55;
}

/* ============================================================
   12. CANAIS (HUB DE LINKS)
   ============================================================ */
.canais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.canal-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  cursor: pointer;
}

.canal-card:not(.canal-card-breve):hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover), 0 0 20px var(--accent-glow);
}

.canal-card-breve {
  cursor: default;
  opacity: 0.65;
}

.canal-card-breve:hover {
  transform: none;
}

/* Ícone dos canais */
.canal-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.3rem;
}

.canal-linkedin  { background: rgba(10, 102, 194, 0.15); color: #0A66C2; border: 1px solid rgba(10, 102, 194, 0.25); }
.canal-email     { background: rgba(99, 102, 241, 0.12); color: var(--accent); border: 1px solid rgba(99, 102, 241, 0.25); }
.canal-youtube   { background: rgba(255, 0, 0, 0.10);    color: #FF0000; border: 1px solid rgba(255, 0, 0, 0.20); }
.canal-instagram { background: rgba(225, 48, 108, 0.10); color: #E1306C; border: 1px solid rgba(225, 48, 108, 0.20); }

.canal-info {
  flex: 1;
}

.canal-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.canal-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.canal-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.canal-card:hover .canal-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* Badge "em breve" */
.badge-breve {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 1px 8px;
}

/* ============================================================
   13. CONTATO
   ============================================================ */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

/* Links de contato */
.contato-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  text-decoration: none;
}

.contato-link:hover {
  border-color: var(--accent);
}

.contato-link i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contato-link-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contato-link-valor {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Formulário */
.contato-form {
  padding: 32px;
}

.form-titulo {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.04);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.10);
}

/* Duas colunas lado a lado (Nome + Email) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Asterisco de campo obrigatório */
.form-required {
  color: var(--accent);
  margin-left: 2px;
}

/* Mensagem de erro inline por campo */
.form-erro {
  display: block;
  font-size: 0.78rem;
  color: #EF4444;
  margin-top: 5px;
  min-height: 16px; /* reserva espaço para evitar layout shift */
}

/* Campo com erro */
.form-group input.error,
.form-group textarea.error {
  border-color: #EF4444;
  background: rgba(239, 68, 68, 0.04);
}

/* Tela de sucesso após envio */
.form-sucesso {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.form-sucesso[hidden] {
  display: none;
}

.form-sucesso-icone {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.30);
  color: #22C55E;
  font-size: 1.5rem;
}

.form-sucesso h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.form-sucesso p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-obs {
  margin-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================================
   14. RODAPÉ
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 8px;
}

.footer-links a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.08);
}

/* ============================================================
   15. ANIMAÇÕES DE ENTRADA (reveal ao rolar)
   ============================================================ */

/* Estado inicial — oculto */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Delay cascateado para elementos do hero */
.hero .fade-in:nth-child(1) { animation-delay: 0.1s; }
.hero .fade-in:nth-child(2) { animation-delay: 0.25s; }
.hero .fade-in:nth-child(3) { animation-delay: 0.4s; }
.hero .fade-in:nth-child(4) { animation-delay: 0.5s; }
.hero .fade-in:nth-child(5) { animation-delay: 0.6s; }
.hero .fade-in:nth-child(6) { animation-delay: 0.7s; }

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

/* Elementos para o Intersection Observer */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Delay cascateado para cards em grid */
.ia-grid .reveal:nth-child(2)         { transition-delay: 0.1s; }
.ia-grid .reveal:nth-child(3)         { transition-delay: 0.2s; }
.ia-grid .reveal:nth-child(4)         { transition-delay: 0.3s; }
.ia-grid .reveal:nth-child(5)         { transition-delay: 0.4s; }

.sobre-metricas .metrica-item:nth-child(2) { transition-delay: 0.1s; }
.sobre-metricas .metrica-item:nth-child(3) { transition-delay: 0.2s; }

.canais-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.canais-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.canais-grid .reveal:nth-child(4) { transition-delay: 0.2s; }

/* ============================================================
   16. RESPONSIVO — TABLET (< 900px)
   ============================================================ */
@media (max-width: 900px) {

  :root {
    --section-padding: 72px 0;
  }

  /* Navbar */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    gap: 4px;
    border-left: 1px solid var(--border);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Animação do hamburguer */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero */
  .break-desktop { display: none; }

  /* Sobre */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-foto {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: start;
  }

  .foto-container {
    aspect-ratio: 1;
    width: 160px;
    margin-bottom: 0;
  }

  .sobre-metricas {
    grid-template-columns: repeat(3, 1fr);
  }

  /* IA grid */
  .ia-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Formação */
  .formacao-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Canais */
  .canais-grid {
    grid-template-columns: 1fr;
  }

  /* Contato */
  .contato-grid {
    grid-template-columns: 1fr;
  }

  /* Form row vira coluna única no mobile */
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   17. RESPONSIVO — MOBILE (< 600px)
   ============================================================ */
@media (max-width: 600px) {

  :root {
    --section-padding: 56px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  /* Hero */
  .hero-title {
    font-size: 3rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Sobre */
  .sobre-foto {
    grid-template-columns: 1fr;
  }

  .foto-container {
    width: 140px;
    margin: 0 auto 16px;
  }

  .sobre-metricas {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* IA */
  .ia-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding-left: 44px;
  }

  .timeline-marker {
    left: 4px;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Formação */
  .formacao-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ============================================================
   18. NEWSLETTER
   ============================================================ */

/* Seção com fundo escuro próprio (não usa section-alt) */
.newsletter-section {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
  text-align: center;
}

/* Brilho roxo de fundo — decorativo */
.newsletter-bg-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(99, 102, 241, 0.14) 0%,
    transparent 70%);
  pointer-events: none;
}

/* Container central — largura menor para conteúdo newsletter */
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Header com ícone + tag */
.newsletter-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Ícone da newsletter */
.newsletter-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: var(--accent);
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

/* Título da newsletter */
.newsletter-titulo {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Subtítulo em destaque */
.newsletter-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.55;
  max-width: 520px;
}

/* Descrição */
.newsletter-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
}

/* Estatísticas em linha */
.newsletter-stats {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.nl-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.nl-stat i {
  font-size: 0.9rem;
}

/* Botão CTA principal da newsletter */
.btn-newsletter {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.25);
}

.btn-newsletter:hover {
  box-shadow: 0 0 36px rgba(99, 102, 241, 0.40);
  transform: translateY(-2px);
}

/* Separador e label do formulário de email */
.newsletter-form-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.newsletter-form-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Formulário de email inline */
.newsletter-form {
  width: 100%;
  max-width: 460px;
}

.newsletter-input-wrap {
  display: flex;
  gap: 8px;
}

.newsletter-input-wrap input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-input-wrap input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-input-wrap input[type="email"]:focus {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.10);
}

.newsletter-input-wrap input[type="email"].error {
  border-color: #EF4444;
}

/* Erro inline do campo de email */
.nl-erro {
  display: block;
  font-size: 0.78rem;
  color: #EF4444;
  margin-top: 6px;
  text-align: left;
  min-height: 16px;
}

/* Link para o Substack */
.newsletter-link-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.newsletter-link-sub a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
}

.newsletter-link-sub a:hover {
  color: var(--accent-hover);
}

/* Cor do card de Newsletter na seção Canais */
.canal-newsletter {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

/* Responsivo — newsletter no mobile */
@media (max-width: 600px) {
  .newsletter-stats {
    gap: 16px;
  }

  .newsletter-input-wrap {
    flex-direction: column;
  }

  .newsletter-input-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   19. ACESSIBILIDADE — FOCO VISÍVEL
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Redução de movimento para quem preferir */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
