/* ============================================
   RESET & VARIÁVEIS
   ============================================ */

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

:root {
  --primary: #0a1929;
  --secondary: #1e3a5f;
  --accent: #00d9ff;
  --accent-purple: #7c3aed;
  --text: #e8eaf6;
  --text-secondary: #b0bec5;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #00d9ff 0%, #7c3aed 100%);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Transições padrão */
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.4s ease;
  --transition-fast: all 0.2s ease;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 217, 255, 0.1);
  --shadow-md: 0 10px 30px rgba(0, 217, 255, 0.2);
  --shadow-lg: 0 20px 60px rgba(0, 217, 255, 0.3);

  /* Z-index scale */
  --z-header: 1000;
  --z-modal: 2000;
  --z-tooltip: 3000;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

.keyboard-nav *:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   HEADER & NAVEGAÇÃO
   ============================================ */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 25, 41, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-header);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  animation: slideDown 0.5s ease-out;
  transition: var(--transition-base);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================
   LOGO MODERNIZADA
   ============================================ */

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: translateY(-2px);
}

.logo-monogram {
  width: 48px;
  height: 48px;
  position: relative;
  flex-shrink: 0;
}

.logo-circle {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--gradient);
  opacity: 0.1;
  transition: var(--transition-base);
}

.logo-container:hover .logo-circle {
  opacity: 0.2;
  transform: scale(1.1);
}

.logo-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0.5rem;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition-base);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ============================================
   BOTÕES
   ============================================ */

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-download {
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(0, 217, 255, 0.15) 0%,
    transparent 70%
  );
  top: -300px;
  right: -200px;
  animation: pulse 4s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.1) 0%,
    transparent 70%
  );
  bottom: -200px;
  left: -100px;
  animation: pulse 5s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.hero-content {
  max-width: 1200px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-left {
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out 0.2s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
  animation: fadeIn 1s ease-out 0.3s both;
}

.highlight-name {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out 0.4s both;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.6s both;
}

.hero-social-proof {
  background: rgba(0, 217, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out 0.65s both;
}

.hero-social-proof p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  animation: fadeIn 1s ease-out 0.7s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ============================================
   FOTO PROFILE
   ============================================ */

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-out 0.8s both;
}

.photo-container {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.photo-frame {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(30, 58, 95, 0.3);
  border: 2px solid rgba(0, 217, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
  animation: float 6s ease-in-out infinite;
}

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

.photo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.05) 0%,
    rgba(124, 58, 237, 0.05) 100%
  );
}

.photo-placeholder svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.profile-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
}

.photo-decoration {
  position: absolute;
  border-radius: 20px;
  z-index: -1;
}

.decoration-1 {
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.1;
  animation: rotate 20s linear infinite;
}

.decoration-2 {
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  opacity: 0.3;
  animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  animation: fadeIn 1s ease-out 1s both;
}

.scroll-arrow {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* ============================================
   FADE IN ANIMATION
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ============================================
   ABOUT SECTION - LAYOUT AJUSTADO
   ============================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem; /* Espaço antes da seção de baixo */
}

/* Seção de largura total embaixo */
.about-full-width {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.about-intro {
  background: rgba(0, 217, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
  border-left: 4px solid var(--accent);
  margin-bottom: 2rem;
}

.about-intro h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-text h3 {
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-cta-box {
  background: rgba(124, 58, 237, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  margin: 2rem 0;
  text-align: center;
}

.about-cta-box p {
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 600;
}

.mission-vision {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.mv-item {
  background: rgba(30, 58, 95, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: var(--transition-base);
}

.mv-item:hover {
  border-color: var(--accent);
  transform: translateX(10px);
}

.mv-item h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.education-section {
  margin-top: 2rem;
}

.education-section > h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.education-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.education-item {
  background: rgba(30, 58, 95, 0.2);
  padding: 1.2rem;
  border-radius: 10px;
  border-left: 3px solid var(--accent);
  transition: var(--transition-base);
}

.education-item:hover {
  background: rgba(30, 58, 95, 0.4);
  transform: translateX(5px);
}

.education-item h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.education-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}
/* ============================================
   VALUE CARDS (Valores que Guiam Meu Trabalho)
   ============================================ */

.value-card {
  background: rgba(30, 58, 95, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  text-align: center;
  transition: var(--transition-base);
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.value-card h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

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

/* Responsividade específica para About */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(30, 58, 95, 0.3);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3);
  border-color: var(--accent);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   TECHNOLOGIES
   ============================================ */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
}

.tech-item {
  background: rgba(30, 58, 95, 0.3);
  padding: 2rem 1rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: var(--transition-base);
}

.tech-item:hover {
  border-color: var(--accent);
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.tech-item span {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.tech-item:hover span {
  transform: scale(1.2);
}

/* ============================================
   PROJECTS
   ============================================ */

.projects-grid {
  display: grid;
  gap: 3rem;
}

.project-card {
  background: rgba(30, 58, 95, 0.3);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: var(--transition-slow);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 217, 255, 0.25);
  border-color: var(--accent);
}

.project-content {
  padding: 2.5rem;
}

.project-header {
  margin-bottom: 1.5rem;
}

.project-card h3 {
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(0, 217, 255, 0.1);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 217, 255, 0.2);
  font-weight: 500;
  transition: var(--transition-base);
}

.tag:hover {
  background: rgba(0, 217, 255, 0.2);
  transform: translateY(-2px);
}

.project-section {
  margin-bottom: 1.5rem;
}

.project-section h4 {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.project-section p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   PROJETO EM DESTAQUE
   ============================================ */

.project-featured {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.08) 0%,
    rgba(124, 58, 237, 0.08) 100%
  );
  border: 2px solid var(--accent);
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
  animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
  0%,
  100% {
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.5);
  }
}

.project-featured:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 217, 255, 0.4);
  border-color: var(--accent-purple);
}

.featured-badge {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
  animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(124, 58, 237, 0.6);
  }
}

/* ============================================
   MÉTRICAS DO PROJETO
   ============================================ */

.project-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(10, 25, 41, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(0, 217, 255, 0.1);
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

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

/* ============================================
   LINKS DO PROJETO
   ============================================ */

.project-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-project {
  background: var(--gradient);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

.btn-project::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-project:hover::before {
  left: 100%;
}

.btn-project:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

.btn-project .btn-arrow {
  transition: transform 0.3s ease;
}

.btn-project:hover .btn-arrow {
  transform: translateX(8px);
}

.btn-github {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.8) 0%,
    rgba(10, 25, 41, 0.9) 100%
  );
  border: 2px solid var(--accent);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.btn-github:hover {
  background: linear-gradient(
    135deg,
    var(--accent-purple) 0%,
    var(--accent) 100%
  );
  border-color: var(--accent-purple);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

/* ============================================
   WORK PROCESS SECTION
   ============================================ */

.process-timeline {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

.process-step::after {
  content: "";
  position: absolute;
  left: 40px;
  top: 80px;
  width: 2px;
  height: calc(100% + 2.5rem);
  background: linear-gradient(
    to bottom,
    var(--accent) 0%,
    rgba(0, 217, 255, 0.2) 100%
  );
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
  position: relative;
  z-index: 1;
}

.step-content {
  background: rgba(30, 58, 95, 0.3);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: var(--transition-base);
}

.step-content:hover {
  border-color: var(--accent);
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.step-content h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.step-content > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.step-details {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.8rem;
}

.step-details li {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.step-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   PROCESS GUARANTEE
   ============================================ */

.process-guarantee {
  margin-top: 4rem;
  background: rgba(0, 217, 255, 0.05);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 217, 255, 0.2);
}

.process-guarantee h3 {
  color: var(--accent);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.guarantee-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(30, 58, 95, 0.3);
  border-radius: 12px;
  transition: var(--transition-base);
}

.guarantee-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.guarantee-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.guarantee-item h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.guarantee-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   DIFFERENTIALS
   ============================================ */

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.differential-card {
  background: rgba(30, 58, 95, 0.3);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: var(--transition-base);
}

.differential-card:hover {
  transform: translateX(15px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.differential-card h4 {
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.differential-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(30, 58, 95, 0.3);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  position: relative;
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-info h5 {
  color: var(--white);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

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

.testimonial-verified {
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: rgba(30, 58, 95, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(0, 217, 255, 0.3);
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-base);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  background: rgba(30, 58, 95, 0.5);
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 20px;
  margin: 4rem 2rem;
  border: 1px solid rgba(0, 217, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 217, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  background: rgba(30, 58, 95, 0.3);
  border: 1px solid rgba(0, 217, 255, 0.2);
  color: var(--text);
  padding: 1rem;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  transition: var(--transition-base);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(30, 58, 95, 0.2);
  border-radius: 12px;
  transition: var(--transition-base);
}

.contact-item:hover {
  background: rgba(30, 58, 95, 0.4);
  transform: translateX(10px);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

.contact-item h4 {
  color: var(--white);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.contact-item p,
.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-availability {
  background: rgba(0, 217, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  margin-top: 1rem;
}

.contact-availability h4 {
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.contact-availability p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: rgba(10, 25, 41, 0.8);
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-base);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 217, 255, 0.1);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablets */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-right {
    order: -1;
  }

  .photo-container {
    max-width: 300px;
    margin: 0 auto;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .process-step::after {
    left: 30px;
    top: 60px;
  }

  .project-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header Mobile */
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.98);
    flex-direction: column;
    padding: 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  /* Logo Mobile */
  .logo-monogram {
    width: 40px;
    height: 40px;
  }

  .logo-brand {
    font-size: 1.3rem;
  }

  .logo-tagline {
    font-size: 0.6rem;
  }

  /* Hero Mobile */
  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    justify-content: center;
  }

  /* Sections Mobile */
  section {
    padding: 3rem 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Tech Grid Mobile */
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
  }

  /* Values Grid Mobile */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Process Mobile */
  .process-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-number {
    margin: 0 auto 1rem;
  }

  .process-step::after {
    display: none;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .project-metrics {
    grid-template-columns: 1fr;
  }

  .project-links {
    flex-direction: column;
  }

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

  /* Differentials Mobile */
  .differentials-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials Mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Mobile */
  .cta {
    margin: 2rem 1rem;
    padding: 3rem 1.5rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons a {
    width: 100%;
  }

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .stat-number {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .service-card,
  .project-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .photo-container {
    max-width: 250px;
  }

  .btn-project {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .featured-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
}
