:root {
  /* Palette Ultra Premium (True Black & Neons) */
  --bg-dark: #000000;
  --bg-surface: #0a0a0a;
  --bg-card: rgba(20, 20, 20, 0.4);
  --bg-card-hover: rgba(30, 30, 30, 0.6);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa; /* Zinc 400 - Leitura suave */

  /* Accents mais luminosos */
  --accent-cyan: #00e5ff;
  --accent-purple: #8a2be2;
  --accent-gradient: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-purple)
  );

  /* Curvas de animação ultra-suaves (Apple-like) */
  --container-width: 1100px;
  --header-height: 80px;
  --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-reveal: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Custom Scrollbar & Selection --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
::selection {
  background: var(--accent-cyan);
  color: #000;
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Grid Background Subtil */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
  z-index: -3;
  pointer-events: none;
}

/* Luzes Ambiente (Glow 3D Imersivo) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.35;
  pointer-events: none;
  animation: floatGlow 15s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
.glow-1 {
  top: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(138, 43, 226, 0.3);
}
.glow-2 {
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(0, 229, 255, 0.25);
  animation-delay: -5s;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 30px) scale(1.1);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-premium);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- Scroll Progress Bar --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent-gradient);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* --- Tipografia --- */
h1,
h2,
h3,
h4 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.highlight {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.gradient-text {
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientMove 8s ease-in-out infinite alternate;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.mono {
  font-family: "Fira Code", monospace;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  letter-spacing: normal;
}

/* --- Layout --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 130px 0;
}

/* --- Animação de Entrada Scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-reveal);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Header & Nav --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-premium);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo i {
  font-size: 1.1rem;
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: var(--transition-premium);
}
.nav-links a:hover::after {
  width: 100%;
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* --- Botões Ultra Premium --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-premium);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-premium);
}

.btn-primary:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 229, 255, 0.2);
}
.btn-primary:hover::before {
  opacity: 1;
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
}
.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
  transform: translateY(-3px);
}

/* --- Hero Section --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}
.hero-content h1 {
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1.1;
  margin: 20px 0 15px 0;
}

.subtitle-tags {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 35px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.subtitle-tags i {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan);
}

.hero-content p.desc {
  max-width: 600px;
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.type-cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--accent-cyan);
  animation: blink 1s infinite;
  margin-left: 2px;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Section Titles --- */
.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-right: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.section-header .line {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
  flex-grow: 1;
  max-width: 400px;
}

/* --- Projetos (Cards Glassmorphism Premium) --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.project-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-premium);
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 229, 255, 0.1);
  background: var(--bg-card-hover);
}
.project-card:hover::before {
  opacity: 1;
}
.project-card:hover .card-image i {
  transform: scale(1.1) rotate(-5deg);
  color: #fff;
  text-shadow: 0 0 20px var(--accent-cyan);
}

.card-image {
  height: 240px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: var(--transition-premium);
  opacity: 0.9;
}
.project-card:hover .card-image img {
  transform: scale(1.06);
  opacity: 1;
}

.card-image i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  transition: var(--transition-premium);
  z-index: 1;
}
.card-content {
  padding: 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.folder-ico {
  color: var(--accent-cyan);
  font-size: 2rem;
}

.external-links a {
  color: var(--text-secondary);
  margin-left: 18px;
  font-size: 1.3rem;
  transition: var(--transition-premium);
}
.external-links a:hover {
  color: #fff;
  transform: translateY(-2px);
  display: inline-block;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}
.card-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  flex-grow: 1;
  line-height: 1.7;
}
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-family: "Fira Code", monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Skills --- */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 25px;
}
.skill-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-premium);
  backdrop-filter: blur(10px);
}
.skill-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(138, 43, 226, 0.15);
  background: var(--bg-card-hover);
}
.skill-item i {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-premium);
}
.skill-item:hover i {
  color: #fff;
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--accent-purple));
}
.skill-item p {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

/* --- Authority Neo (ousado/premium) --- */
.authority-neo {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.authority-neo::before,
.authority-neo::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  filter: blur(80px);
  opacity: 0.22;
  z-index: 0;
}

.authority-neo::before {
  top: -200px;
  left: -180px;
  background: radial-gradient(circle, var(--accent-cyan), transparent 60%);
}

.authority-neo::after {
  bottom: -240px;
  right: -180px;
  background: radial-gradient(circle, var(--accent-purple), transparent 60%);
}

.authority-neo .container {
  position: relative;
  z-index: 1;
}

.authority-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.authority-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 255, 0.18);
}

.authority-head h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.authority-subtitle {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
}

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

@media (max-width: 1100px) {
  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .authority-grid {
    grid-template-columns: 1fr;
  }
}

.authority-card {
  position: relative;
  padding: 34px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}

.authority-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(
    120deg,
    rgba(0, 255, 255, 0),
    rgba(0, 255, 255, 0.18),
    rgba(140, 0, 255, 0.14),
    rgba(0, 255, 255, 0)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.authority-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.18), transparent 60%);
  filter: blur(2px);
  opacity: 0.8;
  z-index: 0;
}

.authority-card > * {
  position: relative;
  z-index: 1;
}

.authority-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6);
}

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

.authority-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.22);
  box-shadow: 0 0 0 6px rgba(0, 255, 255, 0.04);
  margin-bottom: 18px;
}

.authority-icon i {
  font-size: 1.25rem;
  color: var(--accent-cyan);
}

.authority-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.authority-card p {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 18px;
}

.authority-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  font-family: "Fira Code", monospace;
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.authority-foot {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.authority-highlight {
  max-width: 900px;
  width: 100%;
  border-radius: 22px;
  padding: 22px 26px;
  background: linear-gradient(
    120deg,
    rgba(0, 255, 255, 0.08),
    rgba(140, 0, 255, 0.06)
  );
  border: 1px solid rgba(0, 255, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 14px;
}

.authority-highlight .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-cyan);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.55);
}

.authority-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 70px;
  align-items: center;
}
.profile-pic-wrapper {
  position: relative;
  max-width: 350px;
  margin: 0 auto;
  aspect-ratio: 6 / 7; /* mesmo estilo do placeholder */
}
.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 16px;
  filter: grayscale(100%) brightness(0.95) contrast(1.05);
  transition: var(--transition-premium);
  position: relative;
  z-index: 2;
}
.profile-pic-wrapper:hover .profile-pic {
  filter: grayscale(0%) brightness(1);
}

.profile-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 16px;
  z-index: 1;
  filter: blur(20px);
  opacity: 0.4;
  transition: var(--transition-premium);
  transform: translate(15px, 15px);
}
.profile-pic-wrapper:hover .profile-glow {
  transform: translate(0, 0);
  opacity: 0.6;
  filter: blur(30px);
}

.about-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.about-list i {
  color: var(--accent-cyan);
  margin-right: 15px;
  font-size: 1.2rem;
}

/* --- Processo (Timeline Style) --- */
.process-grid {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 40px;
}

/* Linha Vertical (Timeline) */
.process-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--accent-cyan),
    var(--accent-purple),
    transparent
  );
  opacity: 0.3;
  z-index: 0;
}

.process-card {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 30px 0;
  position: relative;
  z-index: 1;
  transition: var(--transition-premium);
}
.process-card:hover {
  transform: translateX(15px);
}

.process-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-right: 40px;
  position: absolute;
  left: -35px;
  transition: var(--transition-premium);
  box-shadow: 0 0 0 10px var(--bg-dark);
}
.process-card:hover .process-icon {
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow:
    0 0 30px rgba(0, 229, 255, 0.4),
    0 0 0 10px var(--bg-dark);
}

.process-content {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 35px 40px;
  border-radius: 16px;
  width: 100%;
  margin-left: 70px;
  backdrop-filter: blur(10px);
  transition: var(--transition-premium);
}
.process-card:hover .process-content {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card-hover);
}
.process-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #fff;
}
.process-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* --- Contato --- */
.contact-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 50px;
  background: linear-gradient(
    180deg,
    var(--bg-card) 0%,
    rgba(10, 10, 10, 0.8) 100%
  );
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-cyan),
    transparent
  );
}
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 50px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Project View (SPA) --- */
#project-view {
  display: none;
  padding-top: 120px;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Mobile Responsivo Perfeito --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .profile-pic-wrapper {
    max-width: 300px;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  section {
    padding: 90px 0;
  }

  /* Ajuste Timeline Mobile */
  .process-grid {
    padding-left: 20px;
  }
  .process-grid::before {
    left: 20px;
  }
  .process-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    left: -25px;
  }
  .process-content {
    margin-left: 40px;
    padding: 25px;
  }
  .contact-box {
    padding: 50px 25px;
  }

  nav.active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
