/* ====== Reset e Base ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Cores - Tema Claro */
  --bg-main: #f6fbfc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-main: #0b2233;
  --text-title: #003f3a;
  --text-sub: #184249;
  --accent-1: #00bfae;
  --accent-2: #007f7a;

  /* Transições e Sombras */
  --transition-fast: 0.25s ease;
  --transition-normal: 0.35s ease;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 128, 128, 0.15);
  --neon-glow: 0 0 18px var(--accent-1);
}

.dark {
  --bg-main: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #0d0d0d;
  --text-main: #e4e4e4;
  --text-title: #ffffff;
  --text-sub: #c8c8c8;
  --accent-1: #00ffe0;
  --accent-2: #00bfae;
}

.dark .site-header {
  background: rgba(10, 10, 10, 0.85); /* Fundo AMOLED translúcido */
  border-bottom: 1px solid rgba(0, 255, 224, 0.1); /* Borda neon no modo escuro */
  box-shadow: 0 4px 30px rgba(0, 255, 224, 0.05);
}

.dark .site-footer {
  background: #020202; 
  border-top: 1px solid rgba(0, 255, 224, 0.15);
}

/* fundo geral */
.dark body,
.dark .hero,
.dark .skills,
.dark .projects,
.dark .contact,
.dark .swot-wrapper,
.dark .projects .projects-grid,
.dark .curriculo-page,
.dark .curriculo-right,
.dark .container.curriculo-top,
.dark .timeline-icon,
.dark .list,
.dark .list li,
.dark .language-item,
.dark .programa-item {
  background: var(--bg-main) !important;
}

/* texto interno */
.dark .swot-card ul,
.dark .swot-card li,
.dark .swot-card p,
.dark .contact p,
.dark .list li,
.dark .details li,
.dark .curiosidades li,
.dark .softskills li,
.dark .timeline-item .muted,
.dark .curriculo-left p,
.dark .timeline-icon,
.dark .list li strong,
.dark .curriculo-section .list li,
.dark .list i,
.dark .language-item strong,
.dark .language-item i,
.dark .lang-level,
.dark .programa-texto,
.dark .programa-texto .muted {
  color: var(--text-main);
}

.dark .strong,
.dark .programa-texto strong {
  color: var(--text-main);
  font-weight: bolder !important;
}

.dark .curriculo-section {
  background: transparent !important;
  color: var(--text-main) !important;
}

.dark .social-btn {
  background: #050505 !important;
  border: 1px solid var(--accent-1);
  box-shadow:
    0 0 14px rgba(0, 255, 224, 0.45),
    0 0 28px rgba(0, 255, 224, 0.25);
  transition: 0.3s ease;
}

.dark .social-btn:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 22px rgba(0, 255, 224, 0.75),
    0 0 48px rgba(0, 255, 224, 0.35);
}

.dark .social-btn.github i {
  color: #ffffff !important;
}

/* títulos */
.dark h2,
.dark h3,
.dark h4,
.dark .card h4,
.dark .skill-category h5,
.dark .list li::before,
.dark .list li i,
.dark .hero-text {
  color: var(--accent-1) !important;
}

/* ====== SWOT DARK MODE ====== */
.dark .swot-card {
  border: 1px solid rgba(0, 255, 224, 0.12);
  box-shadow: 0 0 16px rgba(0, 255, 224, 0.05);
}

.dark .swot-card:hover {
  box-shadow: 0 0 20px rgba(0, 255, 224, 0.18);
}

/* Forças (Strengths) */
.dark .swot-card.strengths {
  background: linear-gradient(180deg, #002b27, #00423b);
  border-left: 4px solid #00ffe0;
}
.dark .swot-card.strengths h4,
.dark .swot-card.strengths i {
  color: #00ffe0 !important;
}

/* Fraquezas (Weaknesses) */
.dark .swot-card.weaknesses {
  background: linear-gradient(180deg, #320000, #4d0000);
  border-left: 4px solid #ff9f9f;
}
.dark .swot-card.weaknesses h4,
.dark .swot-card.weaknesses i {
  color: #ff9f9f !important;
}

/* Oportunidades (Opportunities) */
.dark .swot-card.opportunities {
  background: linear-gradient(180deg, #2e2500, #4d3e00);
  border-left: 4px solid #ffe9a8;
}
.dark .swot-card.opportunities h4,
.dark .swot-card.opportunities i {
  color: #ffe9a8 !important;
}

/* Ameaças (Threats) */
.dark .swot-card.threats {
  background: linear-gradient(180deg, #0c1226, #151d33);
  border-left: 4px solid #9fb5ff;
}
.dark .swot-card.threats h4,
.dark .swot-card.threats i {
  color: #9fb5ff !important;
}

/* ------ TIMELINE ------ */
.dark .timeline-content {
  background: var(--bg-card) !important;
  border: 1px solid rgba(0, 255, 224, 0.18);
  color: var(--text-main) !important;
  box-shadow: 0 0 10px rgba(0, 255, 224, 0.08);
}

/* Botões da timeline */
.dark .toggle-btn {
  background: #000 !important;
  color: var(--accent-1) !important;
  border: 1px solid var(--accent-1);
}

.dark .toggle-btn:hover {
  background: #050505 !important;
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.35);
}

/* ------ COLUNA DIREITA (cards) ------ */
.dark .curriculo-right .card {
  background: var(--bg-card) !important;
  border: 1px solid rgba(0, 255, 224, 0.15);
  color: var(--text-main) !important;
  box-shadow: 0 0 12px rgba(0, 255, 224, 0.08);
}

/* Títulos dos cards */
.dark .curriculo-right h4 {
  color: var(--accent-1) !important;
}

/* Categorias de skills */
.dark .skill-category h5 {
  color: var(--accent-1) !important;
}

/* Idiomas */
.dark .progress-bar {
  background: var(--accent-1) !important;
}

/* ===== SKILLS ===== */
.dark .skill-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 224, 0.12);
}
.dark .skill-card:hover {
  background: #111;
  border-color: var(--accent-1);
}

/* ===== PROJECTS ===== */
.dark .project-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 224, 0.12);
}
.dark .project-card:hover {
  background: #111;
}

/* ===== CURRÍCULO ===== */
.dark .curriculo-section {
  background: var(--bg-card) !important;
  border: 1px solid rgba(0, 255, 224, 0.12);
}
.dark .curriculo-section::before {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
}

/* BOTÃO */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--accent-1);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s ease;
  color: var(--text-main);
}

.theme-toggle:hover {
  transform: scale(1.07);
  box-shadow: 0 0 12px var(--accent-1);
}

/* Ícone com fade suave */
#theme-icon {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Fades globais */
body,
.hero,
.skills,
.projects,
.contact,
.swot-wrapper,
.curriculo-page {
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

.glow-card {
  position: relative;
  transition: 0.35s ease;
  border-radius: 16px;
}

/* Efeito geral no hover */
.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px var(--accent-1);
}

/* Glow animado (pulse) */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 4px var(--accent-1);
  }
  50% {
    box-shadow: 0 0 18px var(--accent-1);
  }
  100% {
    box-shadow: 0 0 4px var(--accent-1);
  }
}

.glow-card,
.social-btn,
.btn {
  will-change: transform;
  /* Transição de 0.15s deixa o movimento do mouse fluido, sem lag */
  transition:
    box-shadow var(--trans-normal),
    background var(--trans-normal),
    transform 0.15s ease-out !important;
}

/* ==========================================================================
   13. VIEW TRANSITIONS API (TRANSIÇÃO ENTRE PÁGINAS)
   ========================================================================== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: fade-out 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

::view-transition-new(root) {
  animation: fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fade-out {
  to {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-15px) scale(0.98);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px) scale(0.98);
  }
}

.dark .glow-card {
  background: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    rgba(0, 255, 224, 0.15) 0%,
    transparent 80%
  );
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 224, 0.4);
  box-shadow: 0 0 18px rgba(0, 255, 224, 0.25);
  transition: 0.35s ease;
}

/* Glow superior (mais suave) */
.dark .glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 22px rgba(0, 255, 224, 0.15);
  opacity: 0.65;
  pointer-events: none;
  transition: 0.3s ease;
}

/* Hover explosivo neon */
.dark .glow-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 0 30px rgba(0, 255, 224, 0.6),
    0 0 60px rgba(0, 255, 224, 0.35);
}

.dark .glow-card:hover::before {
  filter: blur(18px);
  opacity: 0.9;
}

@keyframes neonPulse {
  0% {
    filter: drop-shadow(0 0 6px var(--accent-1));
  }
  50% {
    filter: drop-shadow(0 0 18px var(--accent-1)) brightness(1.15);
  }
  100% {
    filter: drop-shadow(0 0 6px var(--accent-1));
  }
}

@keyframes neonBorderFlow {
  0% {
    box-shadow:
      0 0 8px var(--accent-1),
      inset 0 0 12px rgba(0, 255, 224, 0.25);
  }
  50% {
    box-shadow:
      0 0 28px var(--accent-1),
      inset 0 0 25px rgba(0, 255, 224, 0.45);
  }
  100% {
    box-shadow:
      0 0 8px var(--accent-1),
      inset 0 0 12px rgba(0, 255, 224, 0.25);
  }
}

/* ======== BOTÕES NEON ======== */
.dark .social-btn,
.dark .btn,
.dark .theme-toggle {
  border: 1.5px solid var(--accent-1) !important;
  background: rgba(0, 255, 224, 0.06) !important;
}

.dark .social-btn:hover,
.dark .btn:hover,
.dark .theme-toggle:hover {
  box-shadow:
    0 0 35px var(--accent-1),
    0 0 70px rgba(0, 255, 224, 0.5);
}

.dark .hero-image {
  box-shadow: 0 0 30px var(--accent-1);
  animation: neonPulse 2.4s infinite ease-in-out;
}

/* Estado inicial */
html {
  scroll-behavior: smooth;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

[data-aos] {
  will-change: transform, opacity;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Faixa (track) completamente invisível */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Polegar (thumb) invisível até rolar */
::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* Só aparece durante a rolagem */
html.show-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00bfae, #007f7a);
  opacity: 1;
  box-shadow: 0 0 8px rgba(0, 191, 174, 0.3);
}

/* Remove também a faixa em hover */
::-webkit-scrollbar-track:hover {
  background: transparent;
}

/* Firefox */
* {
  scrollbar-width: none; /* remove a faixa e o thumb completamente */
}

html.show-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #00bfae transparent;
}

/* ===== Corpo da página ===== */
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  background: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  z-index: 1000;
  transition: width 0.1s ease-out;
}

.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  transition:
    transform 0.1s ease-out,
    background-color 0.3s ease;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-1);
}
.cursor-outline {
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent-1);
}
/* Ao passar em links */
.cursor-active .cursor-outline {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: rgba(0, 255, 224, 0.1);
}

body.booting {
  overflow: hidden !important;
}

#cyber-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #020202; /* Quase preto absoluto */
  color: var(--accent-1);
  font-family: "Courier New", Courier, monospace;
  z-index: 999999;
  display: flex;
  align-items: flex-start;
  padding: 30px;
  box-sizing: border-box;
  transition:
    opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}

/* Classe que o JS vai adicionar para sumir com a tela */
#cyber-preloader.hidden {
  opacity: 0;
  transform: scale(1.05); /* Dá um leve zoom antes de sumir */
  pointer-events: none;
}

.terminal-container {
  max-width: 100%;
  font-size: 0.95rem;
  line-height: 1.5;
  text-shadow: 0 0 6px rgba(0, 255, 224, 0.5); /* Brilho neon na fonte */
}

/* Linhas geradas pelo JS */
.log-line {
  margin: 2px 0;
  opacity: 0;
  animation: printLine 0.05s forwards;
  word-wrap: break-word;
}

/* Cores do terminal */
.log-success {
  color: #00ff41;
  text-shadow: 0 0 6px rgba(0, 255, 65, 0.5);
}
.log-warning {
  color: #ffe600;
  text-shadow: 0 0 6px rgba(255, 230, 0, 0.5);
}
.log-error {
  color: #ff003c;
  text-shadow: 0 0 6px rgba(255, 0, 60, 0.5);
}
.log-system {
  color: #00aaff;
  text-shadow: 0 0 6px rgba(0, 170, 255, 0.5);
}

@keyframes printLine {
  to {
    opacity: 1;
  }
}

/* Cursor piscando do terminal */
.cursor-blink {
  display: inline-block;
  width: 10px;
  height: 1.1rem;
  background-color: var(--accent-1);
  animation: terminalBlink 1s step-end infinite;
  margin-top: 4px;
  box-shadow: 0 0 8px var(--accent-1);
}

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

/* ====== Container ====== */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
  position: relative;
  top: 0;
  z-index: 1000; /* Garante que fique acima de tudo, incluindo o canvas */
  /* Efeito Glassmorphism (Vidro Desfocado) */
  background: rgba(0, 69, 80, 0.85); /* Sua cor original, mas translúcida */
  backdrop-filter: blur(12px); /* O desfoque mágico do fundo */
  -webkit-backdrop-filter: blur(12px); /* Suporte para navegadores Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Borda sutil de vidro */

  color: #fff;
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Integração com o Modo Escuro (Se você usar a classe .dark no HTML) */


.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px; /* Leve aumento no respiro */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== BRANDING & LOGO ==== */
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  text-align: left;
  gap: 15px; /* Espaçamento mais limpo entre logo e texto */
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: translateY(-2px); /* Microinteração: levita ao passar o mouse */
}

.brand .logo-header {
  width: 65px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 255, 224, 0.4)); /* Brilho neon na logo */
  transition: transform 0.3s ease;
}

.brand:hover .logo-header {
  transform: scale(1.05) rotate(-5deg); /* Charme na logo ao passar o mouse */
}

.brand-text {
  flex-shrink: 1;
  text-align: left;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-text .job {
  margin: 0;
  font-size: 1rem;
  font-weight: 700; /* Deixamos a fonte mais grossa para a luz "agarrar" melhor */
  text-transform: uppercase;
  
  /* Cria a cor base com um gradiente metálico/neon */
  background: linear-gradient(90deg, #00f0d1 0%, #00aaff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* O brilho neon emitindo por trás da letra */
  filter: drop-shadow(0 0 8px rgba(0, 240, 209, 0.8));
  
  /* Ativa a animação de pulsação da luz */
  animation: neon-pulse-job 2.5s infinite alternate ease-in-out;
}

/* Os Keyframes da pulsação do Neon */
@keyframes neon-pulse-job {
  0% {
    filter: drop-shadow(0 0 5px rgba(0, 240, 209, 0.4));
  }
  100% {
    filter: drop-shadow(0 0 12px rgba(0, 240, 209, 0.9)) drop-shadow(0 0 25px rgba(0, 170, 255, 0.5));
  }
}

/* ==== THEME TOGGLE (BOTÃO CLARO/ESCURO) ==== */
.theme-toggle {
  margin-left: auto;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  color: #fff;
}

.theme-toggle:hover {
  background: rgba(0, 255, 224, 0.1);
  transform: rotate(15deg) scale(1.1); /* Gira e cresce sutilmente */
  border-color: rgba(0, 255, 224, 0.5);
  color: #00f0d1;
}

/* ==== MENU DE NAVEGAÇÃO ==== */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px; /* Mais respiro entre os links para não ficar embolado */
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: #dff6f3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 4px; /* Padding ajustado para a animação do traço */
  position: relative; /* Necessário para ancorar a linha neon */
  transition: color 0.3s ease;
}

/* Animação Cyberpunk no Hover (Traço Neon Expansivo) */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%; /* Começa invisível (tamanho zero) */
  height: 2px;
  background: #00f0d1; /* Cor neon */
  box-shadow: 0 0 8px rgba(0, 240, 209, 0.6);
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Curva elástica */
  border-radius: 2px;
}

/* O que acontece ao passar o mouse ou estar na página ativa */
.main-nav a:hover,
.main-nav a.active {
  color: #00f0d1; /* O texto ganha a cor neon */
  background: transparent; /* Removemos o fundo em bloco antigo */
}

/* A linha neon cresce de 0 a 100% da largura da palavra */
.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%; 
}

/* ====== TITULOS ====== */
h2,
h3,
h4 {
  color: var(--text-title);
  margin-bottom: 12px;
}
h2 {
  font-size: 1.8rem;
}
h3 {
  font-size: 1.8rem;
  margin: 22px;
}
h4 {
  font-size: 1.1rem;
}

#titulo {
 text-align: center;
  margin-bottom: 30px;
}

/* ====== Buttons ====== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.25);
}
.btn.primary:hover {
  background: linear-gradient(135deg, #00c8b4, #00958e);
  box-shadow: 0 6px 16px rgba(0, 128, 128, 0.35);
  transform: translateY(-2px);
}
.btn.outline:hover {
  background: rgba(0, 128, 128, 0.05);
  border-color: rgba(0, 128, 128, 0.25);
  color: #007f7a;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0%;
  background: linear-gradient(135deg, #f7fffd 0%, #e6fafa 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

#networkCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Para não bloquear cliques */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.dark #networkCanvas {
  opacity: 1; /* Só aparece no modo escuro */
}

/* ==== Conteúdo ==== */
.hero-content {
  flex: 1 1 520px;
  animation: fadeIn 0.9s ease forwards;
  max-height: 480px;
}

.hero-content h2 {
  font-size: 2.6rem;
  color: #002e3a;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-content h2 span {
  color: #00bfae;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
  color: #073235;
  font-weight: 600;
}

.hero-subtitle img.hero-logo {
  width: 40px; /* ajuste o tamanho conforme necessário */
  height: auto;
  margin-right: -2px;
  flex-shrink: 0;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 22px;
}
/* ==== Imagem ==== */
.hero-image {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #00bfae, #007f7a);
  box-shadow: 0 8px 30px rgba(0, 128, 128, 0.25);
  transition:
    border-radius 0.4s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
  cursor: pointer;
  margin-top: 50 px;
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.hero-image:hover img.hero-avatar {
  opacity: 0;
  transform: scale(1.05);
}

/* QR Code sobreposto */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/QRCode.png") center/cover no-repeat;
  opacity: 0;
  border-radius: 0%;
  transform: scale(0.95);
  filter: brightness(0.95);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    filter 0.4s ease,
    border-radius 0.4s ease;
}

/* Quando o mouse passa */
.hero-image:hover,
.hero-container.active .hero-image {
  border-radius: 0%;
  transform: scale(1.03);
}

.hero-image:hover::after,
.hero-container.active .hero-image::after {
  opacity: 1;
  filter: brightness(1.1);
}

.hero-container {
  position: relative;
  display: inline-block;
}

.hero-text {
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  font-weight: 600;
  color: #00bfae;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  pointer-events: none;
}

/* Aparece com pulsação */
.hero-container:hover .hero-text,
.hero-container.active .hero-text {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
  animation: pulseText 1.5s ease-in-out infinite;
}

/* Animação suave do texto */
@keyframes pulseText {
  0%,
  100% {
    transform: translateX(-50%) translateY(4px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(2px) scale(1.1);
    opacity: 0.9;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px); /* Desfoca o portfólio no fundo */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 420px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito elástico (Spring) */
  box-shadow: 0 15px 35px rgba(0, 255, 224, 0.15);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--trans-fast), transform var(--trans-fast);
}

.close-modal:hover {
  color: #ff6f91; /* Cor vermelha para dar feedback de fechar */
  transform: scale(1.1);
}

/* Estilização interna do Modal (Mesma paleta do seu projeto) */
.gh-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.gh-avatar { width: 65px; height: 65px; border-radius: 50%; border: 2px solid var(--accent-1); object-fit: cover; box-shadow: 0 0 12px rgba(0, 255, 224, 0.3); }
.gh-info h4 { margin: 0; color: var(--text-title); font-size: 1.3rem; }
.gh-info p { margin: 0; font-size: 0.9rem; line-height: 1.3; }

.gh-stats { display: flex; justify-content: space-around; background: rgba(0, 255, 224, 0.05); padding: 15px; border-radius: 12px; border: 1px solid rgba(0, 255, 224, 0.1); margin-bottom: 25px;}
.gh-stat-box { display: flex; flex-direction: column; align-items: center; }
.gh-stat-value { font-size: 1.8rem; font-weight: 700; color: var(--accent-1); text-shadow: 0 0 8px rgba(0, 255, 224, 0.4);}
.gh-stat-label { font-size: 0.8rem; color: var(--text-sub); text-transform: uppercase; margin-top: 4px; font-weight: 600;}

.gh-btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 12px; }

.gh-extra-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.gh-extra-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gh-extra-info i {
  color: var(--accent-1); /* Ícones com a sua cor neon */
  opacity: 0.8;
}

/* Ajuste no tamanho do Modal para caber os 3 itens bem espaçados */
.modal-content {
  max-width: 460px; 
}

/* Deixa o texto do label menor para caber "Seguidores" lado a lado */
.gh-stat-label { 
  font-size: 0.75rem; 
  letter-spacing: 0.5px;
}

.cyber-glitch {
  position: relative;
  display: inline-block;
  color: #00f0d1; /* Sua cor Teal base */
  letter-spacing: 1.5px;
  /* Brilho neon base */
  text-shadow: 0 0 10px rgba(0, 240, 209, 0.7);
  transition: text-shadow 0.2s ease;
  z-index: 1;
}

/* Pseudo-elementos que criam as camadas RGB (Magenta e Azul) */
.cyber-glitch::before,
.cyber-glitch::after {
  content: attr(data-text); /* Puxa o texto do HTML */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* Escondidos por padrão */
  transition: opacity 0.1s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* Recorte inicial */
}

/* Camada 1: Magenta/Vermelho (Shift para a Esquerda) */
.cyber-glitch::before {
  color: #ff0055;
  z-index: -1;
  /* Blend mode ajuda a misturar as cores no fundo escuro */
  mix-blend-mode: screen; 
}

/* Camada 2: Azul/Ciano (Shift para a Direita) */
.cyber-glitch::after {
  color: #00aaff;
  z-index: -2;
  mix-blend-mode: screen;
}

/* ==========================================================================
   ATIVAÇÃO NO HOVER: Inicia as animações rápidas
   ========================================================================== */
.cyber-glitch:hover {
  /* Brilho neon mais intenso no hover */
  text-shadow: 0 0 15px rgba(0, 240, 209, 0.9), 0 0 30px rgba(0, 170, 255, 0.5);
  color: rgba(0, 240, 209, 0.9);
}

.cyber-glitch:hover::before,
.cyber-glitch:hover::after {
  opacity: 1; /* Revela as camadas de cor */
}

/* Ativa animações separadas para ::before e ::after para caos visual */
.cyber-glitch:hover::before {
  animation: glitch-anim-1 0.35s infinite linear alternate-reverse;
}

.cyber-glitch:hover::after {
  animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
}

/* ==========================================================================
   KEYFRAMES: A Magia da Distorção e RGB Split
   ========================================================================== */

/* Animação para a camada Magenta (Distorção horizontal e vertical rápido) */
@keyframes glitch-anim-1 {
  0%   { clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);     transform: translate(-2px, -1px); }
  10%  { clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%); transform: translate(2px, 1px); }
  20%  { clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%); transform: translate(-1px, 2px); }
  30%  { clip-path: polygon(0 40%, 100% 40%, 100% 43%, 0 43%); transform: translate(1px, -1px); }
  40%  { clip-path: polygon(0 60%, 100% 60%, 100% 65%, 0 65%); transform: translate(-2px, 1px); }
  50%  { clip-path: polygon(0 80%, 100% 80%, 100% 82%, 0 82%); transform: translate(2px, -1px); }
  60%  { clip-path: polygon(0 20%, 100% 20%, 100% 30%, 0 30%); transform: translate(-1px, 2px); }
  70%  { clip-path: polygon(0 90%, 100% 90%, 100% 95%, 0 95%); transform: translate(1px, -2px); }
  80%  { clip-path: polygon(0 12%, 100% 12%, 100% 15%, 0 15%); transform: translate(-2px, 1px); }
  90%  { clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%); transform: translate(2px, -1px); }
  100% { clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%); transform: translate(-1px, 1px); }
}

/* Animação para a camada Azul (Foco em distorção horizontal agressiva) */
@keyframes glitch-anim-2 {
  0%   { clip-path: polygon(0 5%, 100% 5%, 100% 10%, 0 10%);   transform: translate(2px, 1px); }
  15%  { clip-path: polygon(0 30%, 100% 30%, 100% 32%, 0 32%); transform: translate(-2px, -1px); }
  25%  { clip-path: polygon(0 12%, 100% 12%, 100% 18%, 0 18%); transform: translate(1px, 2px); }
  35%  { clip-path: polygon(0 55%, 100% 55%, 100% 58%, 0 58%); transform: translate(-1px, -1px); }
  45%  { clip-path: polygon(0 75%, 100% 75%, 100% 78%, 0 78%); transform: translate(2px, 1px); }
  55%  { clip-path: polygon(0 22%, 100% 22%, 100% 28%, 0 28%); transform: translate(-2px, 2px); }
  65%  { clip-path: polygon(0 65%, 100% 65%, 100% 70%, 0 70%); transform: translate(1px, -1px); }
  75%  { clip-path: polygon(0 88%, 100% 88%, 100% 92%, 0 92%); transform: translate(-1px, 1px); }
  85%  { clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%); transform: translate(2px, -1px); }
  95%  { clip-path: polygon(0 15%, 100% 15%, 100% 20%, 0 20%); transform: translate(-1px, 2px); }
  100% { clip-path: polygon(0 95%, 100% 95%, 100% 100%, 0 100%); transform: translate(1px, -1px); }
}

/* ====== Cards ====== */
.card,
.project-card,
.swot-card {
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.3s ease,
    background 0.25s ease;
}
.card:hover,
.project-card:hover,
.swot-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 28px rgba(3, 18, 20, 0.12);
  background: #fefefe;
}

/* ====== Skills ====== */
.skills {
  padding: 40px 0;
}

.skills h3 {
  text-align: center;
  font-size: 1.6rem;
  color: #003f3a;
  margin-bottom: 20px;
}

.skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.skills .skill-card {
  height: 100%;
  padding: 18px 16px; /* um pouco mais de padding interno */
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.skill-card {
  background: linear-gradient(180deg, #ffffff, #f8fcfc);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(3, 18, 20, 0.05);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border 0.25s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 128, 128, 0.12);
  border-color: #00bfae;
  background: linear-gradient(180deg, #faffff, #f0fdfc);
}

/* Borda animada sutil */
.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, #00bfae, #00ffd5, #00bfae);
  background-size: 300% 300%;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderFlow 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

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

/* Ativa brilho quando entra na tela */
.skill-card[data-aos="fade-up"].aos-animate::before {
  opacity: 1;
  animation:
    borderFlow 5s linear infinite,
    borderGlow 2.8s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  from {
    box-shadow:
      0 0 8px rgba(0, 255, 213, 0.15),
      0 0 16px rgba(0, 191, 174, 0.2);
  }
  to {
    box-shadow:
      0 0 20px rgba(0, 255, 213, 0.35),
      0 0 40px rgba(0, 191, 174, 0.35);
  }
}

/* ====== Skill Titles ====== */
.skill-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #004b45;
  margin-bottom: 12px;
  z-index: 2;
}

/* ====== Skill Badges ====== */
.skill-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.skill-badges img {
  height: 28px;
  border-radius: 6px;
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.skill-badges img:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.15);
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.25);
}

/* ====== Projects ====== */
.projects h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #003f3a;
  font-size: 1.8rem;
  letter-spacing: 0.6px;
  margin-top: -40px;
}

.projects-carousel .project-card {
  margin: 0 15px; /* Espaçamento lateral de 15px */
}

.projects-carousel .slick-list {
  padding: 10px 0; /* Ajuste opcional para dar respiro vertical */
}

/* ======= SETAS IGUAIS AO BOTÃO BACK TO TOP ======= */
button.slick-prev,
button.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  line-height: normal;
  background: #001f26;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  box-shadow:
    0 0 12px #00f0d1,
    0 0 24px #00ffd8,
    0 0 36px #00aaff;
  transition:
    all 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  z-index: 20;
  animation: sidePulse 2.2s ease-in-out infinite;
}

button.slick-prev:hover,
button.slick-next:hover,
button.slick-prev:focus,
button.slick-next:focus,
button.slick-prev:active,
button.slick-next:active {
  background: #001f26 !important;
}

/* POSIÇÃO */
.slick-prev {
  left: -55px !important;
}
.slick-next {
  right: -55px !important;
}

/* ÍCONES — MESMO GRADIENTE DO BACK TO TOP */
.slick-prev::after,
.slick-next::after {
  content: attr(data-icon);
  font-size: 2.5rem;
  background: linear-gradient(45deg, #00f0d1, #00ffd8, #00aaff, #00f0d1);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 3s ease infinite;
  transition: transform 0.3s ease;
  margin-top: -3px;
}

/* NEGAR ÍCONE PADRÃO DO SLICK */
.slick-prev:before,
.slick-next:before {
  content: "" !important;
}

/* ======== HOVER — EXATAMENTE IGUAL AO BACK TO TOP ======== */
.slick-prev:hover,
.slick-next:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow:
    0 0 18px #00f0d1,
    0 0 36px #00ffd8,
    0 0 54px #00aaff;
}

@keyframes sidePulse {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  25% {
    transform: translateY(-50%) translateX(-3px);
  }
  50% {
    transform: translateY(-50%) translateX(0);
  }
  75% {
    transform: translateY(-50%) translateX(3px);
  }
  100% {
    transform: translateY(-50%) translateX(0);
  }
}

.projects,
.projetos-detalhe {
  padding: 28px 0;
}
.projects .projects-grid,
.projetos-detalhe .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.project-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.projetos-detalhe .project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
}

.projetos-detalhe .project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 1.5rem;
}
.project-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-info h4 {
  color: #003f3a;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.project-info p {
  color: var(--text-sub);
  font-size: 0.95rem;
}
.project-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.project-links .btn.small {
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
}
.project-card img {
  width: 100%;
  object-fit: cover;
  height: 190px;
}

/* ====== SWOT ====== */
.titulo-swot {
  text-align: center;
  font-size: 1.6rem;
  color: #003f3a;
  margin-bottom: 20px;
}

/* Container e grid */
.swot-wrapper {
  position: relative;
  overflow: hidden;
}

.swot-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  transition: transform 0.35s ease;
  margin-top: 12px;
  padding: 5px;
}

/* ===== Cards ===== */
.swot-card {
  background: linear-gradient(135deg, #f8fdfd, #e8fafa);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.1);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.swot-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, #00c2b8, #00bfae);
  box-shadow: 0 6px 20px rgba(0, 191, 174, 0.35);
  color: #fff;
}

/* Cores novas e harmônicas */
.swot-card.strengths {
  background: linear-gradient(180deg, #00bfae1a, #e9fefb);
}
.swot-card.weaknesses {
  background: linear-gradient(180deg, #ffdfdf, #fff5f5);
}
.swot-card.opportunities {
  background: linear-gradient(180deg, #fff7db, #fffdf4);
}
.swot-card.threats {
  background: linear-gradient(180deg, #e9edf1, #f8f9fa);
}

/* Títulos */
.swot-card h4 {
  font-size: 1.2rem;
  color: #007f7a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.swot-card ul {
  font-size: 0.98rem;
  color: #123;
  line-height: 1.6;
}

/* ====== SWOT Chart ====== */
#swotChartContainer {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 28px;
  background: linear-gradient(135deg, #031214, #082e2b, #0a4842);
}

/* Overlay translúcido com leve brilho */
#swotChartContainer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(
    circle at center,
    rgba(0, 191, 174, 0.18),
    transparent 70%
  );
  pointer-events: none;
}

/* Canvas */
#swotChartContainer canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 2;
  border-radius: 14px;
  transition: opacity 1s ease-in-out;
  opacity: 0;
}
#swotChartContainer canvas.visible {
  opacity: 1;
}

/* ====== Currículo ====== */
.curriculo-page {
  padding: 10px 0;
}

.curriculo-section {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 28px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.curriculo-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 128, 128, 0.15);
}

.curriculo-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #00bfae, #007f7a);
  border-radius: 0 10px 10px 0;
}

/* ====== TÍTULOS DAS SEÇÕES ====== */
.curriculo-section h2,
.curriculo-section h3 {
  color: #004b45;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}
.curriculo-section h2 i,
.curriculo-section h3 i {
  font-size: 1.6rem;
  color: #00bfae;
}

/* ====== CONTEÚDO DO RESUMO ====== */
.curriculo-section p {
  color: #223;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ====== CONTATO ====== */
.curriculo-section .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.curriculo-section .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fefe;
  border: 2px solid transparent;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.1);
  transition: all 0.3s ease;
}
.curriculo-section .social-btn:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #00bfae;
  box-shadow: 0 6px 18px rgba(0, 128, 128, 0.25);
}

/* ====== FORMAÇÃO ====== */
.curriculo-section .list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.curriculo-section .list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #123;
  background: #f7fcfc;
  border-radius: 10px;
  padding: 12px 1px;
  box-shadow: inset 0 0 6px rgba(0, 128, 128, 0.05);
  transition: all 0.3s ease;
}

.curriculo-section .list li:hover {
  background: #eafffa;
  transform: translateX(3px);
}

.curriculo-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
  align-items: flex-start;
}
.curriculo-left {
  flex: 1 1 640px;
}

.curriculo-left h2 {
  font-size: 1.8rem;
  color: #004b45;
  margin-bottom: 14px;
}

.curriculo-left p {
  color: #234;
  font-size: 1.05rem;
  line-height: 1.6;
  border-left: 4px solid #00bfae;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.05);
}

.curriculo-left h3 {
  font-size: 1.5rem;
  color: #005c57;
  position: relative;
  margin-top: 5px;
  margin-left: -1px;
}

.curriculo-left h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #00bfae, #00ffd5);
  border-radius: 6px;
  margin-top: 4px;
}

.curriculo-right {
  flex: 1 1 35%;
}
.curriculo-right .card {
  background: rgb(255, 255, 255);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 6px 22px rgba(3, 18, 20, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.curriculo-right .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.curriculo-right .card h4 {
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 4px;
  letter-spacing: 0.4px;
}

.skill-category {
  margin-bottom: 16px;
}
.skill-category h5 {
  font-size: 0.95rem;
  color: #004b45;
  margin-bottom: 8px;
  font-weight: 600;
}

.curriculo-right .skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.curriculo-right .skill-badges img {
  border-radius: 6px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  height: 28px;
}

.curriculo-right .skill-badges img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(0, 191, 255, 0.4);
}

/* ===== EXPERIÊNCIAS PROFISSIONAIS (TIMELINE) ===== */
.experience-section {
  padding: 4rem 1rem;
  color: #fff;
  position: relative;
}

/* ===== TÍTULO ANIMADO SINCRONIZADO COM A TIMELINE ===== */
.animated-title {
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 700;
  background: linear-gradient(90deg, #00f0d1, #00ffd8, #00aaff, #00f0d1);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: neonTitlePulse 6s ease-in-out infinite;
  position: relative;
  text-shadow:
    0 0 10px rgba(0, 240, 209, 0.4),
    0 0 20px rgba(0, 170, 255, 0.3);
}

.animated-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 51.5%;
  transform: translateX(-50%);
  width: 130px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00f0d1, #00ffd8, #00aaff, #00f0d1);
  background-size: 300% 300%;
  animation: neonTitlePulse 6s ease-in-out infinite;
  box-shadow:
    0 0 10px rgba(0, 240, 209, 0.6),
    0 0 20px rgba(0, 170, 255, 0.4);
}

/* Animação sincronizada com a linha da timeline */
@keyframes neonTitlePulse {
  0% {
    background-position: 0% 50%;
    text-shadow:
      0 0 10px rgba(0, 240, 209, 0.4),
      0 0 20px rgba(0, 170, 255, 0.3);
  }
  50% {
    background-position: 100% 50%;
    text-shadow:
      0 0 20px rgba(0, 240, 209, 0.8),
      0 0 35px rgba(0, 170, 255, 0.6);
  }
  100% {
    background-position: 0% 50%;
    text-shadow:
      0 0 10px rgba(0, 240, 209, 0.4),
      0 0 20px rgba(0, 170, 255, 0.3);
  }
}

@keyframes underline-pulse {
  0% {
    width: 80px;
    opacity: 0.7;
  }
  100% {
    width: 150px;
    opacity: 1;
  }
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Linha central animada com gradiente neon pulsante */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 4px;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #00f0d1, #00ffd8, #00aaff, #00f0d1);
  background-size: 400% 400%;
  animation: neonPulse 6s ease-in-out infinite;
  transform: translateX(-50%);
  box-shadow:
    0 0 12px rgba(0, 240, 209, 0.6),
    0 0 24px rgba(0, 170, 255, 0.3);
}

/* Animação suave de deslocamento do gradiente */
@keyframes neonPulse {
  0% {
    background-position: 0% 50%;
    box-shadow:
      0 0 12px rgba(0, 240, 209, 0.6),
      0 0 20px rgba(0, 170, 255, 0.3);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      0 0 20px rgba(0, 240, 209, 0.8),
      0 0 30px rgba(0, 170, 255, 0.5);
  }
  100% {
    background-position: 0% 50%;
    box-shadow:
      0 0 12px rgba(0, 240, 209, 0.6),
      0 0 24px rgba(0, 170, 255, 0.3);
  }
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  display: flex;
  justify-content: flex-start;
  padding: 10px;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* Ícones mantêm o brilho ao passar o mouse */
.timeline-icon {
  background: #fff;
  border: 2px solid #00f0d1;
  font-size: 1.4rem;
  border-radius: 50%;
  padding: 0.7rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin: 0 1rem;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.timeline-icon:hover {
  transform: scale(1.15);
  background-color: #00f0d1;
  box-shadow:
    0 0 10px #00f0d1,
    0 0 25px #00aaff;
}

.timeline-content {
  position: relative;
  background: #f7fcfc;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: inset 0 0 6px rgba(0, 128, 128, 0.05);
  transition:
    box-shadow 0.3s ease,
    border 0.3s ease;
  border-left: 4px solid #00bfae; /* linha principal da timeline */
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.timeline-content h4 {
  font-weight: 600;
  color: #005f66;
  margin-bottom: 0.3rem;
}

.timeline-content .muted {
  color: #000;
  font-size: 0.9rem;
}

.timeline-content ul.details {
  list-style: disc;
  padding-left: 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.toggle-btn {
  background: transparent;
  border: 1px solid #008080;
  color: #008080;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 0.6rem;
  transition: color 0.3s ease;
}

.toggle-btn:hover {
  background: linear-gradient(135deg, #00bfae, #008080);
  color: #fff;
  transform: scale(1.05);
}

.list.curiosidades li {
  gap: 8px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.list.curiosidades i {
  color: #00bfae;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Espaçamento geral entre os cards */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px 20px;
  margin-bottom: 24px; /* Aumenta o espaçamento entre os cards */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Efeito suave no hover (opcional) */
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card h4 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #004b50;
}

.softskills li {
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Marcador elegante */
.softskills li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: #00bfae; /* verde-água padrão do seu tema */
  font-weight: bold;
  font-size: 1.1rem;
}

/* ====== Social Icons ====== */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.social-icons .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #00bfae;
  background: linear-gradient(
    135deg,
    #e0f7f5,
    #ffffff
  ); /* leve gradiente interno */
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.1);
  transition: all 0.35s ease;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Hover leve */
.social-icons .social-btn:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #00bfae;
  filter: brightness(1.1);
  box-shadow:
    0 0 15px rgba(0, 191, 174, 0.7),
    0 6px 22px rgba(0, 128, 128, 0.25);
  animation: glowPulse 1.5s infinite;
}

/* Ícones coloridos por rede */
.social-btn[title="WhatsApp"] i {
  color: #25d366; /* verde WhatsApp */
}

.social-btn[title="GitHub"] i {
  color: #181717; /* preto GitHub */
}

.social-btn[title="LinkedIn"] i {
  color: #0a66c2; /* azul LinkedIn */
}

.social-btn[title="E-mail"] i {
  color: #ea4335; /* vermelho Gmail */
}

/* ====== Glow Pulse Animation ====== */
@keyframes glowPulse {
  0% {
    box-shadow:
      0 0 10px rgba(0, 191, 174, 0.4),
      0 6px 18px rgba(0, 128, 128, 0.2);
  }
  50% {
    box-shadow:
      0 0 20px rgba(0, 191, 174, 0.7),
      0 6px 22px rgba(0, 128, 128, 0.25);
  }
  100% {
    box-shadow:
      0 0 10px rgba(0, 191, 174, 0.4),
      0 6px 18px rgba(0, 128, 128, 0.2);
  }
}

/* ====== Formação com ícones FontAwesome ====== */
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f7fcfc;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: inset 0 0 6px rgba(0, 128, 128, 0.05);
}

.list li {
  padding: 6px 0;
  position: relative;
  padding-left: 4px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.list li::before {
  position: absolute;
  left: -15px;
  color: #00bfae;
  font-weight: bold;
  font-size: 1.1rem;
}

.curriculo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap;
}

/* Garante proporção correta das colunas */
.curriculo-left {
  flex: 0 0 65%;
  max-width: 65%;
}

.curriculo-right {
  flex: 0 0 35%;
  max-width: 35%;
}

.programas-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.programa-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.programa-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.programa-item i {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.programa-item.aspire i {
  color: #8b0000; /* vinho Harvard */
}

.programa-item.sfl i {
  color: #ffb400; /* amarelo vibrante */
}

.programa-item:hover i {
  filter: brightness(1.2);
}

.programa-texto {
  flex: 1;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.55;
  word-break: break-word;
}

.programa-texto strong {
  color: #111;
}

.programa-texto .muted {
  color: #373434;
  font-size: 0.85rem;
}

.languages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.language-item {
  background-color: #f7fcfc;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.language-item:hover {
  background: rgba(0, 128, 128, 0.05);
}

.lang-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color, #000);
}

.lang-progress {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(36, 36, 36, 0.15);
  border-radius: 3px;
  margin: 0.5rem 0;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--level);
  background: linear-gradient(90deg, #00bfae, #66ffd1);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.lang-level {
  font-size: 0.9rem;
  color: #000;
  font-weight: 500;
  text-align: right;
}

.download-cv {
  display: flex; /* ativa flexbox */
  justify-content: center; /* centraliza horizontalmente */
  width: 100%; /* ocupa a largura total da seção */
}

.btn.download {
  background: linear-gradient(135deg, #00bfae, #007f7a);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.25);
  display: inline-flex; /* mantém o tamanho natural do botão */
  gap: 0.5rem; /* espaço entre ícone e texto */
  padding: 0.6rem 1.2rem; /* mantém o tamanho confortável */
  border-radius: 8px; /* bordas arredondadas */
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.btn.download:hover {
  background: linear-gradient(135deg, #00c8b4, #00958e);
  box-shadow: 0 6px 16px rgba(0, 128, 128, 0.35);
  transform: translateY(-2px);
}

/* ===== CONTATO ===== */
.contact {
  background: #f5f7fa;
  padding: 60px;
  text-align: center;
}

.contact h3 {
  font-size: 2rem;
  margin-bottom: 5px;
  color: #004550;
  margin-top: -25px;
}

.contact p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Reset para os botões da área de contato */
.contact-btn {
  position: relative !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.contact-btn i {
  margin-right: 6px;
  display: inline-block;
}

/* Cores individuais para cada rede */
.contact-btn.whatsapp {
  background: #25d366;
}
.contact-btn.github {
  background: #181717;
}
.contact-btn.linkedin {
  background: #0077b5;
}
.contact-btn.email {
  background: #ff6b6b;
}

/* Hover efeito */
.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 128, 128, 0.35);
}

/* ==========================================================================
   FOOTER PREMIUM & CYBERPUNK
   ========================================================================== */
.site-footer {
  position: relative;
  /* Cria um gradiente de profundidade (fica escuro no final) */
  background: linear-gradient(180deg, #002b33 0%, #001216 100%); 
  color: #a8b2d1; /* Um tom de texto mais suave e tecnológico */
  padding: 20px 0 25px; /* Muito mais espaço para respirar */
  margin-top: 60px; /* Afasta o footer da última seção (contato/projetos) */
  
  /* Linha neon divisória no topo */
  border-top: 1px solid rgba(0, 240, 209, 0.2); 
  /* Brilho invertido (joga a luz para cima) */
  box-shadow: 0 -10px 30px rgba(0, 240, 209, 0.05); 
  z-index: 10;
}

/* Fundo absoluto no Modo Escuro (AMOLED) */


.footer-inner {
  display: flex;
  flex-direction: column; /* Empilha a logo e o texto */
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-logo {
  width: 130px; 
  height: auto;
  /* Começa em escala de cinza e levemente apagada (estilo tech stealth) */
  filter: grayscale(100%) opacity(0.6); 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Microinteração: A logo acende com as cores originais e flutua ao passar o mouse */
.footer-logo:hover {
  filter: grayscale(0%) opacity(1) drop-shadow(0 0 12px rgba(0, 240, 209, 0.5));
  transform: translateY(-5px) scale(1.05);
}

/* Estilização dos textos de direitos autorais (se você tiver) */
.site-footer p {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Destaque opcional para o seu nome no footer */
.footer-highlight {
  color: #00f0d1; /* Neon Teal */
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 240, 209, 0.4);
}

/* ====== Back to Top ====== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #001f26;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 0 12px #00f0d1,
    0 0 24px #00ffd8,
    0 0 36px #00aaff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    all 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  z-index: 100;
}
.back-to-top::after {
  content: "↑";
  font-size: 1.7rem;
  background: linear-gradient(45deg, #00f0d1, #00ffd8, #00aaff, #00f0d1);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    gradientFlow 3s ease infinite,
    floatRotate 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.back-to-top:hover::after {
  transform: translateY(-3px) scale(1.3) rotate(0deg);
}
.back-to-top:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 18px #00f0d1,
    0 0 36px #00ffd8,
    0 0 54px #00aaff;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: neonPulseUltra 1.5s infinite alternate;
}

/* ====== Animations ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neonPulseUltra {
  0% {
    box-shadow:
      0 0 12px #00f0d1,
      0 0 24px #00ffd8,
      0 0 36px #00aaff;
  }
  50% {
    box-shadow:
      0 0 18px #00f0d1,
      0 0 36px #00ffd8,
      0 0 54px #00aaff;
  }
  100% {
    box-shadow:
      0 0 12px #00f0d1,
      0 0 24px #00ffd8,
      0 0 36px #00aaff;
  }
}
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes floatRotate {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(-6deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-4px) rotate(6deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* ====== Responsive Mobile ====== */
@media (max-width: 768px) {
  .theme-toggle {
    margin-left: 10px;
  }

  .cursor-dot, 
  .cursor-outline {
    display: none !important;
  }

  /* Trava o título no lugar correto com !important para anular as margens perdidas */
  #titulo {
    margin-top: 0 !important; 
    margin-bottom: 25px !important;
    text-align: center;
  }

  .skills{
    padding: 0px 0;
  }

  .hero-inner {
    flex-direction: column-reverse; /* imagem abaixo do texto */
    align-items: center; /* centraliza horizontalmente */
    gap: 12px; /* espaço entre conteúdo e imagem */
    padding: 0 12px; /* padding lateral para evitar overflow */
    text-align: center;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }

  .hero-content h3.hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-subtitle .hero-logo {
    width: 50px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .lead {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 6px;
    justify-content: center;
    align-items: center;
  }

  .hero-image {
    max-width: 250px; /* tamanho máximo da imagem no mobile */
    margin: 0 auto;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .hero-text {
    top: -20px;
    left: 50%;
    transform: translate(-50%, -100%);
    font-size: 0.9rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);

    z-index: 2;
  }

  .hero-container:hover .hero-text,
  .hero-container.active .hero-text {
    transform: translate(-50%, -110%) scale(1.05);
    opacity: 1;
    animation: pulseFade 1.6s ease-in-out infinite;
  }

  @keyframes pulseFade {
    0%,
    100% {
      opacity: 1;
      transform: translate(-50%, -110%) scale(1);
    }
    50% {
      opacity: 0.7;
      transform: translate(-50%, -115%) scale(1.1);
    }
  }

  .social-icons {
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 4px;
  }

  .container {
    margin-top: 35px;
    padding: 0 12px;
  }

  .hero .container {
    padding-bottom: 0;
  }


  .contact-btn {
    width: 100%;
    justify-content: center;
  }

  /* ===== CURRÍCULO ===== */
  .curriculo-section {
    padding: 20px 18px;
    margin: 0 8px 24px;
  }

  .curriculo-top {
    display: flex;
    flex-direction: column;
    gap: 12px; /* gap menor e uniforme */
    width: 100%;
  }

  .curriculo-left,
  .curriculo-right {
    width: 100%;
    gap: 8px;
    flex-direction: column;
  }

  .curriculo-left p,
  .curriculo-right p {
    font-size: 0.95rem;
    padding: 10px 12px;
    margin: 0;
  }

  .curriculo-left,
  .curriculo-right,
  .card {
    margin-bottom: 10px;
  }

  .curriculo-top {
    flex-direction: column;
  }

  .curriculo-left,
  .curriculo-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* ==== TIMELINE ==== */
  .timeline {
    padding-left: 0;
    margin-left: 0;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 10px;
    margin-bottom: 8px;
  }

  .timeline-content {
    max-width: 100%;
  }

  .timeline-content ul {
    padding-left: 0;
    list-style-position: inside;
  }

  .animated-title {
    left: 16%;
  }

  .animated-title::after {
    left: 36.4%;
  }

  /* ==== SKILLS ==== */
  .skills .skills-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .skill-card {
    padding: 12px;
  }

  /* ==== SWOT ==== */
  .swot-track {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .swot-card {
    min-width: 100%;
    padding: 8px 25px;
  }

  /* ==== PROJETOS ==== */
  .projects {
    padding: 3rem 0;
  }

  .projects h3 {
    text-align: center;
    font-size: 1.6rem;
  }

  /* Carousel */
  .projects-carousel {
    padding: 0 1rem;
  }

  /* Card */
  .project-card {
    flex-direction: column;
    max-width: 100%;
  }

  .project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
  }

  .project-info h4 {
    font-size: 1.2rem;
  }

  .project-info p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .project-info p i {
    margin-right: 6px;
  }

  /* Botões */
  .project-links {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
    text-align: center;
  }

  .project-links .btn {
    width: 100%;
    justify-content: center;
  }

  /* Setas do Slick */
  button.slick-prev,
  button.slick-next {
    width: 42px !important;
    height: 42px !important;
    transform: none;
  }

  .slick-prev::after,
  .slick-next::after {
    margin-top: -4px;
  }

  .slick-prev {
    left: -20px !important;
  }

  .slick-next {
    right: -20px !important;
  }

  /* Espaçamento final entre seções */
  section {
    margin-bottom: 14px;
  }

  /* ==== HEADER & FOOTER ==== */
  .header-inner {
    flex-direction: column; /* empilha brand e nav */
    justify-content: center; /* centraliza verticalmente */
    align-items: center; /* centraliza horizontalmente */
    gap: 15px; /* espaço entre brand e nav */
  }

  .brand {
    text-align: center; /* centraliza h1 e job */
  }

  nav.main-nav {
    width: 100%;
  }

  nav.main-nav ul {
    display: flex; /* nav horizontal */
    flex-direction: row; /* links na mesma linha */
    justify-content: center; /* centraliza links */
    gap: 12px; /* espaço entre links */
    padding: 0;
    margin: 0;
    list-style: none;
  }

  nav.main-nav ul li {
    width: auto; /* cada li só ocupa o tamanho do link */
  }

  nav.main-nav ul li a {
    display: block;
    width: auto; /* não ocupar toda a linha */
    padding: 8px 12px; /* dá espaço interno ao link */
    text-align: center;
    font-size: 0.95rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column; /* logo abaixo do texto no mobile */
  }

  .footer-logo {
    width: 120px;
    margin-top: -30px;
  }

  /* ==== SOCIAL BUTTONS ==== */
  .social-btn {
    width: 40px;
    height: 40px;
  }

  .social-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  }

  /* ==== DOWNLOAD CV BUTTON ==== */
  .btn.download {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    gap: 0.4rem;
  }

  /* ==== BACK TO TOP BUTTON ==== */
  .back-to-top {
    width: 36px;
    height: 36px;
    bottom: 60px; /* afasta do conteúdo inferior */
    right: 12px; /* mais afastado da borda */
  }

  .back-to-top::after {
    font-size: 1.2rem; /* menor ícone */
  }

  .btn.outline {
    margin-top: 10px;
  }

  /* ==== LISTAS ==== */
  .list {
    padding: 10px 12px;
  }

  .list li {
    margin-left: 8px;
  }
  .programa-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .programa-item i {
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
  }

  .programa-texto {
    font-size: 0.93rem;
  }
}
