/**
 * ============================================================================
 * VARIÁVEIS E RESET
 * ============================================================================
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores do tema escuro */
  --primary-dark: #0a0a0a;
  --secondary-dark: #1a1a1a;
  --card-dark: #151515;
  --card-light: #1e1e2e;

  /* Cores de destaque */
  --accent-color: #2563eb;
  --accent-light: #60a5fa;
  --accent-dark: #1e40af;
  --accent-glow: rgba(96, 165, 250, 0.5);
  --accent-pulse: rgba(37, 99, 235, 0.3);

  /* Cores de texto */
  --text-light: #ffffff;
  --text-gray: #a0a0a0;
  --text-dark: #cbd5e0;

  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-secondary: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
  --gradient-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  --gradient-glow: radial-gradient(circle, var(--accent-glow), transparent 70%);

  /* Acessibilidade */
  --focus-outline: 3px solid #60a5fa;
  --focus-offset: 2px;

  /* Transições suaves */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-elastic: all 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
  --transition-soft: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/**
 * ============================================================================
 * ESTILOS BASE
 * ============================================================================
 */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--primary-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

a,
abbr {
  text-decoration: none;
  color: inherit;
}

.zero-margin {
  margin: 0;
}

/* Skip link para acessibilidade */
.skip-link {
  position: absolute;
  top: -2.75rem;
  left: 0;
  background: var(--accent-color);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0;
}

/* Estilo de foco para acessibilidade */
:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
  border-radius: 0.25rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/**
 * ============================================================================
 * LOADING SCREEN
 * ============================================================================
 */

.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 3.75rem;
  height: 3.75rem;
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-top-color: var(--accent-color);
  border-right-color: var(--accent-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: relative;
}

.loader::before {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(96, 165, 250, 0.1);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/**
 * ============================================================================
 * BACK TO TOP BUTTON
 * ============================================================================
 */

.back-to-top {
  position: fixed;
  bottom: 1.875rem;
  right: 1.875rem;
  width: 3.125rem;
  height: 3.125rem;
  background: rgba(37, 99, 235, 0.15);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: var(--transition-elastic);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(1.25rem);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.back-to-top:hover {
  background: var(--accent-color);
  transform: translateY(-5px) scale(1.05);
  border-color: transparent;
  box-shadow: 0 0.625rem 1.5625rem rgba(37, 99, 235, 0.3);
  animation: glowPulse 1.5s infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
  }
}

/**
 * ============================================================================
 * HEADER & NAVIGATION
 * ============================================================================
 */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0.9375rem 0;
  transition: var(--transition-soft);
}

header.scrolled {
  padding: 0.625rem 0;
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.3);
}

nav {
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/**
 * ============================================================================
 * LOGO + TYPEWRITER ANIMATION
 * ============================================================================
 */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  overflow: visible;
}

.logo-img {
  width: 2.8125rem;
  height: 2.8125rem;
  object-fit: cover;
  transition: var(--transition-elastic);
}

.logo:hover .logo-img {
  transform: scale(1.05) rotate(3deg);
  filter: brightness(1.05);
}

.logo-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 4.375rem;
  cursor: pointer;
  height: 3.75rem;
}

/* Versão curta (FF / Dev) */
.logo-short {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  opacity: 0;
  visibility: hidden;
  transform: scaleX(1);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  position: relative;
  z-index: 2;
  gap: 0.25rem;
}

.logo-short .ff {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Inter', 'Montserrat', sans-serif;
}

.logo-short .dev {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Inter', monospace;
  margin-left: .05rem;
}

/* Versão completa */
.logo-full {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) scaleX(0.85);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  white-space: nowrap;
  z-index: 1;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.logo-full .name {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Inter', 'Montserrat', sans-serif;
}

.logo-full .dev-full {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: 'Inter', monospace;
}

/* Estado após animação inicial */
.logo-text.initial-animation-complete .logo-short {
  opacity: 1;
  visibility: visible;
}

.logo-text.initial-animation-complete .logo-full {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scaleX(0.85);
}

@keyframes blinkCaret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--accent-light);
  }
}

/**
 * ============================================================================
 * MENU NAVIGATION
 * ============================================================================
 */

/* Menu hamburger - mobile */
.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1000;
  background: transparent;
  border: none;
  padding: 0.625rem;
  border-radius: 0.5rem;
}

.menu-toggle span {
  width: 1.5625rem;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition-soft);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu lateral - mobile */
.nav-menu {
  position: fixed;
  left: -100%;
  top: 0;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  width: 70%;
  max-width: 18.75rem;
  height: 100vh;
  padding: 6.25rem 1.875rem 1.875rem;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
  list-style: none;
  display: flex;
  margin: 0;
  gap: 5px;
}

.nav-menu.active {
  left: 0;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  transition: var(--transition-soft);
  border-radius: 0.5rem;
  position: relative;
  display: block;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 1.25rem;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  width: calc(100% - 2.5rem);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-light);
  background: rgba(37, 99, 235, 0.08);
  transform: translateX(5px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
}

/**
 * ============================================================================
 * LANGUAGE DROPDOWN
 * ============================================================================
 */

.dropdown {
  position: relative;
}

.language-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.875rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-soft);
}

.language-btn img {
  width: 1.25rem;
  height: 1.25rem;
}

.language-btn i {
  font-size: 0.75rem;
  color: var(--text-gray);
  transition: transform 0.3s ease;
}

.language-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.625rem;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  min-width: 10rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.625rem);
  transition: var(--transition-soft);
  z-index: 100;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.9375rem;
  text-decoration: none;
  color: var(--text-gray);
  transition: var(--transition-soft);
}

.dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-light);
  padding-left: 1.25rem;
}

.dropdown-menu a.active {
  color: var(--accent-light);
}

.dropdown-menu a img {
  width: 1.25rem;
  height: 1.25rem;
}

.dropdown-menu a i {
  margin-left: auto;
  font-size: 0.75rem;
}

/**
 * ============================================================================
 * PROGRESS BAR
 * ============================================================================
 */

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.1s ease;
}

/**
 * ============================================================================
 * HERO SECTION
 * ============================================================================
 */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  overflow: hidden;
  padding: 6.25rem 1.25rem 3.75rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(37, 99, 235, 0.03) 35px, rgba(37, 99, 235, 0.03) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255, 255, 255, .03) 35px, rgba(255, 255, 255, .03) 70px);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 12.5rem;
  height: 12.5rem;
  border: 2px solid rgba(37, 99, 235, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 25s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 11.25rem;
  height: 11.25rem;
  border: 2px solid rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  animation: rotateShape 30s linear infinite;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-accent {
  position: absolute;
  border: 1px solid rgba(37, 99, 235, 0.08);
  animation: float 20s ease-in-out infinite;
}

.accent-1 {
  top: 20%;
  left: 10%;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
}

.accent-2 {
  bottom: 25%;
  right: 10%;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 30% 70% 70% 30%;
  animation-delay: -5s;
}

.accent-3 {
  top: 50%;
  right: 25%;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  animation-delay: -10s;
}

@keyframes morphShape {

  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg) scale(1);
  }

  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: rotate(180deg) scale(1.1);
  }
}

@keyframes rotateShape {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.05);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  25% {
    transform: translateY(-0.9375rem) translateX(0.5rem);
  }

  50% {
    transform: translateY(0.5rem) translateX(-0.5rem);
  }

  75% {
    transform: translateY(-0.5rem) translateX(0.3125rem);
  }
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 50rem;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease;
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.highlight:hover::after {
  transform: scaleX(1);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 3.125rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Botões principais - animações suaves */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 2.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-elastic);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: 0 0.25rem 0.9375rem rgba(37, 99, 235, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 2.5rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.5625rem rgba(37, 99, 235, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 2.5rem;
}

.btn-secondary:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}

.btn-secondary:hover::before {
  opacity: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.875rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
  cursor: default;
}

.stat {
  text-align: center;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  backdrop-filter: blur(5px);
  transition: var(--transition-soft);
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-shine);
  transition: left 0.5s ease;
}

.stat:hover::before {
  left: 100%;
}

.stat:hover {
  transform: translateY(-5px);
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(96, 165, 250, 0.2);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  transition: var(--transition-soft);
}

.stat:hover .stat-number {
  text-shadow: 0 0 15px var(--accent-glow);
  animation: numberGlow 0.5s ease;
}

@keyframes numberGlow {

  0%,
  100% {
    text-shadow: 0 0 0 var(--accent-glow);
  }

  50% {
    text-shadow: 0 0 20px var(--accent-glow);
  }
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-social a {
  width: 2.8125rem;
  height: 2.8125rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 1.2rem;
  transition: var(--transition-bounce);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.hero-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.hero-social a i {
  position: relative;
  z-index: 1;
  transition: var(--transition-bounce);
}

.hero-social a:hover {
  transform: translateY(-5px) rotate(360deg);
  border-color: transparent;
}

.hero-social a:hover::before {
  opacity: 1;
}

.hero-social a:hover i {
  color: var(--text-light);
  transform: scale(1.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/**
 * ============================================================================
 * SECTION HEADERS
 * ============================================================================
 */

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.125rem;
}

.section-header.zero-margin {
  margin: 0;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.9375rem;
  position: relative;
  display: inline-block;
}

.underline {
  width: 3.75rem;
  height: 2px;
  background: var(--gradient-primary);
  margin: 0 auto 1.25rem;
  border-radius: 2px;
  position: relative;
  animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlinePulse {

  0%,
  100% {
    width: 3.75rem;
    opacity: 0.7;
  }

  50% {
    width: 5rem;
    opacity: 1;
  }
}

.underline::before,
.underline::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  animation: dotPulse 1.5s ease-in-out infinite;
}

.underline::before {
  left: -0.625rem;
  animation-delay: 0s;
}

.underline::after {
  right: -0.625rem;
  animation-delay: 0.75s;
}

@keyframes dotPulse {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-50%) scale(1.5);
    opacity: 1;
  }
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/**
 * ============================================================================
 * ABOUT SECTION
 * ============================================================================
 */

.about-section {
  padding: 5rem 0;
  background: var(--secondary-dark);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.125rem;
  align-items: center;
}

.about-image {
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 16.25rem;
  margin: 0 auto;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: blur(15px);
  z-index: 0;
  animation: rotateGlow 4s linear infinite;
  animation-play-state: paused;
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.about-image:hover::before {
  opacity: 0.4;
  animation-play-state: running;
}

.about-image img {
  width: 16.25rem;
  height: 16.25rem;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--accent-color);
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.3);
  transition: var(--transition-elastic);
  position: relative;
  z-index: 1;
  animation: subtleFloat 3s ease-in-out infinite;
}

@keyframes subtleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.about-image img:hover {
  transform: scale(1.02);
  border-color: var(--accent-light);
  box-shadow: 0 0 1.5625rem var(--accent-glow);
  animation: none;
}

.about-text p {
  color: var(--text-gray);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  transition: var(--transition-soft);
  font-size: 0.95rem;
}

.about-text p:hover {
  color: var(--text-light);
  transform: translateX(5px);
}

/**
 * ============================================================================
 * SKILLS SECTION - ANIMAÇÃO DE REFLEXO (SHINE)
 * ============================================================================
 */

.skills-section {
  padding: 5rem 0;
  background: var(--primary-dark);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5625rem;
}

.skill-category {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-shine);
  transition: left 0.6s ease;
}

.skill-category:hover::before {
  left: 100%;
}

.skill-category:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.3);
}

.skill-category-title {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.skill-category-title i {
  transition: var(--transition-soft);
}

.skill-category:hover .skill-category-title i {
  transform: translateX(5px);
  color: var(--accent-light);
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  transition: var(--transition-elastic);
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Efeito de reflexo/brilho nos skill items */
.skill-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(115deg,
      transparent 30%,
      rgba(255, 255, 255, 0.1) 45%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.1) 55%,
      transparent 70%);
  transform: rotate(25deg);
  transition: transform 0.6s ease;
  opacity: 0;
}

.skill-item:hover::before {
  transform: rotate(25deg) translateX(100%);
  opacity: 1;
  animation: shineReflect 0.8s ease forwards;
}

@keyframes shineReflect {
  0% {
    transform: rotate(25deg) translateX(-100%);
    opacity: 0;
  }

  20% {
    opacity: 0.6;
  }

  100% {
    transform: rotate(25deg) translateX(100%);
    opacity: 0;
  }
}

/* Efeito de gradiente pulsante no hover */
.skill-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(96, 165, 250, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 0.75rem;
  pointer-events: none;
}

.skill-item:hover::after {
  opacity: 1;
  animation: gradientPulse 1s ease infinite;
}

@keyframes gradientPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

.skill-item:hover {
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 0 0.5rem 1.25rem rgba(37, 99, 235, 0.2);
}

.skill-item img {
  width: 1.75rem;
  height: 1.75rem;
  transition: var(--transition-elastic);
  filter: grayscale(0.3);
}

.skill-item:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: grayscale(0);
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.15) rotate(5deg);
  }
}

.skill-item span {
  font-size: 0.75rem;
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.skill-item:hover span {
  color: var(--accent-light);
}

/**
 * ============================================================================
 * EXPERIENCE SECTION
 * ============================================================================
 */

.experience-section {
  padding: 5rem 0;
  background: var(--secondary-dark);
  position: relative;
}

.experience-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  padding: 1.875rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
  margin: 0;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.experience-card:hover::before {
  opacity: 1;
}

.experience-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(115deg,
      transparent 30%,
      rgba(255, 255, 255, 0.05) 45%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 55%,
      transparent 70%);
  transform: rotate(25deg);
  transition: transform 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.experience-card:hover::after {
  transform: rotate(25deg) translateX(100%);
  opacity: 1;
  animation: shineCard 0.8s ease forwards;
}

@keyframes shineCard {
  0% {
    transform: rotate(25deg) translateX(-100%);
    opacity: 0;
  }

  20% {
    opacity: 0.5;
  }

  100% {
    transform: rotate(25deg) translateX(100%);
    opacity: 0;
  }
}

.experience-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
}

.experience-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.experience-box {
  display: flex;
  gap: .75rem;
}

.experience-icon {
  width: 3.125rem;
  height: 3.125rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-color);
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
}

.experience-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.experience-card:hover .experience-icon {
  transform: scale(1.1);
  color: var(--text-light);
}

.experience-card:hover .experience-icon::before {
  opacity: 1;
}

.experience-icon i {
  position: relative;
  z-index: 1;
}

.experience-title h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.experience-title h4 {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 400;
}

.experience-date span {
  font-size: 0.8rem;
  color: var(--text-gray);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 1.25rem;
  transition: var(--transition-soft);
}

.experience-card:hover .experience-date span {
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-light);
}

.experience-description {
  margin-bottom: 1.25rem;
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.9rem;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.experience-tags span {
  background: rgba(37, 99, 235, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 1.25rem;
  font-size: 0.7rem;
  color: var(--accent-light);
  cursor: default;
  transition: var(--transition-soft);
  position: relative;
  overflow: hidden;
}

.experience-tags span::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.4s ease;
}

.experience-tags span:hover {
  background: rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.experience-tags span:hover::before {
  left: 100%;
}

/**
 * ============================================================================
 * PROJECTS SECTION (CARROSSEL COVERFLOW)
 * ============================================================================
 */

.projects-section {
  padding: 5rem 0;
  background: var(--primary-dark);
  overflow: hidden;
}

.section-text {
  margin: 2rem 0 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-light);
  animation: textPulse 3s ease infinite;
}

@keyframes textPulse {

  0%,
  100% {
    color: var(--text-gray);
    transform: scale(1);
  }

  50% {
    color: var(--text-light);
    transform: scale(1.03);
  }
}

/* Category Tabs */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin: .5rem 0 2.5rem;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2.5rem;
  color: var(--text-gray);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-elastic);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.category-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.category-tab i {
  font-size: 0.9rem;
  transition: var(--transition-soft);
}

.category-tab .tab-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 1.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  transition: var(--transition-soft);
}

.category-tab:hover {
  transform: translateY(-3px);
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.category-tab:hover i {
  transform: scale(1.1);
}

.category-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--text-light);
  box-shadow: 0 0.25rem 0.9375rem rgba(37, 99, 235, 0.3);
}

.category-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.2);
}

/* Project Links */
.project-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.coverflow-item {
  cursor: pointer;
}

.project-link:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 0.75rem;
}

.click-project {
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
  margin: .5rem 0;
}

/* Coverflow Wrapper */
.coverflow-wrapper {
  width: 100%;
  position: relative;
  padding: 2.5rem 0 5rem;
}

.coverflow-container {
  width: 100%;
  max-width: 90vw;
  height: 16.25rem;
  position: relative;
  transform-style: preserve-3d;
  margin: 0 auto;
  perspective: 1200px;
}

.coverflow-item {
  position: absolute;
  width: 17.5rem;
  height: 10rem;
  left: 50%;
  top: 50%;
  transform-origin: center center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1.5625rem 3.125rem -0.75rem rgba(0, 0, 0, 0.5);
}

.coverflow-item .project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.coverflow-item:hover .project-image {
  transform: scale(1.05);
}

/* Project Overlay */
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.5) 100%);
  padding: 0.625rem 0.75rem;
  transform: translateY(calc(100% - 2.8125rem));
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.coverflow-item:hover .project-overlay {
  transform: translateY(0);
  backdrop-filter: blur(12px);
}

.project-category {
  display: inline-block;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.9);
  padding: 2px 8px;
  border-radius: 1.25rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.project-title {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.project-description {
  font-size: 9px;
  color: #e8e8e8;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Coverflow Controls */
.coverflow-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.control-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
}

.control-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.control-btn:hover {
  transform: scale(1.1);
  border-color: transparent;
}

.control-btn:hover::before {
  opacity: 1;
}

.control-btn i {
  position: relative;
  z-index: 1;
  transition: var(--transition-elastic);
}

.control-btn:hover i {
  transform: rotate(360deg);
}

/* Indicators */
.indicators {
  position: absolute;
  bottom: -1.875rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  position: relative;
  width: 2.1875rem;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-soft);
  overflow: hidden;
}

.indicator.active {
  position: relative;
  overflow: hidden;
  width: 3.125rem;
  background: rgba(255, 255, 255, 0.3);
}

.indicator.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: indicatorShimmer 0.6s ease-out;
}

.indicator-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.indicator.active .indicator-progress {
  box-shadow: 0 0 8px var(--accent-glow);
  animation: progressPulse 1s ease infinite;
}

@keyframes indicatorPulse {
  0% {
    transform: scaleX(1);
    opacity: 0.5;
  }

  50% {
    transform: scaleX(1.3);
    opacity: 1;
    background: #ffffff;
  }

  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes progressPulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 0.75rem var(--accent-glow);
  }
}

.indicator:hover {
  transform: scaleY(1.5);
  background: rgba(255, 255, 255, 0.35);
}

/* Indicator More */
.indicator-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5625rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition-soft);
  margin: 0 2px;
  position: relative;
  overflow: hidden;
}

.indicator-more span {
  font-size: 8px;
  color: var(--text-gray);
  letter-spacing: 1px;
  transform: translateY(-2px);
  transition: var(--transition-soft);
}

.indicator-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.indicator-more:hover {
  transform: scaleY(1.5);
}

.indicator-more:hover::before {
  opacity: 1;
}

.indicator-more:hover span {
  color: var(--text-light);
}

.projects-link {
  text-align: center;
  margin-top: 3.75rem;
}

/**
 * ============================================================================
 * CONTACT SECTION
 * ============================================================================
 */

.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
  position: relative;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5625rem;
  max-width: 50rem;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  padding: 2.1875rem 1.5625rem;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-elastic);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover::after {
  left: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.2);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
}

.contact-icon {
  padding: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9375rem;
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: var(--transition-elastic);
  width: 3.75rem;
  height: 3.75rem;
  position: relative;
  overflow: hidden;
}

.contact-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.05);
  color: var(--text-light);
}

.contact-card:hover .contact-icon::before {
  opacity: 1;
}

.contact-icon i {
  position: relative;
  z-index: 1;
  transition: var(--transition-elastic);
}

.contact-card:hover .contact-icon i {
  transform: rotate(360deg);
}

.contact-card h3 {
  margin-bottom: 0.625rem;
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-card:hover h3 {
  color: var(--accent-light);
}

.contact-card p {
  color: var(--text-gray);
  font-size: 0.85rem;
  word-break: break-all;
  transition: color 0.3s ease;
}

.contact-card:hover p {
  color: var(--accent-color);
}

/**
 * ============================================================================
 * FOOTER
 * ============================================================================
 */

footer {
  background: var(--primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3.125rem 1.25rem 1.875rem;
}

.footer-content {
  max-width: 75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

.footer-logo img {
  width: 3.125rem;
  height: 3.125rem;
  margin-bottom: 0.9375rem;
  transition: var(--transition-elastic);
}

.footer-logo img:hover {
  transform: scale(1.05) rotate(3deg);
}

.footer-logo p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.footer-logo span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 0.9375rem;
  font-size: 1rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0.5);
  transform-origin: left;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition-soft);
  position: relative;
  display: inline-block;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -0.9375rem;
  opacity: 0;
  transition: var(--transition-soft);
}

.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -1.25rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.social-icons a {
  width: 2.625rem;
  height: 2.625rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: var(--transition-bounce);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.social-icons a i {
  position: relative;
  z-index: 1;
  transition: var(--transition-bounce);
}

.social-icons a:hover {
  transform: translateY(-5px) rotate(360deg);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.social-icons a:hover::before {
  opacity: 1;
}

.social-icons a:hover i {
  color: var(--text-light);
  transform: scale(1.1);
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--text-light);
  padding: 0.625rem 1.25rem;
  border-radius: 1.875rem;
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition-elastic);
  font-weight: 600;
  border: 1px solid rgba(96, 165, 250, 0.2);
  position: relative;
  overflow: hidden;
}

.cv-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.cv-btn span {
  position: relative;
  z-index: 1;
  transition: var(--transition-elastic);
}

.cv-btn i {
  position: relative;
  z-index: 1;
  transition: var(--transition-elastic);
}

.cv-btn:hover {
  transform: translateY(-3px);
  gap: 0.75rem;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.cv-btn:hover::before {
  opacity: 1;
}

.cv-btn:hover i {
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.875rem;
  margin-top: 1.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--text-gray);
  font-size: 0.75rem;
}

.footer-bottom i {
  color: #e53e3e;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/**
 * ============================================================================
 * REVEAL ANIMATION
 * ============================================================================
 */

.reveal {
  opacity: 0;
  transform: translateY(1.875rem);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/**
 * ============================================================================
 * MOBILE CARROSSEL - OVERLAY AUTOMÁTICO (para telas menores que 768px)
 * ============================================================================
 */

/* Estilo base para mobile (padrão) - sem max-width */
.coverflow-item.active .project-overlay {
  transform: translateY(0);
  backdrop-filter: blur(12px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.92) 40%, rgba(0, 0, 0, 0.7) 100%);
}

.coverflow-item.active .project-overlay {
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), backdrop-filter 0.4s ease;
}

/**
 * ============================================================================
 * MEDIA QUERIES (Mobile-First)
 * ============================================================================
 */

/* Breakpoint: 576px (36rem) */
@media (min-width: 36rem) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .footer-logo {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .coverflow-container {
    height: 18.75rem;
  }

  .coverflow-item {
    width: 21.25rem;
    height: 11.875rem;
  }

  .experience-card {
    margin: 0 4rem;
  }

  .about-image {
    max-width: 17.5rem;
  }

  .about-image img {
    width: 17.5rem;
    height: 17.5rem;
  }

  .indicator-more {
    width: 1.75rem;
  }

  .indicator-more span {
    font-size: 9px;
  }
}

/* Breakpoint: 768px (48rem) */
@media (min-width: 48rem) {
  .hero-stats {
    gap: 2.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .coverflow-container {
    height: 21.25rem;
  }

  .coverflow-item {
    width: 25rem;
    height: 14.0625rem;
  }

  .project-title {
    font-size: 0.875rem;
  }

  .project-description {
    font-size: 10px;
  }

  .experience-card {
    margin: 0 6rem;
  }

  .indicator-more {
    width: 1.875rem;
  }

  .indicator-more span {
    font-size: 10px;
  }

  .coverflow-item.active .project-overlay {
    transform: translateY(calc(100% - 2.8125rem));
    backdrop-filter: blur(8px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.5) 100%);
  }

  .footer-logo,
  .footer-links,
  .footer-social,
  .social-icons {
    justify-content: center;
    text-align: center;
  }

  .footer-links h4,
  .footer-social h4 {
    margin-bottom: 1.5rem;
  }
}

/* Breakpoint: 1024px (64rem) */
@media (min-width: 64rem) {
  .header-actions .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    background: transparent;
    backdrop-filter: none;
    width: auto;
    height: auto;
    padding: 0;
    left: auto;
    top: auto;
    max-width: none;
    display: flex;
  }

  .nav-menu a {
    padding: 0.625rem 1.125rem;
    font-size: 0.875rem;
  }

  .nav-menu a::before {
    bottom: 0;
    left: 1.125rem;
  }

  .nav-menu a:hover::before,
  .nav-menu a.active::before {
    width: calc(100% - 2.25rem);
  }

  /* Hover do logo - apenas desktop */
  .logo-text.initial-animation-complete:hover .logo-short {
    opacity: 0;
    visibility: hidden;
    transform: scaleX(0);
  }

  .logo-text.initial-animation-complete:hover .logo-full {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scaleX(1);
  }

  .hero-section::before {
    width: 15.625rem;
    height: 15.625rem;
  }

  .hero-section::after {
    width: 13.75rem;
    height: 13.75rem;
  }

  .accent-1 {
    width: 6.25rem;
    height: 6.25rem;
  }

  .accent-2 {
    width: 5rem;
    height: 5rem;
  }

  .accent-3 {
    width: 3.75rem;
    height: 3.75rem;
  }

  .coverflow-container {
    width: 56.25rem;
    height: 23.75rem;
  }

  .coverflow-item {
    width: 28.75rem;
    height: 16.25rem;
  }

  .project-title {
    font-size: 1rem;
  }

  .project-description {
    font-size: 11px;
  }

  .experience-card {
    margin: 0 8rem;
  }

  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .indicator-more {
    width: 2rem;
  }

  .indicator-more span {
    font-size: 11px;
  }
}

/* Breakpoint: 1280px (80rem) */
@media (min-width: 80rem) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .indicator-more {
    width: 2.1875rem;
  }

  .indicator-more span {
    font-size: 12px;
  }

  .section-text {
    font-size: 2rem;
  }

  .click-project {
    font-size: 1.25rem;
  }
}

/* Breakpoint: 1440px (90rem) */
@media (min-width: 90rem) {

  /* Container principal */
  .container {
    max-width: 90rem;
  }

  /* Header e navegação */
  nav {
    max-width: 90rem;
  }

  .logo-short .ff {
    font-size: 2.25rem;
  }

  .logo-short .dev {
    font-size: 1rem;
  }

  .nav-menu a {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
  }

  .language-btn img {
    width: 1.75rem;
    height: 1.75rem;
  }

  .language-btn i {
    font-size: 1rem;
  }

  /* Hero Section */
  .hero-content {
    max-width: 70rem;
  }

  .hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
  }

  .hero-buttons {
    gap: 1.5rem;
    margin-bottom: 4rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
  }

  .hero-stats {
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .stat {
    padding: 0.75rem 1.75rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .hero-social {
    gap: 1.5rem;
  }

  .hero-social a {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.3rem;
  }

  /* Section Headers */
  .section-title {
    font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  .underline {
    width: 5rem;
    margin-bottom: 1.5rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  /* About Section */
  .about-content {
    gap: 5rem;
  }

  .about-image {
    max-width: 20rem;
  }

  .about-image img {
    width: 20rem;
    height: 20rem;
  }

  .about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  /* Skills Section */
  .skills-section {
    padding: 6rem 0;
  }

  .skills-grid {
    gap: 2rem;
  }

  .skill-category {
    padding: 1.75rem;
  }

  .skill-category-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  .skill-items {
    gap: 1rem;
  }

  .skill-item {
    padding: 0.75rem 1rem;
    gap: 8px;
  }

  .skill-item img {
    width: 2rem;
    height: 2rem;
  }

  .skill-item span {
    font-size: 0.85rem;
  }

  /* Experience Section */
  .experience-card {
    padding: 2.5rem;
    margin: 0 12rem;
  }

  .experience-header {
    gap: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .experience-icon {
    width: 3.75rem;
    height: 3.75rem;
    font-size: 1.5rem;
  }

  .experience-title h3 {
    font-size: 1.35rem;
  }

  .experience-title h4 {
    font-size: 1rem;
  }

  .experience-date span {
    font-size: 0.9rem;
    padding: 0.375rem 0.875rem;
  }

  .experience-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .experience-tags span {
    font-size: 0.8rem;
    padding: 0.375rem 0.875rem;
  }

  /* Projects Section - Coverflow */
  .projects-section {
    padding: 6rem 0;
  }

  .category-tabs {
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .category-tab {
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
  }

  .category-tab i {
    font-size: 1rem;
  }

  .coverflow-wrapper {
    padding: 3rem 0 6rem;
  }

  .coverflow-container {
    height: 30rem;
  }

  .coverflow-item {
    width: 38rem;
    height: 21rem;
  }

  .project-overlay {
    padding: 1rem 1.25rem;
    transform: translateY(calc(100% - 3.5rem));
  }

  .project-category {
    font-size: 10px;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .project-title {
    font-size: 1.125rem;
    margin-bottom: 6px;
  }

  .project-description {
    font-size: 11px;
    line-height: 1.4;
  }

  .coverflow-controls {
    bottom: 1.5rem;
    gap: 1rem;
  }

  .control-btn {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .indicators {
    bottom: -2.5rem;
    gap: 0.75rem;
  }

  .indicator {
    width: 2.5rem;
    height: 4px;
  }

  .indicator.active {
    width: 3.75rem;
  }

  .indicator-more {
    width: 2.5rem;
    height: 4px;
  }

  .indicator-more span {
    font-size: 10px;
  }

  .projects-link {
    margin-top: 5rem;
  }

  .section-text {
    font-size: 2rem;
    margin: 2rem 0 0;
  }

  .click-project {
    margin: 0.75rem 0;
  }

  /* Contact Section */
  .contact-section {
    padding: 6rem 0;
  }

  .contact-cards {
    max-width: 65rem;
    gap: 2rem;
  }

  .contact-card {
    padding: 2.5rem 2rem;
  }

  .contact-icon {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .contact-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }

  .contact-card p {
    font-size: 0.95rem;
  }

  /* Footer */
  footer {
    padding: 4rem 1.25rem 2rem;
  }

  .footer-content {
    max-width: 90rem;
    gap: 3rem;
  }

  .footer-logo img {
    width: 3.75rem;
    height: 3.75rem;
  }

  .footer-logo p {
    font-size: 1.25rem;
  }

  .footer-logo span {
    font-size: 0.9rem;
  }

  .footer-links h4,
  .footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }

  .social-icons {
    gap: 1rem;
  }

  .social-icons a {
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
  }

  .cv-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    gap: 0.625rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}

/**
 * ============================================================================
 * AJUSTES MOBILE (telas menores que 576px)
 * ============================================================================
 */

@media (max-width: 35.9375rem) {
  .logo-short {
    align-items: normal;
  }

  .logo-short .ff {
    font-size: 1.75rem;
  }

  .logo-short .dev {
    font-size: .85rem;
  }

  .logo-full .name {
    font-size: 1.375rem;
  }

  .logo-full .dev-full {
    font-size: 0.7rem;
  }

  .logo-text {
    min-width: 3.75rem;
    height: 3.125rem;
  }

  .logo-short {
    gap: 2px;
  }

  .logo-full {
    gap: 2px;
  }
}

/**
 * ============================================================================
 * ACESSIBILIDADE
 * ============================================================================
 */

button,
a,
.category-tab,
.control-btn,
.social-icons a,
.cv-btn,
.menu-toggle {
  min-height: 2.75rem;
  min-width: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-links a,
.logo {
  min-height: auto;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    transition: none !important;
  }

  .hero-social a:hover,
  .social-icons a:hover,
  .contact-card:hover .contact-icon,
  .skill-category:hover .skill-category-title i {
    transform: none !important;
  }

  .footer-bottom i {
    animation: none !important;
  }
}

@media (prefers-contrast: high) {
  .highlight {
    background: none;
    color: #0066ff;
    -webkit-text-fill-color: #0066ff;
  }

  .btn-primary,
  .btn-secondary,
  .contact-card,
  .skill-category,
  .experience-card {
    border: 2px solid currentColor;
  }

  .category-tab.active {
    background: #0066ff;
    color: #ffffff;
  }
}

@media (hover: hover) {

  .experience-tags span,
  .skill-item {
    cursor: default;
  }
}